Project:Example Queries: Difference between revisions

Line 115: Line 115:
To return all lexemes in English in dictionary order, you can use the following:
To return all lexemes in English in dictionary order, you can use the following:


<syntaxhighlight lang="sparql"><syntaxhighlight lang="sparql">SELECT ?headword ?categoryLabel {  
<syntaxhighlight lang="sparql">SELECT ?headword ?categoryLabel {  
   ?item wikibase:lemma ?headword .
   ?item wikibase:lemma ?headword .
   ?item wikibase:lexicalCategory ?category .
   ?item wikibase:lexicalCategory ?category .