query-44efdcbae6dfc0bda34f2f73e7f596be

rq turtle/ttl

Find all items described in Encyclopedia of Armenian Nature and missing an English label PREFIX wd: http://www.wikidata.org/entity/ PREFIX wdt: http://www.wikidata.org/prop/direct/ PREFIX rdfs: http://www.w3.org/2000/01/rdf-schema#

SELECT ?item ?itemLabel WHERE { ?item wdt:P1343 wd:Q16387823 . filter not exists { ?item rdfs:label ?enlabel filter (lang(?enlabel) = "en") } . SERVICE wikibase:label { bd:serviceParam wikibase:language "hy" . } }

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX bd: <http://www.bigdata.com/rdf#>
# Find all items described in Encyclopedia of Armenian Nature and missing an English label
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

SELECT ?item ?itemLabel WHERE {
    ?item wdt:P1343 wd:Q16387823 .
    filter not exists { ?item rdfs:label ?enlabel filter (lang(?enlabel) = "en") } .
    SERVICE wikibase:label {
        bd:serviceParam wikibase:language "hy" .
    }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?enlabel") v2("?item"):::projected c8(["hy"]):::literal c6(["bd:serviceParam"]):::iri c4(["wd:Q16387823"]):::iri f0[["not "]] subgraph f0e0["Exists Clause"] e0f0[["?enlabel = 'en'"]] e0f0 --> e0v1 e0v2 --"rdfs:label"--> e0v1 e0v1("?enlabel"):::projected e0v2("?item"):::projected end f0--EXISTS--> f0e0 f0 --> v1 f0 --> v2 f0 --> c2 f1[["?enlabel = 'en'"]] f1 --> v1 v2 --"rdfs:label"--> v1 v2 --"wdt:P1343"--> c4 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end