Closed joeflack4 closed 1 year ago
This isn't an issue with semsql. Your rdf xml is invalid. Unfortunately the error reporting is not helpful. Try Jena validate. See Jim's advice here https://github.com/INCATools/ontology-development-kit/issues/691
@cmungall Thanks Chris, I will give it a look.
There was something near the start of the trace regarding something else erroneous/invalid; I forgot to highlight that. I'm guessing that is probably what's tripping it up.
Overview
I'm trying to get
mondo-ingest
to handle creation ofsemsql
databases, but I get an error towards the end of the conversion.Errors
Here's an example of what happened when I tried to do the conversion for ORDO.
Short err
thread 'main' panicked at 'called ``Result::unwrap()`` on an ``Err`` value: RdfXmlError { kind: Xml(EscapeError(UnrecognizedSymbol(1..4, Ok("xsd")))) }', src/[main.rs](http://main.rs/):102:8
Long err
Below is the relevant part of the overall stacktrace, with
RUST_BACKTRACE=1
. Here is the full stacktrace of the make goal withRUST_BACKTRACE=full
: stacktrace.txtReproducibility
ORDO chosen here arbitrarily.
obolibrary/odkfull
dev
.main
on a clone ofmondo-ingest
, fromsrc/ontology/
, run:docker run -w /work -v PATH/TO/mondo-ingest/src/ontology:/work --rm obolibrary/odkfull:dev semsql make mirror/ordo.db
Additional information
Related: https://github.com/monarch-initiative/mondo-ingest/issues/136
Looks like this error is occurring in
rdftab
, but I'm not sure why.In
mondo-ingest
, this problem happens for the following ontologies:Doesn't happen for these: