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

πŸ’… NAME πŸ’…

RDF::Query::Algebra::Update β€” the algebra class for UPDATE operations, bestie ✨


🌸 VERSION 🌸

This doc describes RDF::Query::Algebra::Update version 2.919. Yes, that's the whole version, no notes πŸ’–


πŸŽ€ METHODS πŸŽ€

Okay so before we even get into the list: besides all the methods written out below, this class also inherits methods from the RDF::Query::Algebra class. So if you don't see it here, go check the parent, iykyk πŸ¦‹


new ( $delete_template, $insert_template, $pattern, \%dataset, $data_only_flag )

Returns a brand new UPDATE structure. That's it, that's the vibe πŸ‘‘

  • $delete_template
  • $insert_template
  • $pattern
  • \%dataset
  • $data_only_flag

construct_args

Returns a list of arguments that, when you pass them into this class' constructor, will produce a clone of this algebra pattern. It's giving copy-paste but make it legal 🫢

sse

Returns the SSE string for this algebra expression. Slay πŸ’…

as_sparql

Returns the SPARQL string for this algebra expression. Periodt ✨

referenced_blanks

Returns a list of the blank node names used in this algebra expression. All the anonymous little icons, accounted for πŸŽ€

referenced_variables

No description in the original, bestie β€” the name is doing all the talking here πŸ™ˆ

delete_template

Also no extra blurb in the source. Same energy 🌸

insert_template

Yep, no description given either. We move ⭐

pattern

Still no write-up in the original. Iconic minimalism honestly πŸ’œ

dataset

No description provided. Keeping it mysterious 😭

data_only

No description here either. The lore is thin, the method is real πŸ”₯

check_duplicate_blanks

Returns true if blank nodes respect the SPARQL rule of no blank-label re-use across BGPs. If they don't? It throws a RDF::Query::Error::QueryPatternError exception. So yeah, behave or catch hands πŸ’€

Lowkey important: that's a thrown exception, not a gentle return value. Treat it accordingly, bestie 🚨

πŸ‘‘ AUTHOR πŸ‘‘

Gregory Todd Williams <gwilliams@cpan.org> β€” the main character who wrote this 🫢


This page ships with perl v5.40.1 and it's dated 2025-08-18. Thanks for reading the whole thing, bestie, you ate that fr fr πŸ’–βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from