Create entailment
put
/database/rdf/networks/{network_owner},{network_name}/entailments/{entailment_name}
Creates an entailment. A client requires SQL Developer or RDF Developer role to invoke this servce.
Request
Path Parameters
-
entailment_name(required): string
The name of the entailment.Example:
M1OWL
-
network_name(required): string
The name of the RDF network.Example:
NET1
-
network_owner(required): string
The owner of the RDF network.Example:
RDFUSER
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
inf_components: array
inf_components
List of keywords representing inference components, for performing selective or component-based inferencing (the default is all components defined by the included rulebases)
-
models(required): array
models
List of models to use for the entailment
-
options: string
A comma-delimited string of options to control the inference process by overriding the default inference behavior
-
rulebases(required): array
rulebases
List of rulebases to use for the entailment
Nested Schema : inf_components
Type:
array
List of keywords representing inference components, for performing selective or component-based inferencing (the default is all components defined by the included rulebases)
Show Source
Nested Schema : rulebases
Type:
array
List of rulebases to use for the entailment
Show Source
-
Array of:
string
Example:
OWLPRIME
Examples
Back to Top
Response
Supported Media Types
- application/json
201 Response
Successful entailment creation.
Root Schema : EntailmentDetailSingle
Type:
object
This object represents metadata about an RDF entailment.
Show Source
-
datasets: string
a comma-delimited list of the names of models and rulebases used to build the entailmentExample:
MODEL M1, RULEBASE OWLPRIME
-
index_name: string
the name of the entailmentExample:
M1OWL
-
index_view_name: string
the name of the database view that contains the entailed triplesExample:
NET1#RDFI_M1OWL
-
links: array
links
-
model_count: string
the number of models used to build the entailmentExample:
1
-
owner: string
the owner of the entailmentExample:
RDFUSER
-
rulebase_count: string
the number of rulebases used to build the entailmentExample:
1
-
status: string
the status of the entailment (VALID if the entailment is valid, INVALID if the entailment is not valid, INCOMPLETE if the entailment is incomplete - similar to INVALID but requiring less time to re-create, INPROGRESS if the entailment is being created, or FAILED if a system failure occurred during the creation of the entailment)Example:
VALID
400 Response
A valid entailment already exists with the same name or with the same model-rulebase combination
404 Response
RDF network does not exist or one of the referenced models or rulebases does not exist