Model-class {redland} | R Documentation |
A Redland Model object
Description
A Model object is used to store the statements (triples) of an RDF model.
Details
A Model may be created manually by creating Statement
and adding
them to the Model using addStatement
, or a Model may be read in from a
previously saved file using parseFileIntoModel
. Once a Model is created,
it can be queried using Query
.
Slots
librdf_model
A redland model object
Methods
Model-initialize
: Initialize a Model object
addStatement
: Add a Statement object to the Model
freeModel
: Free memory used by a librdf model object
See Also
View examples of creating models by viewing the 'redland_overview'
vignette: 'vignette("redland_overview")'
redland
: redland package
Examples
world <- new("World")
storage <- new("Storage", world, "hashes", name="", options="hash-type='memory'")
model <- new("Model", world, storage, options="")
[Package redland version 1.0.17-18 Index]