query-58ae3268383d624c1c7a386b4abcc03e
taxa with enwiki articles where author name is Peter Brian Heenan
SELECT ?item ?taxon_name ?article WHERE {
?item p:P225 ?stat .
?stat ps:P225 ?taxon_name.
?stat pq:P405 wd:Q18637582.
?article schema:about ?item. # and have an article about them
?article schema:isPartOf https://en.wikipedia.org/ . # on English Wikipedia}
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
ORDER BY ?taxon_name ?item
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
# taxa with enwiki articles where author name is Peter Brian Heenan
SELECT ?item ?taxon_name ?article WHERE {
?item p:P225 ?stat .
?stat ps:P225 ?taxon_name.
?stat pq:P405 wd:Q18637582.
?article schema:about ?item. # and have an article about them
?article schema:isPartOf <https://en.wikipedia.org/> . # on *English* Wikipedia}
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
ORDER BY ?taxon_name ?item
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?article"):::projected
v2("?item"):::projected
v3("?stat")
v1("?taxon_name"):::projected
c7([https://en.wikipedia.org/]):::iri
c9(["bd:serviceParam"]):::iri
c4(["wd:Q18637582"]):::iri
c11(["en"]):::literal
v2 --"p:P225"--> v3
v3 --"p:statement/P225"--> v1
v3 --"p:qualifier/P405"--> c4
v4 --"schema:about"--> v2
v4 --"schema:isPartOf"--> c7
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end