Open essepuntato opened 4 years ago
@essepuntato, for the first error, we updated the examples folder, we don't use the gist anymore, now we have a file: https://github.com/KnowledgeCaptureAndDiscovery/OBA/blob/master/examples/dbpedia/ontology.xml Please update the repo to use the following file: https://github.com/KnowledgeCaptureAndDiscovery/OBA/blob/master/examples/dbpedia/config_music.yaml
For the second example, here is what happens: Before the server starts, the openAPI server we are using validates the full API. We have added a few things to the model catalog ontology and now it has circular references, which the validator does not like a lot. I need to work on an updated example while we fix this issue (currently working on a solution).
@dgarijo
Just tried DBPedia music, and now works correctly thanks!
With dbpedia_music, I had an issue using the jar provided (see following screeshot) - it seems that the ontology is not available in the URL specified in the YAML cofiguration file included in the example. I can change it without any problem, but I need an URL where the related ontology is downloadable.
With modelcatalog, I was able to generate the server (using
generate-server.sh
), I created the Docker image (docker build -t openapi_mc .
) and then I tried to run the docker as follows:and I got the following:
No HTTP server will be run – it seems it freezes.
I also try the whole process with opmw as well, and everything worked correctly in that case (only an issue in the path of the ontology in the initial YAML config file, which had backslashes typical of Windows that did not work on Mac, but easily fixed).
Any idea how to address the previous issues with dbpedia_music and modelcatalog?