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
- ubuntu resolute: librdf-query-perl 2.919-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: librdf-query-perl 2.919-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms