addStatements: Add a list of triples

Description Usage Arguments Examples

View source: R/statement_funcs.R

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 June 4, 2017, 12:11 a.m.