query-f163f05fd1430b7e200d6c65880ff616

rq turtle/ttl

taxa with enwiki articles where author name is Peter Brian Heenan SELECT ?item ?taxon_name ?article WHERE { SERVICE wikibase:label { bd:serviceParam wikibase:language "en". } {?item wdt:P405 wd:Q18637582. ?item wdt:P225 ?taxon_name.} {?article schema:about ?item. # and have an article about them ?article schema:isPartOf https://en.wikipedia.org/ . # on English Wikipedia} }

} ORDER BY ?taxon_name ?item

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
# taxa with enwiki articles where author name is Peter Brian Heenan
SELECT ?item ?taxon_name ?article WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
    {?item wdt:P405 wd:Q18637582.
    ?item wdt:P225 ?taxon_name.}
  {?article schema:about ?item. # and have an article about them
  ?article schema:isPartOf <https://en.wikipedia.org/> . # on *English* Wikipedia}
  }

}
ORDER BY ?taxon_name ?item

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?article"):::projected v2("?item"):::projected v1("?taxon_name"):::projected c10([https://en.wikipedia.org/]):::iri c2(["bd:serviceParam"]):::iri c6(["wd:Q18637582"]):::iri c4(["en"]):::literal subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c2 --"wikibase:language"--> c4 end v2 --"wdt:P405"--> c6 v2 --"wdt:P225"--> v1 v3 --"schema:about"--> v2 v3 --"schema:isPartOf"--> c10