stardog-admin virtual add Manual Page

NAME


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

SYNOPSIS


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]>...

OPTIONS


-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]
--krb5
Use the Kerberos environment.
--krb5-disable-rdns
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>
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 http://12.34.56.78:5820 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.

EXAMPLES


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

    $ stardog-admin virtual add myGraph.properties

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

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

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

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

Update an already registered virtual graph with the given mappings

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