query-4cfd9f0a2606f0d11d44874820365923

rq turtle/ttl

TODO

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX psv: <http://www.wikidata.org/prop/statement/value/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?p (CONCAT(STR(?value), '/10') AS ?date) WHERE {
  VALUES ?p {} .
  ?p p:P577 ?statement1, ?statement2 .
  FILTER( ?statement1 != ?statement2 ) .
  ?statement1 psv:P577 [ wikibase:timePrecision 10; wikibase:timeValue ?value ] .
  ?statement2 psv:P577 [ wikibase:timePrecision 11 ] .
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v5("?date") v3("?p"):::projected v1("?statement1") v2("?statement2") v4("?value"):::projected a1((" ")) a2((" ")) c6(["11^^xsd:integer"]):::literal c3(["10^^xsd:integer"]):::literal f0[["?statement1 != ?statement2"]] f0 --> v1 f0 --> v2 bind1[/VALUES ?p/] bind1-->v3 v3 --"p:P577"--> v1 v3 --"p:P577"--> v2 a1 --"wikibase:timePrecision"--> c3 a1 --"wikibase:timeValue"--> v4 v1 --"p:statement/value/P577"--> a1 a2 --"wikibase:timePrecision"--> c6 v2 --"p:statement/value/P577"--> a2 bind2[/"concat(str(?value),'/10')"/] v4 --o bind2 bind2 --as--o v5