Description
The InferenceEngine throws a ClassCastException if it finds a list of statements in the ontology with a literal object. Here's an example:
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 ] ] ] ] ] ] .