|
Hello,
I am working with OwlReady2 version 0.34.
Some of my data properties are enumerations with integer values.
For example : {1,3,4,5,6,7}
When I analyze the list of values for this enumeration, I use the following instruction :
enum_list = list(onto_data_prop.range[0].instances), where :
onto_data_prop is the data property read from the ontology, range is of type 'OneOf'.
my values are then : onto_data_prop.range=[OneOf([1, 3, 4, 6, 7])]
and enum_list = [1, 3, 4, 6, 7]
I tried several list of values, and it looks like the value 5 is always omitted.
When I use string values (like {'Windows 8.1','Windows Server 2008','Windows 10'}), I can retrieve all the corresponding values with OwlReady2.
Do you have any track to give me ? I have juste upgraded OwlReady2 (I used version 0.24 before) because I thought it was a bug in my version.
Thank you in advance for your help.
Best regards,
Jean-Luc.
|