query-198c9409a9926a95cef0d65e8c5553b3

rq turtle/ttl

TODO

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#>
SELECT ?item ?itemLabel ?sitelink ?article
WHERE 
{
  ?item wdt:P31/wdt:P279* wd:Q62447.
?sitelink ^schema:name ?article .
 ?article schema:about ?item ;
  schema:isPartOf <https://en.wikipedia.org/> .
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?article"):::projected v1("?item"):::projected v3("?sitelink"):::projected a1((" ")) c7([https://en.wikipedia.org/]):::iri c9(["bd:serviceParam"]):::iri c11(["#91;AUTO_LANGUAGE#93;,en"]):::literal c3(["wd:Q62447"]):::iri v1 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c3 v2 --"schema:name"--> v3 v2 --"schema:about"--> v1 v2 --"schema:isPartOf"--> c7 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c9 --"wikibase:language"--> c11 end