redlModel-class {Rredland}R Documentation

Class "redlModel" represents librdf model in Redland RDF library

Description

represents librdf model in Redland RDF library

Objects from the Class

Objects can be created by calls of the form new("redlModel", ...). They encapsulate the reference to the librdf model object in Redland RDF library.

Slots

ref:
Object of class "externalptr" pointer to malloc'd model space.
storagetype:
Object of class "character" can be "bdb" or "internal"
stateEnv:
Object of class "environment" used to indicate whether model is open or not
world:
Object of class "redlWorld", the world object in which the model or URI was constructed
URIstring:
(for redlURI: string in use as URI

Methods

coerce
signature(from = "redlModel", to = "data.frame"): simple transformation to 3-column dataframe (subject, predicate, object)
coerce
signature(from = "redlModel", to = "graphNEL"): ...
freeRedl
signature(x = "redlModel"): call the librdf close method; kills the model.
getStatus
signature(x = "redlModel"): determine if a model object is open from the perspective of R
ref
signature(x = "redlModel"): extract the externalptr
setStatus
signature(x = "redlModel"): set a status flag in the R container for the model object
show
signature(object = "redlModel"): simple report
size
signature(x = "redlModel"): tell the number of statements in the model

Author(s)

VJ Carey <stvjc@channing.harvard.edu>

Examples

example(makeRedlURI)
x = readRDF( uu )
ref(x)
size(x)
getStatus(x)
freeRedl(x)
getStatus(x)
x

[Package Rredland version 1.8.0 Index]