SPARQL queries: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 21: Line 21:
order by lcase(?lemma)
order by lcase(?lemma)
</sparql>
</sparql>
==Problematic lexical entries==
<sparql tryit="1">
# this lists all leicial entries with bracket, semicolon, or comma in the lemma sign
select ?entry ?lemma ?posLabel
where {?entry a ontolex:LexicalEntry;
                wikibase:lemma ?lemma;
                wikibase:lexicalCategory [rdfs:label ?posLabel].
                  filter(lang(?posLabel)="en")
                  filter(regex(?lemma,'[();,]'))}
order by lcase(?lemma)
</sparql>
=Senses and sense descriptions=
=Senses and sense descriptions=
<sparql tryit="1">
<sparql tryit="1">

Navigation menu