Main Page

From Ontology-based Terminology of the BOP
Jump to navigation Jump to search

BOP Ontoterminology Wikibase

[Project description]

What's in this Wikibase?

BOP concept entries

PREFIX bdp: <https://bop-ontoterminology.wikibase.cloud/prop/direct/>

SELECT ?concept ?conceptLabel ?definition
where {
  ?concept bdp:P7 ?definition. filter(lang(?definition)="en")
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE], en". }
}

Try it!


BOP lexical entries

PREFIX bdp: <https://bop-ontoterminology.wikibase.cloud/prop/direct/>

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

Try it!


BOP concepts and linked terms (Graph view)

#defaultView:Graph
PREFIX bwb: <https://bop-ontoterminology.wikibase.cloud/entity/>
PREFIX bdp: <https://bop-ontoterminology.wikibase.cloud/prop/direct/>

SELECT ?lexical_entry (concat(str(?term), " (",lang(?term),")") as ?lexical_entryLabel) ?concept (strafter (str(?concept), str(bwb:)) as ?conceptLabel)
where {?lexical_entry ontolex:sense [bdp:P9 ?concept]; wikibase:lemma ?term. }

Try it!


BOP Ontology classes

PREFIX bwb: <https://bop-ontoterminology.wikibase.cloud/entity/>
PREFIX bdp: <https://bop-ontoterminology.wikibase.cloud/prop/direct/>

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

Try it!