You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@rya.apache.org by "Eric White (JIRA)" <ji...@apache.org> on 2018/01/23 21:47:00 UTC
[jira] [Created] (RYA-457) ClassCastException running
InferenceEngine with List
Eric White created RYA-457:
------------------------------
Summary: ClassCastException running InferenceEngine with List
Key: RYA-457
URL: https://issues.apache.org/jira/browse/RYA-457
Project: Rya
Issue Type: Bug
Components: inference
Affects Versions: 3.2.12
Reporter: Eric White
Fix For: 3.2.12
The InferenceEngine throws a ClassCastException if it finds a list of statements in the ontology with a literal object. Here's an example:
{code:java}
owl:equivalentClass [ rdf:type rdfs:Datatype ;
owl:oneOf [ rdf:type rdf:List ;
rdf:first "A" ;
rdf:rest [ rdf:type rdf:List ;
rdf:first "B" ;
rdf:rest [ rdf:type rdf:List ;
rdf:first "C" ;
rdf:rest [ rdf:type rdf:List ;
rdf:first "D" ;
rdf:rest [ rdf:type rdf:List ;
rdf:first "E" ;
rdf:rest rdf:nil
]
]
]
]
]
] .
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)