query-ad76c01545e03cb57dc0da11f7e1ff3f

rq turtle/ttl

TODO

Use at

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
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 DISTINCT ?item ?itemLabel ?numericQuantity ?point WHERE 
{
  ?item p:P5982 ?statement . 
  ?statement ps:P5982 ?numericQuantity.
  ?statement pq:P585 ?point . 

  FILTER("2015-00-00"^^xsd:date <= ?point &&
         ?point < "2016-00-00"^^xsd:dat)

  ?item wdt:P131* wd:Q18678265. 
  ?item wdt:P31 wd:Q6465. 
 SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?item"):::projected v4("?numericQuantity"):::projected v1("?point"):::projected v3("?statement") c11(["bd:serviceParam"]):::iri c13(["#91;AUTO_LANGUAGE#93;"]):::literal c7(["wd:Q18678265"]):::iri c9(["wd:Q6465"]):::iri f0[["'2015-00-00^^xsd:date' <= ?point?point < s2016-00-00^^<http://www.w3.org/2001/XMLSchema#dat>'"]] f0 --> v1 v2 --"p:P5982"--> v3 v3 --"p:statement/P5982"--> v4 v3 --"p:qualifier/P585"--> v1 v2 --"p:direct/P131"--> c7 v2 --"p:direct/P31"--> c9 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c11 --"wikibase:language"--> c13 end