query-c9d7d527797cc706c5fb3aef4e1f735b

rq turtle/ttl

title:SBN people with birth date having a precision lower than day SELECT ?item WHERE { ?item wdt:P396 [] ; p:P569 ?st . ?st a wikibase:BestRank ; psv:P569 [ wikibase:timePrecision ?prec ; wikibase:timeValue ?date ] . FILTER(?prec IN ("7"^^xsd:integer, "8"^^xsd:integer, "9"^^xsd:integer, "10"^^xsd:integer)) }

Use at

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX psv: <http://www.wikidata.org/prop/statement/value/>
PREFIX p: <http://www.wikidata.org/prop/>
#title:SBN people with birth date having a precision lower than day
SELECT ?item
WHERE {
  ?item wdt:P396 [] ; p:P569 ?st . ?st a wikibase:BestRank ; psv:P569 [ wikibase:timePrecision ?prec ; wikibase:timeValue ?date ] .
  FILTER(?prec IN ("7"^^xsd:integer, "8"^^xsd:integer, "9"^^xsd:integer, "10"^^xsd:integer))
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?date") v2("?item"):::projected v1("?prec") v3("?st") a1((" ")) a2((" ")) c8(["wikibase:BestRank"]):::iri list0c1(["7^^xsd:integer"]):::literal list0c2(["8^^xsd:integer"]):::literal list0c3(["9^^xsd:integer"]):::literal list0c4(["10^^xsd:integer"]):::literal list0c1 --o f0 list0c2 --o f0 list0c3 --o f0 list0c4 --o f0 f0[[" in "]] f0 --> v1 v2 --"p:direct/P396"--> a1 v2 --"p:P569"--> v3 v3 --"a"--> c8 a2 --"wikibase:timePrecision"--> v1 a2 --"wikibase:timeValue"--> v4 v3 --"p:statement/value/P569"--> a2