Problem to get integer values for Protege DataProperty from Excel using Cellfie

276 Views Asked by At

I am using Cellfie plug-in for Protégé to create ontological individuals from an Excel database of scientific articles. I face a problem when I try to assign an integer value to a property 'has interger value' which range is xsd:integer. In fact, the property is being assigned but without the ^^xsd:integer type specification, so the reasoner fail beacause those values are not recognized as integers. I am using this Manchester Syntax code, which is not causing any error, but the values given to the properties are not declared as integers inside the Protégé ontology:

Individual: @B*

Types: 'Publication year'

Facts: 'has integer value' @B*(xsd:integer)

The column B of the Excel is full of integer numbers (years). If I try using xsd:string, the properties have the correct type declaration ^^xsd:string, but if I try to use xsd:integer the axioms are created ignoring the type declaration.

0

There are 0 best solutions below