query-706f95f49e714f743a01dff88599f4dd

rq turtle/ttl

title:People born in 1950 with VIAF URL as source SELECT * WHERE { ?item p:P569 [ ps:P569 ?v ; prov:wasDerivedFrom [ pr:P854 ?url ] ] . FILTER("1950-00-00"^^xsd:dateTime = ?v) FILTER(REGEX(STR(?url), "viaf")) }

Use at

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
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/>
#title:People born in 1950 with VIAF URL as source
SELECT *
WHERE {
  ?item p:P569 [ ps:P569 ?v ; prov:wasDerivedFrom [ pr:P854 ?url ] ] .
  FILTER("1950-00-00"^^xsd:date = ?v)
  FILTER(REGEX(STR(?url), "viaf"))
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?item"):::projected v1("?url"):::projected v2("?v"):::projected a1((" ")) a2((" ")) f0[["regex(str(?url),'viaf')"]] f0 --> v1 f1[["'1950-00-00^^xsd:date' = ?v"]] f1 --> v2 a1 --"p:statement/P569"--> v2 a2 --"p:reference/P854"--> v1 a1 --"prov:wasDerivedFrom"--> a2 v3 --"p:P569"--> a1