protegeproject / cellfie-plugin

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

regex returning some empty results #109

Open intrixius opened 7 years ago

intrixius commented 7 years ago

Please see this question on stackoverflow, especially this comment

Somehow I get results back that are empty classes. It seems that my regex is correct, but that Cellfie is somehow behaving strange....

Any ideas?

intrixius commented 7 years ago

is it due to this line (from mapping-master)?

csnyulas commented 7 years ago

I attempted to provide a solution to your question on stackoverflow: http://stackoverflow.com/a/42150101/7543060 I hope that helps.

Nonetheless, we should definitely take a look at MappingMaster to make sure that we won't accept references for empty string matches.

intrixius commented 7 years ago

Thanks for that, but I already tried that.

We have been investigating this a bit more, and it seems that there is a discrepancy between what the logs tell and what is effectively created. The empty classes do not appear in the log, however, they are created as classes. We will continue our search...

csnyulas commented 7 years ago

Can you please send us a sample ontology, spreadsheet and mapping file?

SteBiard commented 4 years ago

Hello, I am running in the same issue. I need to get words separated by commas, and null systematically come as one of the results. Thanks in advance for any evolution or workaround solving this issue. It is really a great tool.

martinjoconnor commented 4 years ago

First, make sure you are using the latest version of Protege and Cellfie.

If you still have a problem can you attach an example spreadsheet and Mapping Master expression file that demonstrates the problem.