protegeproject / webprotege

The webprotege code base
Other
628 stars 253 forks source link

SKOS properties don't work 😥 #786

Open matuskalas opened 1 year ago

matuskalas commented 1 year ago

We need to use especially the standard properties for external matches: skos:exactMatch skos:narrowMatch skos:broadMatch skos:closeMatch skos:relatedMatch

When trying to add these, it doesn't work in our ontology (https://webprotege.stanford.edu/#projects/69591619-4eda-4f03-9e7f-65b213038fe1/edit/Classes).

Do I have to add them all manually??

In Classes tab: image Same behaviour, whether this is attempted in Annotations or Relationships. ☹

In OWL Classes tab: image

The same was happening with skos:related, until I addedit manually among Object Properties. This is for internal matches, so I can use it in Relationships. image

kataph commented 1 year ago

Hi all, I get the same behaviour for the very same reason (though in my case I am interested in skos:prefLabel and such). I would be really grateful for a patch. In the meantime, are there any workaround?

For instance, this machester syntax is apparently not valid: `Class: X

Annotations: [in root-ontology]
    skos:definition "bla bla bla ..."@it,
    skos:prefLabel "X"

SubClassOf: [in root-ontology]
    Y`

Regards