query-6896e8069fdb445d0c371bbe53dd6a61

rq turtle/ttl

items with Latin script, lacking "native label" property SELECT ?item ?l ?nl WHERE { ?item wdt:P31 wd:Q101352; wdt:P282 wd:Q8229 . MINUS { ?item wdt:P282 ?ws . FILTER(?ws != wd:Q8229 ) } MINUS { ?item wdt:P1705 ?nl } OPTIONAL { ?item rdfs:label ?l . FILTER(lang(?l)="en") } }

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
#items with Latin script, lacking "native label" property
SELECT ?item ?l ?nl
WHERE
{
    ?item wdt:P31 wd:Q101352; wdt:P282 wd:Q8229 .
    MINUS { ?item wdt:P282 ?ws . FILTER(?ws != wd:Q8229 ) }
    MINUS { ?item wdt:P1705 ?nl }
    OPTIONAL { ?item rdfs:label ?l . FILTER(lang(?l)="en") }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?item"):::projected v1("?l"):::projected v4("?nl"):::projected v3("?ws") c3(["wd:Q101352"]):::iri c5(["wd:Q8229"]):::iri v2 --"wdt:P31"--> c3 v2 --"wdt:P282"--> c5 subgraph minus0["MINUS"] style minus0 stroke-width:6px,fill:pink,stroke:red; f1[["?ws != 'wd:Q8229'"]] f1 --> v3 v2 --"wdt:P282"--> v3 end subgraph minus2["MINUS"] style minus2 stroke-width:6px,fill:pink,stroke:red; v2 --"wdt:P1705"--> v4 end subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."rdfs:label".-> v1 end