Graph Selection for Other Triple Types
When loading triples (rather than quads), you can use the following command line options to control the graph into which your triples are loaded:
-output_graph
-output_collections
The following table summarizes the effect of various option combinations when importing triples with mlcp. For quads, see Graph Selection When Loading Quads.
Graph Options |
Description |
---|---|
none |
Load triples into the default graph ( |
|
Load triples into the specified graph. |
|
Load triples into the graph specified as the first (or only) collection; also add triples to any additional collections on the list. |
|
Load triples into the graph specified by |
For more details, see Loading Triples with mlcp in the Semantic Graph Developer’s Guide.
For example, if you use a command similar to the following load triples data:
# Windows users, see Modifying the Example Commands for Windows $ mlcp.sh import -username user -password password -host localhost \ -port 8000 -input_file_path /my/data.nt -mode local \ -input_file_type rdf
Then the table below illustrates how the various graph related options affect how the triples are loaded into the database:
Graph Options |
Result |
---|---|
none |
Graph: |
|
Graph: |
|
Graph: |
|
Graph: |