query-01bcd3e484f96f1f82ad73ff5a7eb5ed

rq turtle/ttl

All items with P373 and a hewiki article"All items with P373 and a hewiki article" 21:34, 21 October 2017 (UTC)) talk (Kotzthanks

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
SELECT ?item ?commonscat ?sitelink ?lemma WHERE {
  ?item wdt:P373 ?commonscat .
  ?sitelink schema:about ?item; schema:isPartOf <https://he.wikipedia.org/>; schema:name ?lemma .
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?commonscat"):::projected v1("?item"):::projected v4("?lemma"):::projected v3("?sitelink"):::projected c4([https://he.wikipedia.org/]):::iri v1 --"wdt:P373"--> v2 v3 --"schema:about"--> v1 v3 --"schema:isPartOf"--> c4 v3 --"schema:name"--> v4