query-52058f117f77ff4e2bce024f5a184d27
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
select DISTINCT ?statement ?predicate ?property ?propertyLabel ?value ?valueLabel
where
{
wd:Q517 p:P551 ?statement .
?statement ?predicate ?value .
{?property wikibase:statementProperty ?predicate .}
UNION
{?property wikibase:qualifier ?predicate .}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
} order by ?statement ?predicate
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?predicate"):::projected
v4("?property"):::projected
v1("?statement"):::projected
v3("?value"):::projected
c6(["bd:serviceParam"]):::iri
c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c1(["wd:Q517"]):::iri
c1 --"p:P551"--> v1
v1 -->v2--> v3
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
v4 --"wikibase:qualifier"--> v2
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
v4 --"wikibase:statementProperty"--> v2
end
union0r <== or ==> union0l
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end