This application serves as an interface for the RAKI project.
By default the port is set to 9081 and the max file sizes are set to 1GB in src/main/resources/application.properties
.
This endpoint will apply a trained model.
Send a POST request to http://<host>:<port>/verbalize
with the following parameters:
ontology
- an ontology file
axioms
- an axioms file
response
- a file name to store the response
For instance:
ontology="@exampleOntology.owl"
axioms="@exampleAxioms.owl"
response="exampleResponse.json"
curl \
-F ontology=$ontology \
-F axioms=$axioms \
-H "charset=utf-8" \
-o $response \
http://localhost:9081/verbalize
This endpoint will apply a rule-based model.
Send a POST request to http://<host>:<port>/rules
with the same parameters as above.
Gets some information about this application.
Send a GET request to http://<host>:<port>/info
For instance: curl http://localhost:9081/info
will respond with some like
{"version":"0.0.1-SNAPSHOT"}
More information will be added soon.