query-437de93c98b92b8dcf2aecb80f4eed56
Automatisk
Use at
- https://query.wikidata.org/sparql
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
select distinct * where {
?item wdt:P31/wdt:P279* wd:Q18616576 .
?item wdt:P17 wd:Q35 .
optional { ?item wdt:P2378 ?issuer . ?issuer rdfs:label ?issuer_label filter (lang(?issuer_label) = 'da') }
optional { ?item wdt:P2429 ?completeness . ?completeness rdfs:label ?completeness_label filter (lang(?completeness_label) = 'da') }
?item rdfs:label ?label filter (lang(?label) = 'da')
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v6("?completeness"):::projected
v2("?completeness_label"):::projected
v5("?issuer"):::projected
v3("?issuer_label"):::projected
v4("?item"):::projected
v1("?label"):::projected
a1((" "))
c6(["wd:Q35"]):::iri
c4(["wd:Q18616576"]):::iri
f0[["?label = 'da'"]]
f0 --> v1
v4 --"p:direct/P31"--> a1
a1 --"p:direct/P279"--> c4
v4 --"p:direct/P17"--> c6
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v4 -."p:direct/P2378".-> v5
v5 --"rdfs:label"--> v3
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v4 -."p:direct/P2429".-> v6
v6 --"rdfs:label"--> v2
end
v4 --"rdfs:label"--> v1