query-378ac00ff141dd5fd7d535b75f1be62a
missing en descriptions
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 pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item (YEAR(?date) as ?year) ?KDM ?itemDescription WHERE {
?item wdt:P170 wd:Q381238 .
?item wdt:P186 wd:Q189085 .
?item wdt:P571 ?date .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" }
optional{ ?item p:P528 [ pq:P972 wd:Q106425660; ps:P528 ?KDM] . }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?KDM"):::projected
v2("?date"):::projected
v1("?item"):::projected
v4("?year")
a1((" "))
c2(["wd:Q381238"]):::iri
c7(["bd:serviceParam"]):::iri
c4(["wd:Q189085"]):::iri
c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c11(["wd:Q106425660"]):::iri
v1 --"p:direct/P170"--> c2
v1 --"p:direct/P186"--> c4
v1 --"p:direct/P571"--> v2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
a1 -."p:qualifier/P972".-> c11
a1 --"p:statement/P528"--> v3
v1 --"p:P528"--> a1
end
bind0[/"year-from-dateTime(?date)"/]
v2 --o bind0
bind0 --as--o v4