RDF::Q...:Filter(3pm)

πŸ’– RDF::Query::Algebra::Filter β€” the manual, but make it cute πŸ’–

okay bestie, pull up a chair 🫢 you're looking at RDF::Query::Algebra::Filter, a Perl module from the RDF::Query world (the man page header shortens the whole thing to RDF::Q...:Filter(3pm) because apparently even man pages have a character limit, tragic 😭). It's the algebra class for Filter expressions β€” the thing that goes "nah, only keep the solutions that match this condition ✨". She's giving main character energy in your query pipeline, no cap.


🌸 VERSION 🌸

This doc describes RDF::Query::Algebra::Filter version 2.919. Iconic. Locked in. πŸ’…


✨ METHODS ✨

okay so first things first: beyond everything listed down below, this class also inherits methods from the RDF::Query::Algebra class. So if you don't see it here, bestie, go check the parent πŸ‘‘ (iykyk).

  • new ( $expression, $pattern ) β€” hands you back a brand new Filter structure. That's it, that's the vibe. πŸŽ€
  • construct_args β€” returns a list of arguments that, if you pass them to this class' constructor, will produce a clone of this algebra pattern. yes, it's giving "gimme the recipe to remake myself" and honestly? slay. πŸ¦‹
  • expr β€” returns the filter expression. 🌟
  • pattern β€” returns the filter pattern. 🧚
  • sse β€” returns the SSE string for this algebra expression. ✨
  • as_sparql β€” returns the SPARQL string for this algebra expression. πŸ”₯
  • as_hash β€” returns the query as a nested set of plain data structures β€” and by "plain" I mean no objects, bestie, just raw data. πŸ’€
  • as_spin ( $model ) β€” adds statements to the given model to represent this algebra object in the SPARQL Inferencing Notation (that's <http://www.spinrdf.org/> if you wanna peek πŸ‘€). πŸ’œ
  • type β€” returns the type of this algebra expression. πŸŽ€
  • referenced_variables β€” returns a list of the variable names used in this algebra expression. πŸ’–
  • potentially_bound β€” returns a list of the variable names used in this algebra expression that will bind values during execution. lowkey important. 🌈
  • definite_variables β€” returns a list of the variable names that will be bound after evaluating this algebra expression. 🫢
  • is_solution_modifier β€” returns true if this node is a solution modifier. periodt. ⭐

πŸ‘‘ AUTHOR πŸ‘‘

Gregory Todd Williams <gwilliams@cpan.org> β€” thank you for your service, king πŸ™‡β€β™€οΈ


and that's the whole page, bestie!! πŸŽ€ this was RDF::Q...:Filter(3pm) from perl v5.40.1, dated 2025-08-18 β€” yes she's fresh, yes she's thriving πŸ’…βœ¨ go write some filters, you got this πŸ¦‹πŸ’–

πŸ“¦ where this page comes from