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)

Reply via email to