addStatementsFromFile: Add statements from a file

Description Usage Arguments Value Examples

Description

To be added

Usage

1
2
addStatementsFromFile(repository, filepath, baseURI = NULL, context = NULL,
  commitEvery = NULL)

Arguments

repository

Object of type repository specifying server details and repository to work on.

filepath

File that contains your triples

baseURI

...

context

Context to attach to added triples

commitEvery

...

Value

an ag object that says whether or not the push was successful.

Examples

1
2
3
4
5
6
7
## Not run: 
service = createService("localhost","user","password")
rep = repository(catalog(service,"root"),"test")
addStatementsFromFile(rep,
file = 'path/to/file/mytriples.nq')

## End(Not run)

baasman/allegRo documentation built on May 11, 2019, 5:22 p.m.