query-e4e039b7c7f0839c82c5553ebc9ead14
Wikidata properties/qualifiers used by digital museums projects ...
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 bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?prop ?propLabel ?qualifier ?qualifierLabel WHERE {
?item wdt:P31 wd:Q106778540;
?p ?statement.
?statement ?ps ?propValue.
?prop wikibase:claim ?p;
wikibase:statementProperty ?ps.
OPTIONAL {
?statement ?pq ?qualifierValue.
?qualifier wikibase:qualifier ?pq.
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "de,en". }
}
ORDER BY (?prop) (?qualifier)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?item")
v4("?p")
v8("?pq")
v1("?prop"):::projected
v7("?propValue")
v6("?ps")
v2("?qualifier"):::projected
v9("?qualifierValue")
v5("?statement")
c7(["bd:serviceParam"]):::iri
c2(["wd:Q106778540"]):::iri
c9(["de,en"]):::literal
v3 --"wdt:P31"--> c2
v3 -->v4--> v5
v5 -->v6--> v7
v1 --"wikibase:claim"--> v4
v1 --"wikibase:statementProperty"--> v6
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v5 -->v8--> v9
v2 -."wikibase:qualifier".-> v8
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end