query-12b7a1232f7b65517aecf4b8fb8f4942
title: timePrecision for a date SELECT ?time ?timeprecision WHERE { { wd:Q5598 p:P569/psv:P569 ?timenode. } # Jul 15, 1606 ?timenode wikibase:timeValue ?time. ?timenode wikibase:timePrecision ?timeprecision. SERVICE wikibase:label { bd:serviceParam wikibase:language "en". } }
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX psv: <http://www.wikidata.org/prop/statement/value/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#title: timePrecision for a date
SELECT ?time ?timeprecision
WHERE
{
{ wd:Q5598 p:P569/psv:P569 ?timenode. } # Jul 15, 1606
?timenode wikibase:timeValue ?time.
?timenode wikibase:timePrecision ?timeprecision.
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?time"):::projected
v1("?timenode")
v3("?timeprecision"):::projected
a1((" "))
c7(["bd:serviceParam"]):::iri
c1(["wd:Q5598"]):::iri
c9(["en"]):::literal
c1 --"p:P569"--> a1
a1 --"p:statement/value/P569"--> v1
v1 --"wikibase:timeValue"--> v2
v1 --"wikibase:timePrecision"--> v3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end