Table of Contents
ts-remove - remove data from a 3store RDF knowledge-base
ts-remove
[-h] [-u <user>] [-p <passwd>] [-d <db>] [-r <host>] [-a] [-v] [-f] [<model>+]
This
command removes one or more RDF documents from a 3store knowledge-base,
or erases an entire knowledge-base.
- -h, --help
- Show brief help message.
- -u, --username
- Set the username for the connection to the knowledge-base. This
is optional, if it is not given a default will be used, generally 'rdf' unless
it was changed at build time.
- -p, --password
- Set the password for the connection
to the knowledge-base. This is optional, if it is not given a default will
be used, generally 'rdf' unless it was changed at build time.
- -d, --database
- Set the database name used for the connection to the knowledge-base. If this
parameter is not specified the default will be used.
- -r, --remote
- Give a remote
host to connect to. If not given it will use the local machine.
- -a, --all
- Remove
all data from the knowledge-base. Requires the --force option.
- -f, --force
- Used
with --all to allow it to run.
- <model>+
- A list of models to be removed.
ts-model
http://example.org/foaf
- -
- Remove all data from the http://example.org/foaf
model.
- ts-import -d test --all --force
- -
- Remove all the data from the `test' knowledge-base.
ts-setup(1)
, ts-import(1)
, ts-query(1)
, ts-util(1)
and ts-explain(1)
Table of Contents