query-1af5621a42d4ec94cf77afaffefa9d60
Filter qualifier for precision without month precision. However, even without the filter, I do not get results in this query. What am I doing wrong? (P585)point in time for (P1087)Elo rating I want to filter statements of
Use at
- https://query.wikidata.org/sparql
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?itemLabel ?date ?precision
{
?item p:P1087 ?statementnode .
?statementnode pq:P585 ?date.
?date wikibase:timePrecision ?precision .
#FILTER( ?precision != "10"^^xsd:integer ) # precision of month
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;
v3("?date"):::projected
v1("?item"):::projected
v4("?precision"):::projected
v2("?statementnode")
c5(["bd:serviceParam"]):::iri
c7(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v1 --"p:P1087"--> v2
v2 --"p:qualifier/P585"--> v3
v3 --"wikibase:timePrecision"--> v4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end