NAME
RDF::Query::Model::SQL - A bridge class for interacting with a RDBMS triplestore using the Redland schema.
METHODS
new ( $dbh, $model )-
Returns a new bridge object for the database accessibly with the
$dbhhandle, using the specified$modelname. model-
Returns an ARRAY reference meant for use as an opaque structure representing the underlying RDBMS triplestore.
new_resource ( $uri )-
Returns a new resource object.
new_literal ( $string, $language, $datatype )-
Returns a new literal object.
new_blank ( $identifier )-
Returns a new blank node object.
new_statement ( $s, $p, $o )-
Returns a new statement object.
is_node ( $node )isa_node ( $node )-
Returns true if
$nodeis a node object for the current model. is_resource ( $node )isa_resource ( $node )-
Returns true if
$nodeis a resource object for the current model. is_literal ( $node )isa_literal ( $node )-
Returns true if
$nodeis a literal object for the current model. is_blank ( $node )isa_blank ( $node )-
Returns true if
$nodeis a blank node object for the current model. equals ( $node_a, $node_b )-
Returns true if
$node_aand$node_bare equal as_string ( $node )-
Returns a string version of the node object.
literal_value ( $node )-
Returns the string value of the literal object.
literal_datatype ( $node )-
Returns the datatype of the literal object.
literal_value_language ( $node )-
Returns the language of the literal object.
uri_value ( $node )-
Returns the URI string of the resource object.
blank_identifier ( $node )-
Returns the identifier for the blank node object.
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. 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.
subject ( $statement )-
Returns the subject node of the specified
$statement. predicate ( $statement )-
Returns the predicate node of the specified
$statement. object ( $statement )-
Returns the object node of the specified
$statement. get_statements ($subject, $predicate, $object)-
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.
as_xml ($stream)-
Returns an RDF/XML serialization of the results graph.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 42:
=over without closing =back