query-68c29d4df5b9fef1a915bc3e63e047af

rq turtle/ttl

TODO

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 wd: <http://www.wikidata.org/entity/>
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 p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?itemLabel ?dob ?P569_1 ?itemDescription WHERE {

 SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
 {
   SELECT DISTINCT ?item ?P569_1 WHERE {
     {
       ?item p:P106 ?statement0.
       ?statement0 (ps:P106/(wdt:P279*)) wd:Q33999.
       FILTER(EXISTS { ?statement0 prov:wasDerivedFrom ?reference. })
     }
     {
       ?item p:P569 ?statement_1.
       ?statement_1 psv:P569 ?statementValue_1.
       ?statementValue_1 wikibase:timePrecision ?precision_1.
       FILTER(?precision_1 >= 11 )
       ?statementValue_1 wikibase:timeValue ?P569_1.
       FILTER(?P569_1 > "+1960-01-01T00:00:00Z"^^xsd:dateTime)
       FILTER(EXISTS { ?statement_1 prov:wasDerivedFrom ?reference. })       
     }
   }
   LIMIT 10
 }

}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v5("?P569_1"):::projected v3("?item"):::projected v6("?precision_1") v2("?reference") v1("?statement0") v7("?statementValue_1") v4("?statement_1") a1((" ")) c4(["en"]):::literal c2(["bd:serviceParam"]):::iri c9(["wd:Q33999"]):::iri subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c2 --"wikibase:language"--> c4 end f0[[" "]] subgraph f0e0["Exists Clause"] e0v1 --"prov:wasDerivedFrom"--> e0v2 e0v2("?reference"):::projected e0v1("?statement0"):::projected end f0--EXISTS--> f0e0 f0 --> v1 f0 --> c5 f0 --> v2 v1 --"prov:wasDerivedFrom"--> v2 v3 --"p:P106"--> v1 v1 --"p:statement/P106"--> a1 a1 --"p:direct/P279"--> c9 f1[[" "]] subgraph f1e1["Exists Clause"] e1v1 --"prov:wasDerivedFrom"--> e1v2 e1v2("?reference"):::projected e1v1("?statement_1"):::projected end f1--EXISTS--> f1e1 f1 --> v4 f1 --> c5 f1 --> v2 v4 --"prov:wasDerivedFrom"--> v2 f2[["?P569_1 > '+1960-01-01T00:00:00Z^^xsd:dateTime'"]] f2 --> v5 f3[["?precision_1 >= '11^^xsd:integer'"]] f3 --> v6 v3 --"p:P569"--> v4 v4 --"p:statement/value/P569"--> v7 v7 --"wikibase:timePrecision"--> v6 v7 --"wikibase:timeValue"--> v5