query-c762acd7c08b3201ac39311c0b313443

rq turtle/ttl

Multicalendar DOB

Use at

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX psv: <http://www.wikidata.org/prop/statement/value/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?item ?cal1 ?cal2
{
  ?item p:P569 ?date1 .
  ?item p:P569 ?date2 FILTER( ?date2 != ?date1 ) . # more than one statement
  ?date1 psv:P569 [ wikibase:timeCalendarModel ?cal1; wikibase:timeValue ?time1; wikibase:timePrecision "11"^^xsd:integer; ] .
  ?date2 psv:P569 [ wikibase:timeCalendarModel ?cal2; wikibase:timeValue ?time2; wikibase:timePrecision "11"^^xsd:integer; ] .
  FILTER(?cal1 != ?cal2 ) .
}       
LIMIT 10

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?cal1"):::projected v2("?cal2"):::projected v4("?date1") v3("?date2") v5("?item"):::projected v6("?time1") v7("?time2") a1((" ")) a2((" ")) c5(["11^^xsd:integer"]):::literal f0[["?cal1 != ?cal2"]] f0 --> v1 f0 --> v2 f1[["?date2 != ?date1"]] f1 --> v3 f1 --> v4 v5 --"p:P569"--> v4 v5 --"p:P569"--> v3 a1 --"wikibase:timeCalendarModel"--> v1 a1 --"wikibase:timeValue"--> v6 a1 --"wikibase:timePrecision"--> c5 v4 --"p:statement/value/P569"--> a1 a2 --"wikibase:timeCalendarModel"--> v2 a2 --"wikibase:timeValue"--> v7 a2 --"wikibase:timePrecision"--> c5 v3 --"p:statement/value/P569"--> a2