Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LODE error when using owlapi=true #4

Open
jetschni opened this issue Mar 8, 2016 · 6 comments
Open

LODE error when using owlapi=true #4

jetschni opened this issue Mar 8, 2016 · 6 comments

Comments

@jetschni
Copy link

jetschni commented Mar 8, 2016

Hello

i get the following error when using the parameter owlapi=true
e.g. localhost:9030/lode/extract?owlapi=true&url=https://localhost/test.rdf)

LODE error
Reason: Could not find an ontology storer which can handle the format: org.semanticweb.owlapi.io.RDFXMLOntologyFormat@1b0bc2f

I followed the steps described in readme.md, the examples are working fine.
The rdf file is fine as well, tested with http://www.essepuntato.it/lode/owlapi/http://domain.com/test.rdf

@jetschni jetschni changed the title LODE error when owlapi=true LODE error when using owlapi=true Mar 8, 2016
@essepuntato
Copy link
Owner

Hi Jonas,
would you please provide me with the original source file you used for that, so as to be sure to reproduce your issue locally?

@jetschni
Copy link
Author

Hey Silvio,
thank you very much for your answer.
Of course: https://bmake.th-brandenburg.de/services/odoc/ITCat/SchemaGraph.rdf

For the hosted version it's working fine: http://www.essepuntato.it/lode/owlapi/https://bmake.th-brandenburg.de/services/odoc/ITCat/SchemaGraph.rdf

@jetschni
Copy link
Author

jetschni commented Apr 7, 2016

Hey Silvio,

could you figure out where the problem is?

@essepuntato
Copy link
Owner

Hi @jetschni,

I've investigated a bit few days ago, and it seems that the version of the OWLAPI that is used (by means of running the mvn command) is the last one – which would be dinamically downloaded by maven. However, I have to change this behaviour so as to constrain the use of a specific version, that is the one adopted by the online version of the tool available at http://www.essepuntato.it/lode.

However, I honestly don't have any time in the following days to investigate it further. If you think you can help me with this, just give me a shout!

Have a nice day :-)

S.

@billyk18278
Copy link

FYI
Tried almost all 3.4 and 3.5 versions of
net.sourceforge.owlapi
owlapi-distribution
3.4
still the same problem. Using version 4.x i get exception
java.lang.AbstractMethodError at org.semanticweb.owlapi.io.OWLParserFactoryRegistry.getKey(OWLParserFactoryRegistry.java:176)
any ideas?

@DieterDePaepe
Copy link

Encountering the same problem:

When using the example listed in the README.md: http://localhost:8080/lode/extract?owlapi=true&url=http://www.loa.istc.cnr.it/ontologies/DOLCE-Lite.owl

gives the following error:

LODE error

Reason: Problem parsing http://www.loa.istc.cnr.it/ontologies/DOLCE-Lite.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) KRSSOWLParser 2) OWLFunctionalSyntaxOWLParser 3) KRSS2OWLParser 4) ManchesterOWLSyntaxOntologyParser 5) OWLXMLParser 6) OWLOBOParser Detailed logs: -------------------------------------------------------------------------------- Parser: KRSSOWLParser Encountered " ">" " "" at line 1, column 1. Was expecting: (Line 0) -------------------------------------------------------------------------------- Parser: OWLFunctionalSyntaxOWLParser Encountered " "< "" at line 1, column 1. Was expecting: "Ontology" ... (Line 0) -------------------------------------------------------------------------------- Parser: KRSS2OWLParser de.uulm.ecs.ai.owlapi.krssparser.ParseException: Encountered " ">" " "" at line 1, column 1. Was expecting: -------------------------------------------------------------------------------- Parser: ManchesterOWLSyntaxOntologyParser Encountered '' at line 1 column 1. Expected either 'Ontology:' or 'Prefix:' (Line 1) -------------------------------------------------------------------------------- Parser: OWLXMLParser Attribute not found: IRI (Line 40) -------------------------------------------------------------------------------- Parser: OWLOBOParser org.coode.owlapi.obo.parser.TokenMgrError: Lexical error at line 1, column 22. Encountered: "\n" (10), after : ""

@essepuntato : you mention that maven selects the latest library. That's not true, versions of all libraries are hardcoded in the pom.xml file. If you know which versions are used by the online tool, it's as simply as replacing those versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants