query-c1bda98e468e4449fbb5e3ca5a01ff2c

rq turtle/ttl

QZanden

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?itemLabel ?title WHERE {
  {
    SELECT ?item ?title WHERE {
      ?article a schema:Article;
               schema:isPartOf ?wiktionary;
               schema:about ?item;
               schema:name ?title.
      ?wiktionary wikibase:wikiGroup "wiktionary".
    }
  }
  MINUS {
    ?otherArticle a schema:Article;
                  schema:isPartOf ?otherProject;
                  schema:about ?item.
    ?otherProject wikibase:wikiGroup ?otherGroup.
    FILTER(?otherGroup != "wiktionary")
  }
  MINUS { ?item wdt:P31/wdt:P279* wd:Q14204246. }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?article") v3("?item"):::projected v6("?otherArticle") v5("?otherGroup") v7("?otherProject") v4("?title"):::projected v2("?wiktionary") a1((" ")) c2(["schema:Article"]):::iri c10(["wd:Q14204246"]):::iri c12(["bd:serviceParam"]):::iri c7(["wiktionary"]):::literal c14(["#91;AUTO_LANGUAGE#93;,en"]):::literal v1 --"a"--> c2 v1 --"schema:isPartOf"--> v2 v1 --"schema:about"--> v3 v1 --"schema:name"--> v4 v2 --"wikibase:wikiGroup"--> c7 subgraph minus0["MINUS"] style minus0 stroke-width:6px,fill:pink,stroke:red; f1[["?otherGroup != 'wiktionary'"]] f1 --> v5 v6 --"a"--> c2 v6 --"schema:isPartOf"--> v7 v6 --"schema:about"--> v3 v7 --"wikibase:wikiGroup"--> v5 end subgraph minus2["MINUS"] style minus2 stroke-width:6px,fill:pink,stroke:red; v3 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c10 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c12 --"wikibase:language"--> c14 end