Main Page

From llod-training
Jump to navigation Jump to search

Welcome to this Wikibase instance.

We are using this instance as sandbox in the LSSL2025 course "Linguistic Linked Open Data"

Projects

Leonor: Portuguese lexemes

SPARQL

All lexical entries

PREFIX llwb: <https://llod-training.wikibase.cloud/entity/>
PREFIX lldp: <https://llod-training.wikibase.cloud/prop/direct/>

SELECT ?lexical_entry ?lemma (lang(?lemma) as ?language) ?posLabel
where {
  ?lexical_entry a ontolex:LexicalEntry; wikibase:lemma ?lemma; wikibase:lexicalCategory ?pos.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE], en". }
} order by lcase(?lemma)

Try it!


Ontology classes on this Wikibase

PREFIX llwb: <https://llod-training.wikibase.cloud/entity/>
PREFIX lldp: <https://llod-training.wikibase.cloud/prop/direct/>

SELECT ?class ?classLabel (count(?item) as ?instances) (sample(?item) as ?example_instance) WHERE {
?item lldp:P5 ?class. ?class lldp:P5 llwb:Q1.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE], en, pt". }
} group by ?class ?classLabel ?instances ?example_instance order by desc(?instances)

Try it!