Reasoners: Jena OWL
Service Endpoint /reasoners/owl: Jena OWL
This endpoint expose the Jena OWL reasoner.
List of subresources:
- Classify: @//reasoners/owl/classify: This task infer all rdf:type statements.
- Check: @//reasoners/owl/check: This task checks whether the schema is correctly used.
- Enrich: @//reasoners/owl/enrich: This task materializes all inferences.
This is the description of the REST api exposed by this service.
Each subresource correspond to a different task:
- Classify: @//reasoners/owl/classify: This task infer all rdf:type statements.
- Check: @//reasoners/owl/check: This task checks whether the schema is correctly used.
- Enrich: @//reasoners/owl/enrich: This task materializes all inferences.
Classify
Endpoint: @//reasoners/owl/classify
Request | GET or POST:
|
---|---|
Description | This task infer all rdf:type statements. |
Parameters |
|
Produces |
If run as background job ({service}/job), returns 201 Created, with the header Location: {job-monitoring-url}. The result comes as 200 Ok, if no errors occurred, or 409 Conflict, if the input is not consistent. According to the requested media type, the result can be of type: application/rdf+xml; text/turtle; text/n3; text/html |
Examples:
$ curl "https://enrich.acdh.oeaw.ac.at//reasoners/owl/classify?url=http://xmlns.com/foaf/0.1/"or
curl -X POST -H "Content-type: multipart/form-data" -H "Accept: text/turtle" -F file=@foaf.rdf "https://enrich.acdh.oeaw.ac.at//reasoners/owl/classify"
Check
Endpoint: @//reasoners/owl/check
Request | GET or POST:
|
---|---|
Description | This task checks whether the schema is correctly used. |
Parameters |
|
Produces |
If run as background job ({service}/job), returns 201 Created, with the header Location: {job-monitoring-url}.
|
Examples:
$ curl "https://enrich.acdh.oeaw.ac.at//reasoners/owl/check?url=http://xmlns.com/foaf/0.1/"or
curl -X POST -H "Content-type: multipart/form-data" -H "Accept: text/turtle" -F file=@foaf.rdf "https://enrich.acdh.oeaw.ac.at//reasoners/owl/check"
Enrich
Endpoint: @//reasoners/owl/enrich
Request | GET or POST:
|
---|---|
Description | This task materializes all inferences. |
Parameters |
|
Produces |
If run as background job ({service}/job), returns 201 Created, with the header Location: {job-monitoring-url}. The result comes as 200 Ok, if no errors occurred, or 409 Conflict, if the input is not consistent. According to the requested media type, the result can be of type: application/rdf+xml; text/turtle; text/n3; text/html |
Examples:
$ curl "https://enrich.acdh.oeaw.ac.at//reasoners/owl/enrich?url=http://xmlns.com/foaf/0.1/"or
curl -X POST -H "Content-type: multipart/form-data" -H "Accept: text/turtle" -F file=@foaf.rdf "https://enrich.acdh.oeaw.ac.at//reasoners/owl/enrich"