query-7d117b1db46928b04b5acba5fa79e736
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 DISTINCT ?property ?propertyLabel ?value ?valueLabel WHERE {
VALUES ?item { wd:Q1785916 }
?item ?predicate ?stat .
VALUES ?property {wd:P520 wd:P607}
?property wikibase:claim ?predicate.
?stat ?predicate2 ?value .
?property wikibase:statementProperty ?predicate2.
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;
v1("?item")
v2("?predicate")
v5("?predicate2")
v4("?property"):::projected
v3("?stat")
v6("?value"):::projected
c4(["bd:serviceParam"]):::iri
c6(["#91;AUTO_LANGUAGE#93;,en"]):::literal
bind0[/VALUES ?item/]
bind0-->v1
bind00(["wd:Q1785916"])
bind00 --> bind0
v1 -->v2--> v3
bind1[/VALUES ?property/]
bind1-->v4
bind10(["wd:P520"])
bind10 --> bind1
bind11(["wd:P607"])
bind11 --> bind1
v4 --"wikibase:claim"--> v2
v3 -->v5--> v6
v4 --"wikibase:statementProperty"--> v5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end