query-08f895010fafb019132fe264e700c488
Propertiesinstance of (P31)
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
SELECT DISTINCT ?statement ?date ?precision_label {
?statement ?date_prop ?date_node .
?date_node wikibase:timePrecision ?precision ;
wikibase:timeValue ?date .
?date_node wikibase:timeCalendarModel wd:Q1985727 .
FILTER (YEAR(?date) < 1584) .
FILTER (?precision <= 9 ) .
?statement pq:P31 wd:Q26961029 .
VALUES (?precision ?precision_label) {
(0 "milliard d’années")
(1 "centaine de million d’années")
(2 "dizaine de millions d’années")
(3 "million d’années")
(4 "centaine de millénaires")
(5 "dizaine de millénaires")
(6 "millénaire")
(7 "siècle")
(8 "décennie")
(9 "année")
(10 "mois")
(11 "jour")
(12 "heure")
(13 "minute")
(14 "seconde")
}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?date"):::projected
v5("?date_node")
v4("?date_prop")
v6("?precision")
v6("?precision_label"):::projected
v3("?statement"):::projected
c6(["wd:Q1985727"]):::iri
c8(["wd:Q26961029"]):::iri
f0[["?precision <= '9^^xsd:integer'"]]
f0 --> v6
f1[["year-from-dateTime(?date) < '1584^^xsd:integer'"]]
f1 --> v2
v3 -->v4--> v5
v5 --"wikibase:timePrecision"--> v6
v5 --"wikibase:timeValue"--> v2
v5 --"wikibase:timeCalendarModel"--> c6
v3 --"pq:P31"--> c8
bind2[/VALUES ?precision ?precision_label/]
bind2-->v6
bind2-->v6
bind20(["0^^xsd:integer"])
bind20 --> bind2
bind21(["milliard d’années"])
bind21 --> bind2
bind22(["1^^xsd:integer"])
bind22 --> bind2
bind23(["centaine de million d’années"])
bind23 --> bind2
bind24(["2^^xsd:integer"])
bind24 --> bind2
bind25(["dizaine de millions d’années"])
bind25 --> bind2
bind26(["3^^xsd:integer"])
bind26 --> bind2
bind27(["million d’années"])
bind27 --> bind2
bind28(["4^^xsd:integer"])
bind28 --> bind2
bind29(["centaine de millénaires"])
bind29 --> bind2
bind210(["5^^xsd:integer"])
bind210 --> bind2
bind211(["dizaine de millénaires"])
bind211 --> bind2
bind212(["6^^xsd:integer"])
bind212 --> bind2
bind213(["millénaire"])
bind213 --> bind2
bind214(["7^^xsd:integer"])
bind214 --> bind2
bind215(["siècle"])
bind215 --> bind2
bind216(["8^^xsd:integer"])
bind216 --> bind2
bind217(["décennie"])
bind217 --> bind2
bind218(["9^^xsd:integer"])
bind218 --> bind2
bind219(["année"])
bind219 --> bind2
bind220(["10^^xsd:integer"])
bind220 --> bind2
bind221(["mois"])
bind221 --> bind2
bind222(["11^^xsd:integer"])
bind222 --> bind2
bind223(["jour"])
bind223 --> bind2
bind224(["12^^xsd:integer"])
bind224 --> bind2
bind225(["heure"])
bind225 --> bind2
bind226(["13^^xsd:integer"])
bind226 --> bind2
bind227(["minute"])
bind227 --> bind2
bind228(["14^^xsd:integer"])
bind228 --> bind2
bind229(["seconde"])
bind229 --> bind2