query-550db179dbe26898f217759b72a6cf31
Given an organisation, list all entries that use their 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 DISTINCT ?item ?itemLabel ?property ?value WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "en-GB,en". }
{
SELECT DISTINCT ?item ?property ?value WHERE {
wd:Q355 wdt:P1687 ?property.
#?item ?property ?value
?item wdt:P2013 ?value.
?item wdt:P31/wdt:P279* wd:Q1785071.
}
}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v1("?property"):::projected
v3("?value"):::projected
a1((" "))
c2(["bd:serviceParam"]):::iri
c4(["en-GB,en"]):::literal
c5(["wd:Q355"]):::iri
c10(["wd:Q1785071"]):::iri
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c2 --"wikibase:language"--> c4
end
c5 --"wdt:P1687"--> v1
v2 --"wdt:P2013"--> v3
v2 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c10