query-2cc7d7e9be72cca18a8648637a3a0d5b
Oravrattas
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 ps: <http://www.wikidata.org/prop/statement/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?qualLabel WHERE {
?sen wdt:P39 wd:Q4416090;
p:P39 ?statement.
?statement ps:P39 wd:Q4416090;
pq:P2937 ?term;
?pred ?val.
?qual wikibase:qualifier ?pred.
?statement prov:wasDerivedFrom ?ref.
?ref ?p1 ?v1;
pr:P248 ?v2.
?prov wikibase:reference ?p1.
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("?p1")
v4("?pred")
v11("?prov")
v6("?qual")
v7("?ref")
v1("?sen")
v2("?statement")
v3("?term")
v9("?v1")
v10("?v2")
v5("?val")
c11(["bd:serviceParam"]):::iri
c2(["wd:Q4416090"]):::iri
c13(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v1 --"p:direct/P39"--> c2
v1 --"p:P39"--> v2
v2 --"p:statement/P39"--> c2
v2 --"p:qualifier/P2937"--> v3
v2 -->v4--> v5
v6 --"wikibase:qualifier"--> v4
v2 --"prov:wasDerivedFrom"--> v7
v7 -->v8--> v9
v7 --"p:reference/P248"--> v10
v11 --"wikibase:reference"--> v8
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c11 --"wikibase:language"--> c13
end