
RDF::Trine::Model - Model class

This document describes RDF::Trine::Model version 0.111

new ( @stores )Returns a new model over the supplied rdf store.
add_statement ( $statement [,
$context] )Adds the specified $statement to the rdf store.
remove_statement ( $statement [,
$context])Removes the specified $statement from the rdf store.
remove_statements ( $subject,
$predicate,
$object [,
$context])Removes all statements matching the supplied $statement pattern from the rdf store.
count_statements ($subject,
$predicate,
$object)Returns a count of all the statements matching the specified subject, predicate and objects. Any of the arguments may be undef to match any value.
get_statements ($subject,
$predicate,
$object [,
$context] )Returns a stream object of all statements matching the specified subject, predicate and objects from the rdf store. Any of the arguments may be undef to match any value.
get_pattern ( $bgp [,
$context] )Returns a stream object of all bindings matching the specified graph pattern.
get_contexts
as_streamReturns an iterator object containing every statement in the model.

Gregory Todd Williams <gwilliams@cpan.org>

Copyright (c) 2006-2009 Gregory Todd Williams. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.