query-fd164cd6c3ca9dc48c34f981019e62a2

rq turtle/ttl

…for lexemes that DWDS treats as separate lexemes and

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT * WHERE {
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
  ?item wdt:P8376 ?Duden_ID.
  ?item wdt:P9940 ?DWDS_lemma_ID.
  FILTER(CONTAINS(?Duden_ID, '_'))
  FILTER(!CONTAINS(?DWDS_lemma_ID, '#'))
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?DWDS_lemma_ID"):::projected v2("?Duden_ID"):::projected v3("?item"):::projected c4(["bd:serviceParam"]):::iri c6(["#91;AUTO_LANGUAGE#93;,en"]):::literal f0[["not contains(?DWDS_lemma_ID,'#')"]] f0 --> v1 f1[["contains(?Duden_ID,'_')"]] f1 --> v2 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c4 --"wikibase:language"--> c6 end v3 --"wdt:P8376"--> v2 v3 --"wdt:P9940"--> v1