pennyl67 / LexMeta

temporary repository for LexMeta
0 stars 2 forks source link

wikibaseentity & wikidataEntity #6

Open pennyl67 opened 2 years ago

pennyl67 commented 2 years ago

What's the difference between them? no domain and no range

dlindem commented 2 years ago

wikidataEntity was a left-over from previous versions; now deleted. lexmeta:wikibaseEntity points to an equivalent entity described on wikidata or another wikibase (e.g. LexBib wikibase). I don't know how to make domain and range explicit here.

pennyl67 commented 2 years ago

Can you provide an example?

dlindem commented 1 year ago

Example for a property: dct:publisher a owl:ObjectProperty ; lexmeta:wikibaseEntity wikidata:P123, lexbib:P35. Example for a class: lexmeta:LCRSeries a owl:Class ; rdfs:label "LCR Series"@en ; lexmeta:wikibaseEntity lexbib:Q41 . Example for a concept: lexmeta:accentuation a skos:Concept ; rdfs:label "accentuation"@en; lexmeta:wikibaseEntity lexbib:Q24032 .

The property lexmeta:wikibaseEntity means that the entity is also described at a wikibase (i.e. wikidata or e.g. lexbib wikibase). So, domain is just any entity, including properties. Range is an entity part of a wikibase. The label/description of the property would be something like "described as wikibase entity". Generic properties cannot be used here instead of lexmeta:wikibaseEntity:

The closest generic properties I know of would be umbel:isLike and schema:sameAs

gkirtzou commented 1 year ago

Looking into the proposed properties from other vocabularies, I would go for using the schema:sameAs since it is exactly what you want to describe "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.". The example they in json-ld is really helpful showing the use of the property with a wikidata enty. See https://schema.org/sameAs.

As far as umbel:isLike is concerend, in https://lov.linkeddata.es/dataset/lov/vocabs/umbel there is a comment saying that this ontology has been retired on the end of 2019 and indeed the domain redirects to a casino website. In the comment they also say that the successor seems to be KBpedia at https://github.com/Cognonto/kbpedia, but looking a little bit in their repo I couldn't find the ontology. Given these two facts, I would avoid using umbel:isLike