query-a4d2cbce985dc1884d1bf582d2ac96b4
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX dct: <http://purl.org/dc/terms/>
SELECT ?lemma ?l1 ?l2 WHERE {
?l1 dct:language wd:Q150 ; #language
wikibase:lemma ?lemma .
?l2 wikibase:lemma ?lemma .
FILTER (str(?l1) < str(?l2) )
MINUS { ?l1 wdt:P5402 ?l2 }
MINUS { ?l2 wdt:P5402 ?l1 }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?l1"):::projected
v2("?l2"):::projected
v3("?lemma"):::projected
c2(["wd:Q150"]):::iri
f0[["str(?l1) < str(?l2)"]]
f0 --> v1
f0 --> v2
v1 --"dct:language"--> c2
v1 --"wikibase:lemma"--> v3
v2 --"wikibase:lemma"--> v3
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
v1 --"wdt:P5402"--> v2
end
subgraph minus2["MINUS"]
style minus2 stroke-width:6px,fill:pink,stroke:red;
v2 --"wdt:P5402"--> v1
end