Reasoners: Jena RDFS
Service Endpoint /reasoners/rdfs: Jena RDFS
This endpoint expose the Jena RDFS reasoner.
List of subresources:
- Classify: @//reasoners/rdfs/classify: This task infer all rdf:type statements.
- Check: @//reasoners/rdfs/check: This task checks whether the schema is correctly used.
- Enrich: @//reasoners/rdfs/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/rdfs/classify: This task infer all rdf:type statements.
- Check: @//reasoners/rdfs/check: This task checks whether the schema is correctly used.
- Enrich: @//reasoners/rdfs/enrich: This task materializes all inferences.
Classify
Endpoint: @//reasoners/rdfs/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/rdfs/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/rdfs/classify"
Check
Endpoint: @//reasoners/rdfs/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/rdfs/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/rdfs/check"
Enrich
Endpoint: @//reasoners/rdfs/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/rdfs/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/rdfs/enrich"