query-2e844a939c58ebe338bd7eeedb082c9c
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?property ?propertyLabel ?value ?valueLabel
{
VALUES ?item { wd:Q11423 }
?item ?claim ?statement .
?statement a wikibase:BestRank . # only use statements of best rank
?property wikibase:claim ?claim .
?property wikibase:statementProperty ?ps .
?statement ?ps ?value .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" . }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?claim")
v1("?item")
v4("?property"):::projected
v5("?ps")
v3("?statement")
v6("?value"):::projected
c6(["bd:serviceParam"]):::iri
c2(["wikibase:BestRank"]):::iri
c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal
bind0[/VALUES ?item/]
bind0-->v1
bind00(["wd:Q11423"])
bind00 --> bind0
v1 -->v2--> v3
v3 --"a"--> c2
v4 --"wikibase:claim"--> v2
v4 --"wikibase:statementProperty"--> v5
v3 -->v5--> v6
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end