Attean...leStore(3pm)

πŸ’– NAME πŸ’–

AtteanX::Store::SimpleTripleStore β€” okay so bestie, this is a SimpleTripleStore: an unindexed, in-memory RDF store. That's the whole vibe. No cap. ✨

(This is the User Contributed Perl Documentation page for it, iykyk πŸŽ€)


πŸ¦‹ VERSION πŸ¦‹

This document describes AtteanX::Store::SimpleTripleStore version 0.035. Slay. πŸ’…


🌸 SYNOPSIS 🌸

 use AtteanX::Store::SimpleTripleStore;

Literally that's it, one line, that's the whole entrance. πŸ‘‘


⭐ DESCRIPTION ⭐

AtteanX::Store::SimpleTripleStore provides an in-memory triple-store. It lives in your RAM, it's unindexed, it's giving low-maintenance main character energy, and honestly? Obsessed. 🫢


πŸ”₯ METHODS πŸ”₯

Beyond the methods documented below, this class inherits methods from the Attean::API::QuadStore class. So it's not doing everything alone β€” it's got ancestors, it's got a support system, we love that for it. πŸ’œ

  • new ( triples => \@triples ) β€” Returns a new memory-backed storage object. You hand it a triples arrayref, it hands you a store. Mutually beneficial arrangement, fr fr. ✨
  • get_triples ( $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 β€” so undef is the "idk pick whatever" wildcard, iconic behavior honestly. 🌈
  • add_triple( $t ) β€” adds a triple. πŸ“
  • remove_triple( $t ) β€” removes a triple. Balance is restored. 🧚
πŸ’€ Real talk for a sec: this store is unindexed and in-memory. That's not a bug, that's the entire concept β€” but it does mean this isn't the store you reach for when your dataset is enormous. Vibe check your data size first, bestie.

πŸ™ˆ BUGS πŸ™ˆ

Please report any bugs or feature requests to through the GitHub web interface at https://github.com/kasei/perlrdf2/issues.

(Yes, the original says "to through" β€” I'm not fixing it, I'm not a snitch, and I refuse to invent grammar that isn't there. πŸ’€) Go report your bugs, they'll be received with love.


πŸ‘‘ AUTHOR πŸ‘‘

Gregory Todd Williams "gwilliams@cpan.org" 🌟


Copyright (c) 2014--2022 Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. 🫢


✨ and that's the whole page, bestie ✨ β€” brought to you by the User Contributed Perl Documentation, running on perl v5.40.0, dated 2025-01-26. Mwah. πŸ’…πŸ’–

πŸ“¦ where this page comes from