The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

RDF::Trine::Model::Union - Union models for joining multiple stores together.

VERSION

This document describes RDF::Trine::Model::Union version 0.117

METHODS

new ( @stores )

Returns a new union-model over the list of supplied rdf stores.

add_statement ( $statement [, $context] )

Adds the specified $statement to the first rdf store.

remove_statement ( $statement [, $context])

Removes the specified $statement from all of the rdf stores.

remove_statements ( $subject, $predicate, $object [, $context])

Removes all statements matching the supplied $statement pattern from all of the rdf stores.

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 all of the rdf stores. Any of the arguments may be undef to match any value.

AUTHOR

Gregory Todd Williams <gwilliams@cpan.org>

COPYRIGHT

Copyright (c) 2006-2010 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.