protegeproject / cellfie-plugin

Protégé plugin for creating OWL ontologies from spreadsheets
104 stars 27 forks source link

Bug? Axioms 'SubClassOf' with class expression are not generated with cell values #156

Closed constnick closed 3 years ago

constnick commented 3 years ago

Rule:

Class: Class1
SubClassOf: (dataProp1 value @A1)
SubClassOf: (dataProp1 value 111)

Cell A1 has any simple value. Axioms generated:

Class: Class1
Class1 SubClassOf dataProp1 value 111

Test files in zip: CellfieTest.zip

martinjoconnor commented 3 years ago

Have you tried giving an explicit type to the referenced cell, e.g,

Class: Class1 SubClassOf: (dataProp1 value @A1(xsd:integer)) SubClassOf: (dataProp1 value 111)

It looks like it is confused and failing silently when it does not know the type of the value.

constnick commented 3 years ago

Thank you, it works.

(I used example from MappingMasterDSL wiki, there is no explicit type in same case.)