Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-discussion] Errors at post processing ontology

Wentao Zhou w.t.zhou74 at gmail.com
Fri Jun 8 03:32:43 PDT 2012


Hi guys,

Please help me check what cause of those errors got during processing
ontology,
The error messages as follows:

    Completed triple loading after 2897 ms
Postprocess: Process entities with incorrect Java type (0 entities) ... 0 ms
Postprocess: Process metaclasses (3 metaclasses) ... 0 ms
Postprocess: Process subclasses of rdf:List (1 classes) ... 0 ms
Postprocess: Instances with multiple types (198 instances) ... 47 ms
SEVERE: Error at loading file file:/F:/ontologies/TestForPaper2/Tbox1.owl
--  Er
rors at post processing ontology
        at
edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.doFinalPos
tProcessing(ProtegeOWLParser.java:356)
        at
edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.loadTriple
s(ProtegeOWLParser.java:308)
        at
edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.run(Proteg
eOWLParser.java:246)
        at
edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.run(Proteg
eOWLParser.java:204)
        at
edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.run(Proteg
eOWLParser.java:187)
        at
edu.stanford.smi.protegex.owl.jena.JenaKnowledgeBaseFactory.loadKnowl
edgeBase(JenaKnowledgeBaseFactory.java:194)
        at
edu.stanford.smi.protege.model.Project.loadDomainKB(Project.java:1312
)
        at
edu.stanford.smi.protege.model.Project.createDomainKnowledgeBase(Proj
ect.java:446)
        at
edu.stanford.smi.protegex.owl.jena.creator.OwlProjectFromUriCreator.c
reate(OwlProjectFromUriCreator.java:69)
        at
edu.stanford.smi.protegex.owl.ProtegeOWL.createJenaOWLModelFromURI(Pr
otegeOWL.java:107)
        at
reasoning.OntologyManager.setConstrainedMergedOntology(OntologyManage
r.java:144)
        at reasoning.OntologyManager.initialize(OntologyManager.java:163)
        at
reasoning.OntologyManager.createBPMNAnnotatedProcess(OntologyManager.
java:227)
        at test.Test.main(Test.java:79)
Caused by: java.lang.ClassCastException:
edu.stanford.smi.protege.model.DefaultC
ls cannot be cast to edu.stanford.smi.protegex.owl.model.RDFResource
        at
edu.stanford.smi.protegex.owl.model.impl.AbstractRDFSClass.createInst
ance(AbstractRDFSClass.java:127)
        at
edu.stanford.smi.protegex.owl.jena.parser.TripleProcessorForUntypedRe
sources.handleUndefinedSubject(TripleProcessorForUntypedResources.java:189)
        at
edu.stanford.smi.protegex.owl.jena.parser.TripleProcessorForUntypedRe
sources.createUntypedObject(TripleProcessorForUntypedResources.java:133)
        at
edu.stanford.smi.protegex.owl.jena.parser.TripleProcessorForUntypedRe
sources.resolvUndefinedTriple(TripleProcessorForUntypedResources.java:101)
        at
edu.stanford.smi.protegex.owl.jena.parser.TripleProcessorForUntypedRe
sources.createUntypedResources(TripleProcessorForUntypedResources.java:85)
        at
edu.stanford.smi.protegex.owl.jena.parser.TripleProcessor.createUntyp
edResources(TripleProcessor.java:135)
        at
edu.stanford.smi.protegex.owl.jena.parser.TriplePostProcessor.doPostP
rocessing(TriplePostProcessor.java:118)
        at
edu.stanford.smi.protegex.owl.jena.parser.TripleProcessor.doPostProce
ssing(TripleProcessor.java:126)
        at
edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.doFinalPos
tProcessing(ProtegeOWLParser.java:343)
        ... 13 more
......

The ontology file is attached (Tbox1.owl).

Any reply are highly appreciated!

Bests,
Wentao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-discussion/attachments/20120608/d3508214/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Tbox1.owl
Type: application/octet-stream
Size: 847392 bytes
Desc: not available
URL: <http://mailman.stanford.edu/pipermail/protege-discussion/attachments/20120608/d3508214/attachment-0001.owl>


More information about the protege-discussion mailing list