query-fa15375db27086f47ab949a442f75018
Broken database item
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?sourceitem ?sourceitemLabel WHERE {
?item p:P106/ps:P106/wdt:P279* wd:Q26270618 . # limited to rowing persons
?item ?property ?statement .
?statement prov:wasDerivedFrom ?source .
?source pr:P248 ?sourceitem .
MINUS { ?sourceitem wdt:P1687 ?foo . } # vary here
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v6("?foo")
v1("?item"):::projected
v2("?property")
v4("?source")
v5("?sourceitem"):::projected
v3("?statement")
a1((" "))
a2((" "))
c9(["bd:serviceParam"]):::iri
c4(["wd:Q26270618"]):::iri
c11(["en"]):::literal
v1 --"p:P106"--> a1
a1 --"p:statement/P106"--> a2
a2 --"p:direct/P279"--> c4
v1 -->v2--> v3
v3 --"prov:wasDerivedFrom"--> v4
v4 --"p:reference/P248"--> v5
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v5 --"p:direct/P1687"--> v6
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end