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    

[p4-feedback] Dowloading pizza ontology from co-ode.org

babar shahzad babarathotmail at yahoo.com
Wed Apr 21 04:22:17 PDT 2010


Hi,

 Is Dowloading pizza ontology only require to copy pizza ontology source from http://www.co-ode.org/ontologies/pizza/pizza.owl and save it as pizza.owl ? I did like this and tried to run 'LoadingOntologies' example of OWL API, following exception occur for local file. Also the pizza ontology page open with information on top, ' This XML file does not appear to have any style information associated with it. The document tree is shown below.
       '

init:
deps-jar:
compile-single:
run-single:
Loaded ontology: Ontology(<http://www.co-ode.org/ontologies/pizza/pizza.owl> [Axioms: 940] [Logical axioms: 712])
Could not parse the ontology: Problem parsing file:/K:/NetBeen/OWLAPI_Src/OWLAPI/pizza.owl
Could not parse ontology.  Either a suitable parser could not be found, or parsing failed.  See parser logs below for explanation.
The following parsers were tried:
1) RDFXMLParser
2) OWLXMLParser
3) OWLFunctionalSyntaxOWLParser
4) TurtleOntologyParser
5) OWLOBOParser
6) KRSS2OWLParser
7) ManchesterOWLSyntaxOntologyParser


Detailed logs:
--------------------------------------------------------------------------------
Parser: RDFXMLParser
org.xml.sax.SAXParseException: Content is not allowed in prolog.

--------------------------------------------------------------------------------
Parser: OWLXMLParser
org.xml.sax.SAXParseException: Content is not allowed in prolog.

--------------------------------------------------------------------------------
Parser: OWLFunctionalSyntaxOWLParser
Encountered " <PN_CHARS> "- "" at line 1, column 1.
Was expecting:
    "Ontology" ...
     (Line 0)

--------------------------------------------------------------------------------
Parser: TurtleOntologyParser
uk.ac.manchester.cs.owl.owlapi.turtle.parser.ParseException: Encountered "" at line 1, column 1.
Was expecting one of:
    

--------------------------------------------------------------------------------
Parser: OWLOBOParser
org.coode.owlapi.obo.parser.ParseException: Encountered "</owl" at line 8, column 1.
Was expecting:
    "\n" ...
     (Line 7)

--------------------------------------------------------------------------------
Parser: KRSS2OWLParser
de.uulm.ecs.ai.owlapi.krssparser.ParseException: Encountered " <NAME> "- "" at line 1, column 1.
Was expecting:
    <EOF> 
    

--------------------------------------------------------------------------------
Parser: ManchesterOWLSyntaxOntologyParser
Encountered '-<rdf:RDF xml:base="http://www.co-ode.org/ontologies/pizza/pizza.owl">' at line 1 column 1.  Expected either 'Ontology:' or 'Prefix:' (Line 1)

Tried to parse the ontology with the RDFXMLParser parser
Failed because: org.xml.sax.SAXParseException: Content is not allowed in prolog.
Tried to parse the ontology with the OWLXMLParser parser
Failed because: org.xml.sax.SAXParseException: Content is not allowed in prolog.
Tried to parse the ontology with the OWLFunctionalSyntaxOWLParser parser
Failed because: Encountered " <PN_CHARS> "- "" at line 1, column 1.
Was expecting:
    "Ontology" ...
     (Line 0)
Tried to parse the ontology with the TurtleOntologyParser parser
Failed because: uk.ac.manchester.cs.owl.owlapi.turtle.parser.ParseException: Encountered "" at line 1, column 1.
Was expecting one of:
    
Tried to parse the ontology with the OWLOBOParser parser
Failed because: org.coode.owlapi.obo.parser.ParseException: Encountered "</owl" at line 8, column 1.
Was expecting:
    "\n" ...
     (Line 7)
Tried to parse the ontology with the KRSS2OWLParser parser
Failed because: de.uulm.ecs.ai.owlapi.krssparser.ParseException: Encountered " <NAME> "- "" at line 1, column 1.
Was expecting:
    <EOF> 
    
Tried to parse the ontology with the ManchesterOWLSyntaxOntologyParser parser
Failed because: Encountered '-<rdf:RDF xml:base="http://www.co-ode.org/ontologies/pizza/pizza.owl">' at line 1 column 1.  Expected either 'Ontology:' or 'Prefix:' (Line 1)
BUILD SUCCESSFUL (total time: 1 second)

BR,

 
Babar Shahzad Chaudary, 
+358466197288    
Deptt of Information Processing
Science,
University of Oulu, Finland.



      




More information about the p4-feedback mailing list