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

Error in processing SIO #150

Open
micheldumontier opened this issue Nov 5, 2020 · 1 comment
Open

Error in processing SIO #150

micheldumontier opened this issue Nov 5, 2020 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@micheldumontier
Copy link

micheldumontier commented Nov 5, 2020

Hi,
I tried to use this with SIO (http://semanticscience.org/ontology/sio.owl), but it fails with these messages

 java  -jar oba-3.5.1-jar-with-dependencies.jar -c sio.config.yaml

 [main] WARN org.semanticweb.owlapi.util.SAXParsers - http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit not supported by parser type org.apache.xerces.jaxp.SAXParserImpl, error message: Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not recognized.
 [main] WARN org.semanticweb.owlapi.util.SAXParsers - entityExpansionLimit not supported by parser type org.apache.xerces.jaxp.SAXParserImpl, error message: Property 'entityExpansionLimit' is not recognized.
 [main] INFO org.semanticweb.owlapi.rdf.rdfxml.parser.AbstractState - Notice: root element does not have an xml:base. Relative IRIs will be resolved against file:/C:/code/oba/outputs/sio/ontology0.owl
 [main] INFO org.semanticweb.owlapi.rdf.rdfxml.parser.OWLRDFConsumer - Unparsed triple: http://purl.org/dc/elements/1.1/identifier -> _:genid-nodeid-arc67d7b1023 -> ":arc67d7b1023"^^xsd:string

 ...
 Exception in thread "main" java.lang.NullPointerException
    at edu.isi.oba.Mapper.add_owlclass_to_openapi(Mapper.java:157)
    at edu.isi.oba.Mapper.createSchemas(Mapper.java:128)
    at edu.isi.oba.Oba.main(Oba.java:69)

`

@dgarijo
Copy link
Contributor

dgarijo commented Nov 5, 2020

Hmm, this ontology is a little tricky. OBA may be confused because we usually expect the properties to be defined with proper domain and range, not using the "some" axiom. However, it should work, so I will look this up. Thanks for the pointer!

@dgarijo dgarijo added the bug Something isn't working label Nov 5, 2020
@dgarijo dgarijo added this to the OBA 3.6.0 milestone Nov 9, 2020
@dgarijo dgarijo modified the milestones: OBA 3.6.0, OBA 3.7.0 Feb 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants