query-4102ef0a4d238bbfe73a31a51a99a99a
Sports-Reference without BWF-ID
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 bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel WHERE {
?item wdt:P106 wd:Q13141064 .
FILTER EXISTS { ?item wdt:P1447 ?dummy0 }
FILTER NOT EXISTS { ?item wdt:P2729 ?dummy0 }
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;
v2("?dummy0")
v1("?item"):::projected
c6(["bd:serviceParam"]):::iri
c8(["en"]):::literal
c4(["wd:Q13141064"]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"wdt:P2729"--> e0v2
e0v2("?dummy0"):::projected
e0v1("?item"):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> v2
v1 --"wdt:P2729"--> v2
f1[[" "]]
subgraph f1e1["Exists Clause"]
e1v1 --"wdt:P1447"--> e1v2
e1v2("?dummy0"):::projected
e1v1("?item"):::projected
end
f1--EXISTS--> f1e1
f1 --> v1
f1 --> c2
f1 --> v2
v1 --"wdt:P1447"--> v2
v1 --"wdt:P106"--> c4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end