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

πŸ’– RDF::Query::Algebra::Service β€” bestie edition πŸ’–

okay so this is a page from the User Contributed Perl Documentation, and it's all about RDF::Query::Algebra::Service β€” the manual page you're looking at is RDF::Q...ervice(3pm) (they truncated it, tragic, but she's fine). This class is the algebra class for SERVICE (federation) patterns. group chat for your SPARQL queries, basically. 🌐✨


✨ NAME ✨

RDF::Query::Algebra::Service β€” the Algebra class for SERVICE (federation) patterns. 🫢


🌸 VERSION 🌸

This document describes RDF::Query::Algebra::Service version 2.919. that's the one, no cap. πŸ“Œ


πŸ’… METHODS πŸ’…

so beyond the methods we're about to spill below, this class inherits methods from the RDF::Query::Algebra class. she's got family. 🧬

  • new ( $endpoint, $pattern, $silent ) β€” returns a brand new Service structure. fresh out the box. ✨
  • construct_args β€” returns a list of arguments that, if you pass them to this class' constructor, will produce a clone of this algebra pattern. it's giving photocopier energy. πŸ–¨οΈ
  • endpoint β€” returns the endpoint resource of the named graph expression. πŸ“
  • pattern β€” returns the graph pattern of the named graph expression. 🧩
  • silent β€” returns true if the service operation is to ignore errors during execution. live laugh let the errors go 🫣
  • lhs β€” if the SERVCE operation uses a variable endpoint, then it gets treated like a binary operator: it executes the left-hand-side pattern first, and uses the results from it to bind endpoint URL values that get used in SERVICE evaluation. (also yes, the original says "SERVCE" β€” iconic typo, we're keeping it, she's part of the lore now πŸ’€) πŸ”—
  • 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 we mean no objects, bestie, just data. πŸ“
  • type β€” returns the type of this algebra expression. what's her vibe? this tells you. πŸ”
  • 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. maybe-bound, potentially iconic. πŸ’«
  • definite_variables β€” returns a list of the variable names that will be bound after evaluating this algebra expression. no maybes here, this is a commitment. πŸ‘‘
  • qualify_uris ( \%namespaces, $base_uri ) β€” returns a new algebra pattern where all referenced Resource nodes that represent QNames (ns:local) get qualified using the supplied %namespaces. glow-up for your URIs, periodt. 🌈

πŸ‘‘ AUTHOR πŸ‘‘

Gregory Todd Williams <gwilliams@cpan.org> πŸ’œ


friendly reminder bestie: every flag, value, default, path and code snippet in here is copy-pasted-with-love straight from the real page β€” the vibe is mine, the facts are hers. 🫢

and that's the whole page!! this one's perl v5.40.1, dated 2025-08-18 β€” take care of her, she's doing federation work out here. bye bestie, go slay some SERVICE patterns for me πŸŒΈπŸ’–βœ¨

πŸ“¦ where this page comes from