query-7c35d5f6d529786388cc77f371d0c084

rq turtle/ttl

Taxon authors with no death date SELECT DISTINCT ?author ?authorLabel WHERE { ?taxon p:P225/pq:P405 ?author. ?author wdt:P31 wd:Q5. MINUS { ?author wdt:P570 ?dateOfDeath. } SERVICE wikibase:label { bd:serviceParam wikibase:language "en". } }

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
# Taxon authors with no death date
  SELECT DISTINCT ?author ?authorLabel WHERE {
  ?taxon p:P225/pq:P405 ?author.
  ?author wdt:P31 wd:Q5.
  MINUS { ?author wdt:P570 ?dateOfDeath. }
  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; v2("?author"):::projected v3("?dateOfDeath") v1("?taxon") a1((" ")) c7(["bd:serviceParam"]):::iri c4(["wd:Q5"]):::iri c9(["en"]):::literal v1 --"p:P225"--> a1 a1 --"p:qualifier/P405"--> v2 v2 --"p:direct/P31"--> c4 subgraph minus0["MINUS"] style minus0 stroke-width:6px,fill:pink,stroke:red; v2 --"p:direct/P570"--> v3 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c7 --"wikibase:language"--> c9 end