query-83b833ee6eedd94501f2ec1e38f8c335

rq turtle/ttl

title:Forms in Swedish that have no example demonstrating them

2021-08-06

SELECT ?form ?lemma WHERE { ?lexemeId dct:language wd:Q9027; wikibase:lemma ?lemma; ontolex:lexicalForm ?form. MINUS { ?lexemeId p:P5831 ?statement. ?statement ps:P5831 ?example; pq:P6072 []; pq:P5830 ?form_with_example. } }

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX ontolex: <http://www.w3.org/ns/lemon/ontolex#>
PREFIX dct: <http://purl.org/dc/terms/>
#title:Forms in Swedish that have no example demonstrating them
# 2021-08-06
SELECT ?form ?lemma
WHERE {
  ?lexemeId dct:language wd:Q9027;
            wikibase:lemma ?lemma;
            ontolex:lexicalForm ?form.
  MINUS {
  ?lexemeId p:P5831 ?statement.
  ?statement ps:P5831 ?example;
             pq:P6072 [];
             pq:P5830 ?form_with_example.
  }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v5("?example") v3("?form"):::projected v6("?form_with_example") v2("?lemma"):::projected v1("?lexemeId") v4("?statement") a1((" ")) c2(["wd:Q9027"]):::iri v1 --"dct:language"--> c2 v1 --"wikibase:lemma"--> v2 v1 --"ontolex:lexicalForm"--> v3 subgraph minus0["MINUS"] style minus0 stroke-width:6px,fill:pink,stroke:red; v1 --"p:P5831"--> v4 v4 --"p:statement/P5831"--> v5 v4 --"p:qualifier/P6072"--> a1 v4 --"p:qualifier/P5830"--> v6 end