RDF::T...:Union(3pm)

πŸ“¦
version 1.019 Β· 7 versions
, in debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– 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 $statement to 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 $statement from all of the rdf stores. every single one. she's thorough. 😭
  • remove_statements ( $subject, $predicate, $object [, $context]) β€” Removes all statements matching the supplied $statement pattern 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 be undef to 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 be undef to 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 (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