query-6951c23a47b760e22d12ffd188df05fa

rq turtle/ttl

Bouzinac(Q6888)astronomical transit

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX psv: <http://www.wikidata.org/prop/statement/value/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?time 
WHERE
{
  ?item p:P585 / psv:P585 ?fullvalue.
  ?fullvalue wikibase:timePrecision 11 . # Precision is date
  ?fullvalue wikibase:timeValue ?time.
   MINUS    { ?item (wdt:P31/wdt:P279*) wd:Q6888. } # exclude transit astronomiques
}
GROUP BY ?time
ORDER BY DESC(?time)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?fullvalue") v2("?item") v1("?time"):::projected a1((" ")) a2((" ")) c4(["11^^xsd:integer"]):::literal c8(["wd:Q6888"]):::iri v2 --"p:P585"--> a1 a1 --"p:statement/value/P585"--> v3 v3 --"wikibase:timePrecision"--> c4 v3 --"wikibase:timeValue"--> v1 subgraph minus0["MINUS"] style minus0 stroke-width:6px,fill:pink,stroke:red; v2 --"p:direct/P31"--> a2 a2 --"p:direct/P279"--> c8 end