query-625734eb7b21def8c90958b1a4d526e3

rq turtle/ttl

Spanish rowers born after 1975

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 ?humanLabel ?dob ?place_of_birth ?place_of_birthLabel ?participant_of ?participant_ofLabel WHERE {
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
  ?human wdt:P31 wd:Q5.
  ?human wdt:P106 wd:Q13382576.
  ?human wdt:P27 wd:Q29.
  ?human wdt:P569 ?dob.

  FILTER("1975-01-01"^^xsd:date <= ?dob).
  OPTIONAL { ?human wdt:P569 ?dob. }
  OPTIONAL { ?human wdt:P19 ?place_of_birth. }
  OPTIONAL { ?human wdt:P1344 ?participant_of. }
}
LIMIT 500

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?dob"):::projected v2("?human"):::projected v4("?participant_of"):::projected v3("?place_of_birth"):::projected c3(["bd:serviceParam"]):::iri c11(["wd:Q29"]):::iri c7(["wd:Q5"]):::iri c5(["#91;AUTO_LANGUAGE#93;,en"]):::literal c9(["wd:Q13382576"]):::iri f0[["'1975-01-01^^xsd:date' <= ?dob"]] f0 --> v1 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c3 --"wikibase:language"--> c5 end v2 --"wdt:P31"--> c7 v2 --"wdt:P106"--> c9 v2 --"wdt:P27"--> c11 v2 --"wdt:P569"--> v1 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P569".-> v1 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P19".-> v3 end subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P1344".-> v4 end