Learn R Programming

redland (version 1.0.17-9)

Model-class: A Redland Model object

Description

A Model object is used to store the statements (triples) of an RDF model.

Arguments

Slots

librdf_model

A redland model object

Methods

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.

See Also

View examples of creating models by viewing the 'redland_overview' vignette: 'vignette("redland_overview")'

redland: redland package

Examples

Run this code
# NOT RUN {
world <- new("World")
storage <- new("Storage", world, "hashes", name="", options="hash-type='memory'")
model <- new("Model", world, storage, options="")
# }

Run the code above in your browser using DataLab