query-a622ccdacc573670f42eae9b564ef6cc
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 ?roleValue ?roleValueLabel WHERE
{
{
SELECT ?item ?roleValue
WHERE {
?item wdt:P2868 ?roleValue.
} } ?item wdt:P31 wd:Q16521 .
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;
v1("?item"):::projected
v2("?roleValue"):::projected
c5(["bd:serviceParam"]):::iri
c7(["en"]):::literal
c3(["wd:Q16521"]):::iri
v1 --"wdt:P2868"--> v2
v1 --"wdt:P31"--> c3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end