Uploaded image for project: 'Rya'
  1. Rya
  2. RYA-457

ClassCastException running InferenceEngine with List

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.2.12
    • Fix Version/s: 3.2.12
    • Component/s: inference
    • Labels:
      None

      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
                                                                                  ]
                                                                       ]
                                                            ]
                                                 ]
                                      ]
                          ] .
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ejwhite922 Eric White
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: