query-322295431e11ab003cba1157bd9771ea

rq turtle/ttl

Items without Armenian label but linked from items with hywiki sitelink SELECT DISTINCT (?leben AS ?label_in_english) ?item WHERE { ?itemk ?p ?item { ?article schema:about ?itemk ; schema:isPartOf https://hy.wikipedia.org/ . } ?item rdfs:label ?leben filter (lang(?leben) = "en"). MINUS {?item rdfs:label ?lebhy filter(lang(?lebhy) = "hy")} } limit 500

Use at

PREFIX schema: <http://schema.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
#Items without Armenian label but linked from items with hywiki sitelink
SELECT DISTINCT (?leben AS ?label_in_english) ?item WHERE {
  ?itemk ?p ?item  {
    ?article    schema:about ?itemk ;
                schema:isPartOf <https://hy.wikipedia.org/> . }
  ?item rdfs:label ?leben filter (lang(?leben) = "en").
  MINUS {?item rdfs:label ?lebhy    filter(lang(?lebhy) = "hy")}
 }
limit 500

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v5("?article") v4("?item"):::projected v2("?itemk") v7("?label_in_english") v1("?leben"):::projected v6("?lebhy") v3("?p") c4([https://hy.wikipedia.org/]):::iri f0[["?leben = 'en'"]] f0 --> v1 v2 -->v3--> v4 v5 --"schema:about"--> v2 v5 --"schema:isPartOf"--> c4 v4 --"rdfs:label"--> v1 subgraph minus1["MINUS"] style minus1 stroke-width:6px,fill:pink,stroke:red; f2[["?lebhy = 'hy'"]] f2 --> v6 v4 --"rdfs:label"--> v6 end bind3[/"?leben"/] v1 --o bind3 bind3 --as--o v7