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

Timothy Redmond tredmond at stanford.edu
Fri Jun 8 10:21:34 PDT 2012


This is an OWL 2 ontology and you should use Protege 4.1+.   Protege 3 
can only open OWL 1.0 ontologies.  In particular the ontology contains 
disjoint-with axioms involving more than two classes and some qualified 
cardinality restrictions.

-Timothy

On 6/8/12 3:32 AM, Wentao Zhou wrote:
> 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
>
>
> _______________________________________________
> protege-discussion mailing list
> protege-discussion at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-discussion
>
> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-discussion/attachments/20120608/9965f73b/attachment.html>


More information about the protege-discussion mailing list