Description Usage Arguments Value Examples
Delete statements (triples) by matching against their components. All parameters are optional – when none are given, every statement in the store is deleted. The patterns to match come in pairs for subject, predicate, object, and graph. When given, they should be specified in N-triples notation.
1 2 | deleteStatements(repository, subj = NULL, pred = NULL, obj = NULL,
context = NULL)
|
repository |
Object of type repository specifying server details and repository to work on. |
subj |
valid url |
pred |
valid url |
obj |
valid url |
context |
context of triple |
Return: successful push or not
1 2 3 4 5 6 7 8 9 10 | ## Not run:
service = createService("localhost","user","password")
rep = repository(catalog(service,"root"),"test")
subj = '<www.test.com/tmp#person>'
pred = '<www.test.com/tmp#hasItem>'
obj= '<www.test.com/tmp#sword>'
deleteStatements(rep,
subj = subj,pred = pred,obj = obj)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.