Create RDF model
put
/database/rdf/networks/{network_owner},{network_name}/models/{model_name}
Creates an RDF model. A client requires SQL Developer or RDF Developer role to invoke this servce.
Request
Path Parameters
-
model_name(required): string
The name of the RDF model.Example:
M1
-
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
-
options: string
Options to use when creating the RDF model
-
tablespace_name: string
The name of the tablespace in which to create the RDF model
Examples
Back to Top
Response
Supported Media Types
- application/json
201 Response
Successful RDF model creation.
Root Schema : ModelDetailSingle
Type:
object
Metadata for a single RDF model.
Show Source
-
column_name: string
the name of the SDO_RDF_TRIPLE_S column in the application table associated with the model (null for schema-private networks)Example:
oracle.doceng.json.BetterJsonNull@5ad1904f
-
inmemory: string
indicates if the model is an in-memory virtual model (T for in-memory, or F for not in-memory)Example:
F
-
links: array
links
-
model_id: string
the ID of the modelExample:
1
-
model_name: string
the name of the modelExample:
M1
-
model_tablespace_name: string
the tablespace used to store model dataExample:
DATA
-
model_type: string
the type of model (M for regular model; V for virtual model; X for model created to store the contents of the semantic index; or D for model created on relational data)Example:
M
-
owner: string
the owner of the modelExample:
M1
-
table_name: string
the name of the application table associated with the model (null for schema-private networks)Example:
oracle.doceng.json.BetterJsonNull@3b83459e
400 Response
RDF model already exists
404 Response
RDF network does not exist