query-ebe903081299d5d7bebb4e51505e1f90
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX pqv: <http://www.wikidata.org/prop/qualifier/value/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?itemLabel ?date ?precision
{
?item p:P1087 ?p1087_statement .
?p1087_statement pqv:P585 ?datenode .
?datenode wikibase:timeValue ?date .
?datenode wikibase:timePrecision ?precision .
FILTER( ?precision != "10"^^xsd:integer ) # precision of month
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY ?itemLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v6("?date"):::projected
v5("?datenode")
v3("?item"):::projected
v1("?itemLabel"):::projected
v4("?p1087_statement")
v2("?precision"):::projected
c7(["bd:serviceParam"]):::iri
c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[["?precision != '10^^xsd:integer'"]]
f0 --> v2
v3 --"p:P1087"--> v4
v4 --"p:qualifier/value/P585"--> v5
v5 --"wikibase:timeValue"--> v6
v5 --"wikibase:timePrecision"--> v2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end