query-e19ff73c2cff02260b33ba0d23875668
: J'avais fait cette requête pour récupérer les dates de naissance sourcées uniquement par VIAF et dont la valeur est 1950 à l'année près
Use at
- https://query.wikidata.org/sparql
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX psv: <http://www.wikidata.org/prop/statement/value/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT DISTINCT ?item WHERE {
{
SELECT DISTINCT ?item {
?item wdt:P569 "1950-01-01T00:00:00Z"^^xsd:dateTime .
}
}.
?item wdt:P31 wd:Q5 ; p:P569 ?statement .
?statement rdf:type wikibase:BestRank ; psv:P569/wikibase:timePrecision 9 ; ps:P569 "1950-01-01T00:00:00Z"^^xsd:dateTime ; prov:wasDerivedFrom ?ref .
?ref pr:P248 wd:Q54919 .
FILTER NOT EXISTS { ?statement prov:wasDerivedFrom ?ref2 . FILTER(?ref != ?ref2) . } .
}
Query found at
- https://www.wikidata.org/w/index.php?title=Topic:Wartuls65hp1nznr&topic_showPostId=was3vh9e14818sl2#flow-post-was3vh9e14818sl2
- https://www.wikidata.org/w/index.php?title=Topic:Wartuls65hp1nznr&topic_showPostId=wawh574841z68f6w#flow-post-wawh574841z68f6w
- https://www.wikidata.org/wiki/Topic:Wartuls65hp1nznr
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?item"):::projected
v1("?ref")
v2("?ref2")
v3("?statement")
a1((" "))
c3(["1950-01-01T00:00:00Z^^xsd:dateTime"]):::literal
c14(["wd:Q54919"]):::iri
c8(["wikibase:BestRank"]):::iri
c5(["wd:Q5"]):::iri
c11(["9^^xsd:integer"]):::literal
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0f0[["?ref != ?ref2"]]
e0f0 --> e0v1
e0f0 --> e0v2
e0v3 --"prov:wasDerivedFrom"--> e0v2
e0v1("?ref"):::projected
e0v2("?ref2"):::projected
e0v3("?statement"):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> v2
f0 --> v3
f0 --> c1
f1[["?ref != ?ref2"]]
f1 --> v1
f1 --> v2
v3 --"prov:wasDerivedFrom"--> v2
v4 --"p:direct/P569"--> c3
v4 --"p:direct/P31"--> c5
v4 --"p:P569"--> v3
v3 --"a"--> c8
v3 --"p:statement/value/P569"--> a1
a1 --"wikibase:timePrecision"--> c11
v3 --"p:statement/P569"--> c3
v3 --"prov:wasDerivedFrom"--> v1
v1 --"p:reference/P248"--> c14