protegeproject/cellfie-plugin

mm:Location for new entities is ignored

donpellegrino opened this issue · 1 comments

When Cellfie generates new Individuals, it uses the settings from Protege -> Preferences -> New Entities. The MappingMaster DSL entity creation directives are ignored.

From the MappingMaster DSL documentation:

"For example, an expression to create an individual for cell D4 while ignoring the contents of the cell can be written:
Individual: @d4(mm:Location)"

However, when run in Cellfie with Protege set to use "Auto-generated ID, Globally unique" then UUIDs are used for the Individuals created from D4 instead of a URL created from the location in the spreadsheet.

In general, use of the global Protege settings by Cellfie makes Cellfie inconsistent in its output. It would be better if the behavior was a function of only the rules and the input spreadsheet.

Resetting the global Protege settings to their default seems to affect the behavior of mm:Location.

Test system: Protege 5.2.0.