Open xdobry opened 4 years ago
The problem here is that the OML model invalidly specified a string literal ("1") when the literal should have been of type int, which you can get when you use the literal (1) or ("1"^^xsd:int).
The problem would have been reported by the OwlReason tool (which runs the OWL reasoner) as a reasoning problem.
Whether the OML validator should have also reported this error (in the WB or any where oml-validate is run) is a different issue. I will convert this bug to an enhacement to consider supporting it. I will move it to the oml repo where such validation occurs.
Description
The generated owl is inconsistent because of type mismatch of value property
Steps to Reproduce
use oml2owl to generate owl load owl into some resoner (I have used protege and pellet)
The reasoner gives the error: InconsistentOntologyException
Propellant 'has mulitplicyti' "1" expect integer
The problem seems to be this generated owl part in file /example-firesat/src/opencaesar.io/example/firesat/wp6.4/spacecraft.oml
Will be translated to