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

ClassCastException running InferenceEngine with List

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.2.12
    • 3.2.12
    • inference
    • 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

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

            Dates

              Created:
              Updated: