ISWC-Reproducibility-Track / Paper_607

0 stars 0 forks source link

Problem with dbpedia_music and #6

Open essepuntato opened 4 years ago

essepuntato commented 4 years ago

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.

Schermata 2020-10-23 alle 16 51 31

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:

docker run -p 8080:8080 -v $PWD/openapi_server/openapi/:/usr/src/app/openapi_server/openapi/ openapi_mc

and I got the following:

Schermata 2020-10-23 alle 16 57 50

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?

dgarijo commented 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).

essepuntato commented 4 years ago

@dgarijo

Just tried DBPedia music, and now works correctly thanks!