query-6c4296245d63dbb2e380552c8796f710
TODO
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 ?parent ?parentLabel where {
?item wdt:P279/wdt:P279? wd:Q35120 .
?item wdt:P279 ?parent .
service wikibase:label { bd:serviceParam wikibase:language "fr,en" . }
}
#defaultView:Graph
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
v2("?parent"):::projected
a1((" "))
c4(["bd:serviceParam"]):::iri
c2(["wd:Q35120"]):::iri
c6(["fr,en"]):::literal
v1 --"wdt:P279"--> a1
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
a1 --"wdt:P279"--> c2
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
end
union0r <== or ==> union0l
end
v1 --"wdt:P279"--> v2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end