query-5f7dec9595a1e7a8292f3fddabc4ff5a

rq turtle/ttl

CWGC person ID with enwiki link SELECT DISTINCT ?s ?sLabel ?article WHERE { ?s wdt:P1908 ?cwgcid . ?article schema:about ?s . ?article schema:inLanguage "en" . ?article schema:isPartOf https://en.wikipedia.org/ . SERVICE wikibase:label { bd:serviceParam wikibase:language "en" } } ORDER BY ?sLabel

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
# CWGC person ID with enwiki link
SELECT DISTINCT ?s ?sLabel ?article WHERE {
  ?s wdt:P1908 ?cwgcid .
    ?article schema:about ?s .
    ?article schema:inLanguage "en" .
    ?article schema:isPartOf <https://en.wikipedia.org/> .
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
 }
 ORDER BY ?sLabel

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?article"):::projected v3("?cwgcid") v2("?s"):::projected v1("?sLabel"):::projected c6([https://en.wikipedia.org/]):::iri c8(["bd:serviceParam"]):::iri c4(["en"]):::literal v2 --"wdt:P1908"--> v3 v4 --"schema:about"--> v2 v4 --"schema:inLanguage"--> c4 v4 --"schema:isPartOf"--> c6 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c8 --"wikibase:language"--> c4 end