query-6872f5a1c845e1600c430c00ac322733
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?subject ?subjectLabel ?propertyLabel ?valueLabel ("of"@en AS ?of) ?qualifierLabel WHERE {
SERVICE bd:sample {
?statement pq:P642 ?qualifier.
bd:serviceParam bd:sample.limit 10000
}
?subject ?p ?statement.
FILTER(?p != p:P2215)
?property wikibase:claim ?p;
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;
v8("?of")
v1("?p")
v5("?property")
v6("?ps")
v3("?qualifier")
v2("?statement")
v4("?subject"):::projected
v7("?value")
c4(["bd:serviceParam"]):::iri
c6(["10000^^xsd:integer"]):::literal
c11(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[["?p != 'p:P2215'"]]
f0 --> v1
subgraph s1["http://www.bigdata.com/rdf#sample"]
style s1 stroke-width:4px;
v2 --"p:qualifier/P642"--> v3
c4 --"bd:sample.limit"--> c6
end
v4 -->v1--> v2
v5 --"wikibase:claim"--> v1
v5 --"wikibase:statementProperty"--> v6
v2 -->v6--> v7
subgraph s2["http://wikiba.se/ontology#label"]
style s2 stroke-width:4px;
c4 --"wikibase:language"--> c11
end
bind1[/"sof^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>'"/]
bind1 --as--o v8