Skip to contents

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

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="")