stardog-admin virtual add Manual Page


stardog-admin virtual add —Registers a new virtual graph.


stardog-admin [ --krb5 ] [ --krb5-disable-rdns ] [ --server <server url> ]virtual add [ {-d | --database} <db> ] [ {-f | --format} <Mappings format> ] [ {-o | --overwrite} ] [ {-p | --passwd} <password> ] [ {-P | --ask-password} ] [ {-u | --username} <username> ] [ {-v | --verbose} ] [--] <options> <[mappings]>...


-d <db>, --database <db>
The database the virtual graph will be associated with. By default, '*' will be used which means the virtual graph can be accessed from any database.
-f <Mappings format>, --format <Mappings format>
Format of the mappings; one of [STARDOG, R2RML, SMS2]
Use the Kerberos environment.
Disable reverse DNS lookup for Kerberos clients.
-o, --overwrite
If the virtual graph being added already exists, overwrite the existing copy with the new version
-p <password>, --passwd <password>
-P, --ask-password
Prompt for password.
--server <server url>
URL of Stardog Server. If this option isn't specified, it will be read from JVM argument 'stardog.default.cli.server'. If the JVM arg isn't set, the default value 'http://localhost:5820' is used. If server URL has no explicit port value, the default port value '5820' is used. Example: 'stardog-admin --server server stop'
-u <username>, --username <username>
User name.
-v, --verbose
Verbose flag that causes more detailed information to be printed
This option can be used to separate command-line options from the list of argument, (useful when arguments might be mistaken for command-line options
<options> <[mappings]>
The configuration file for the virtual graph and optionally a mappings file. Name of the configuration file without the extension will be the name of the virtual graph.


Register a new virtual graph named 'myGraph' with direct mappings

    $ stardog-admin virtual add

Register a new virtual graph with the mappings written in Stardog mappings syntax

    $ stardog-admin virtual add myGraph.ttl

Register a new virtual graph with the mappings written in standard R2RML Turtle syntax

    $ stardog-admin virtual add --format r2rml myGraph.ttl

Update an already registered virtual graph with the given mappings

    $ stardog-admin virtual add --overwrite myGraph.ttl