error: cannot cast uk.ac.manchester.cs.owl.owlapi.OWL ClassImpl to org.semanticweb
MeghanaKB opened this issue · 3 comments
feed | date | host | feed_Number
4.34 | 2019-07 | A | feed_intake1
4.34 | 2019-07 | B | feed_intake1
7.52 | 2019-07 | C | feed_intake1
11.3 | 2019-07 | D | feed_intake1
20.54 | 2019-07 | E | feed_intake1
The date in my excel looks something like this. I am trying to make feed_Number as my instance with feed(1st column) as the feed_value data property. I did load my ontology and my transformation rules, when I am trying to generate ontology I am getting the error as "error cannot cast uk.ac.manchester.cs.owl.owlapi.OWL ClassImpl to org.semanticweb". Any help would be appreciated.
Can you post the Mapping Master expression that causes the exception.
It looks you have not pasted the entire exception. ".... org.semanticweb" looks like it is truncated.
You might be trying to convert a class to an individual, for example. Is feed_intake1 a class in your ontology? If it is, the above expression would be trying to convert it into an individual.
Can you post the ontology.