query-79e3b4f53381bf2d12b34cce2b4ad06a
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 WHERE {
VALUES ?parent_company { wd:Q95 } #example, Q95=Google
?parent_company wdt:P355* ?item .
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
ORDER BY ?itemLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?item"):::projected
v1("?itemLabel"):::projected
v2("?parent_company")
c3(["bd:serviceParam"]):::iri
c5(["en"]):::literal
bind0[/VALUES ?parent_company/]
bind0-->v2
bind00(["wd:Q95"])
bind00 --> bind0
v2 --"wdt:P355"--> v3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c3 --"wikibase:language"--> c5
end