195,459
edits
Superraptor (talk | contribs) No edit summary |
Superraptor (talk | contribs) |
||
Line 74: | Line 74: | ||
To get all of the terms derived from a given etymon, you can use the following: | To get all of the terms derived from a given etymon, you can use the following: | ||
<syntaxhighlight lang="sparql">SELECT ? | <syntaxhighlight lang="sparql">SELECT ?l ?lemma ?languageLabel | ||
WHERE | WHERE | ||
{ | { | ||
? | ?l a ontolex:LexicalEntry; | ||
dct:language ?language; | |||
wikibase:lemma ?lemma . | |||
?l wdt:P32 wd:L127. | |||
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } | SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } | ||
}</syntaxhighlight> | }</syntaxhighlight> |