query-740cff8b2c5fdb10df6c01f01ec61f14
Request 14:09, 15 May 2017 (UTC)) talk (Mikey641 Thanks-- I need a query of item that are part of "he.wikisource.org" or "he.wikiquote.org", that don't have an hebrew label.Hey!
Use at
- https://query.wikidata.org/sparql
PREFIX schema: <http://schema.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?item {
?sitelink schema:about ?item; schema:isPartOf <https://he.wikisource.org/> .
OPTIONAL {
?item rdfs:label ?label .
FILTER(LANG(?label) = 'he') .
}
FILTER(!BOUND(?label)) .
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?item"):::projected
v1("?label")
v2("?sitelink")
c4([https://he.wikisource.org/]):::iri
f0[["not bound(?label)"]]
f0 --> v1
v2 --"schema:about"--> v3
v2 --"schema:isPartOf"--> c4
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v3 -."rdfs:label".-> v1
end