NAME
RDF::Query::Model::RDFCore - An RDF::Query::Model backend for interfacing with an RDF::Core model.
VERSION
This document describes RDF::Query::Model::RDFCore version 2.201, released 30 January 2010.
METHODS
new ( $model )-
Returns a new bridge object for the specified
$model. meta ()-
Returns a hash reference with information (class names) about the underlying backend. The keys of this hash are 'class', 'model', 'statement', 'node', 'resource', 'literal', and 'blank'.
'class' is the name of the bridge class. All other keys refer to backend classes. For example, 'node' is the backend superclass of all node objects (literals, resources and blanks).
model ()-
Returns the underlying model object.
equals ( $nodea, $nodeb )-
Returns true if the two nodes are equal, false otherwise.
add_uri ( $uri, $named )-
Addsd the contents of the specified
$urito the model. If$namedis true, the data is added to the model using$urias the named context. add_string ( $data, $base_uri, $named, $format )-
Addsd the contents of
$datato the model. If$namedis true, the data is added to the model using$base_urias the named context. statement_method_map ()-
Returns an ordered list of method names that when called against a statement object will return the subject, predicate, and object objects, respectively.
_get_statements ($subject, $predicate, $object [, $context])-
Returns a stream object of all statements matching the specified subject, predicate and objects. Any of the arguments may be undef to match any value.
_get_named_statements ( $subject, $predicate, $object, $context )-
Returns a stream object of all statements matching the specified subject, predicate, object and context. Any of the arguments may be undef to match any value.
add_statement ( $statement )-
Adds the specified
$statementto the underlying model. remove_statement ( $statement )-
Removes the specified
$statementfrom the underlying model. supports ($feature)-
Returns true if the underlying model supports the named
$feature. Possible features include:* named_graph * xml as_xml ($stream)-
Returns an RDF/XML serialization of the results graph.
debug-
Prints debugging information about the model (including all statements in the model) to STDERR.