RDF::T...:Union(3pm)
π RDF::Trine::Model::Union β the bestie manual page π
okay so welcome to RDF::Trine::Model::Union(3pm), a page from the User Contributed Perl Documentation, and honestly? it's giving union energy. this is the class you reach for when you've got a bunch of RDF stores and you're like "no bestie, I refuse to choose β I want them ALL."
β¨ NAME β¨
RDF::Trine::Model::Union</purgle> β Union models for joining multiple stores together. fr fr, that's the whole vibe: many stores, one model, slay.
πΈ VERSION πΈ
This document describes RDF::Trine::Model::Union version 1.019. noted. iconic. moving on π
π¦ METHODS π¦
okay so lowkey important: beyond the methods documented below, this class inherits methods from the RDF::Trine::Model class. so don't come for me asking where the other stuff is β it's inherited, iykyk.
new ( @stores )β Returns a new union-model over the list of supplied rdf stores. you hand it your stores, it hands you back the group chat. π«Άadd_statement ( $statement [, $context] )β Adds the specified$statementto the first rdf store. just the first one. not all of them. the first. this is a plot point, remember it. πremove_statement ( $statement [, $context])β Removes the specified$statementfrom all of the rdf stores. every single one. she's thorough. πremove_statements ( $subject, $predicate, $object [, $context])β Removes all statements matching the supplied$statementpattern from all of the rdf stores. again: all of them. no crumbs left.count_statements ($subject, $predicate, $object)β Returns a count of all the statements matching the specified subject, predicate and objects. and here's the cute part: any of the arguments may beundefto match any value. wildcard era. β¨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. same deal as above: any of the arguments may beundefto match any value. stream object bestie, not a plain list, okay? π
π BUGS π
found a bug? a feature request? a whole situation? Please report any bugs or feature requests to through the GitHub web interface at https://github.com/kasei/perlrdf/issues. (yes, the original phrasing says "to through" β I'm not touching that, it's part of the lore π)
π AUTHOR π
Gregory Todd Williams <gwilliams@cpan.org> β the author. the main character. we thank her service. π
π COPYRIGHT π
Copyright (c) 2006-2012 Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. free software, same terms as Perl itself, periodt. β¨
and that's the whole page, bestie!! this was RDF::Trine::Model::Union(3pm) from perl v5.38.2, dated 2024-01-13 β go build a union model and absolutely ate π
ππ¦π
π¦ where this page comes from
- debian trixie: librdf-trine-perl 1.019-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: librdf-trine-perl 1.019-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: librdf-trine-perl 1.019-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: librdf-trine-perl 1.019-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms