query-f3d09d13dabc3fec1cb35c8610423ef9

rq turtle/ttl

Date details for Wikimedia Commons 10:08, 18 October 2020 (UTC)) talk (Schlurcher gives me dates that should probably be in 2000 and not in 1000. To further extend on this, I would like to get access to the date field details like precision and calendar model. Can someone help me to print this information in additional columns? Thank you --queryHi, I'm starting to work on some non-logical dates for Wikimedia Commons. This hereThis sort of thing. Some more info

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 ?date ?timeprecision ?timecalendar WHERE {
  ?item p:P571/psv:P571 ?P571_statement . 
  ?P571_statement wikibase:timeValue ?date.
  ?P571_statement wikibase:timePrecision ?timeprecision.
  ?P571_statement wikibase:timeCalendarModel ?timecalendar.
  FILTER( ?date < "1020-01-01"^^xsd:date && ?date > "1000-01-01"^^xsd:date ).
} LIMIT 20

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?P571_statement") v1("?date"):::projected v2("?item"):::projected v5("?timecalendar"):::projected v4("?timeprecision"):::projected a1((" ")) f0[["?date < '1020-01-01^^xsd:date'?date > '1000-01-01^^xsd:date'"]] f0 --> v1 v2 --"p:P571"--> a1 a1 --"p:statement/value/P571"--> v3 v3 --"wikibase:timeValue"--> v1 v3 --"wikibase:timePrecision"--> v4 v3 --"wikibase:timeCalendarModel"--> v5