query-23e4e5729d7d4002fef13aec6e5bbc2e

rq turtle/ttl

All given names for a person.Hello all, I have the following query:

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 bd: <http://www.bigdata.com/rdf#>
SELECT ?human ?lastName ?givenNames ?dob
 WHERE {
  ?human wdt:P106 wd:Q82955 .
  ?human wdt:P735 ?givenNames.
  ?human wdt:P734 ?lastName.

  ?human wdt:P569 ?dob . 
    FILTER(?dob >= xsd:dateTime("1946-06-14T00:00:00Z") &&
           ?dob < xsd:dateTime("1946-06-15T00:00:00Z")) .
 SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
 }

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?dob"):::projected v3("?givenNames"):::projected v2("?human"):::projected v4("?lastName"):::projected c9(["bd:serviceParam"]):::iri c11(["en"]):::literal c4(["wd:Q82955"]):::iri f0[["?dob >= http://www.w3.org/2001/XMLSchema#dateTime('1946-06-14T00:00:00Z')?dob < http://www.w3.org/2001/XMLSchema#dateTime('1946-06-15T00:00:00Z')"]] f0 --> v1 v2 --"wdt:P106"--> c4 v2 --"wdt:P735"--> v3 v2 --"wdt:P734"--> v4 v2 --"wdt:P569"--> v1 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c9 --"wikibase:language"--> c11 end