addStatements: Add a list of triples

Description Usage Arguments Examples

Description

Add a list of triples

Usage

1

Arguments

repository

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

quads

A list of character vectors, where each vector representes a triples and has 4 elements. The graph component can be NULL or ""

Examples

1
2
3
4
5
6
7
8
## Not run: 
service = createService("localhost","user","password")
rep = repository(catalog(service,"root"),"test")
triples = list(c("<a>","<b>","<c>","<g1>"),
               c("<a>","<b>","<c>","<g2>"))
addStatements(rep,triples)

## End(Not run)

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