Attean::Result(3pm)
β¨ NAME β¨
Attean::Result β SPARQL Result π You're reading the Attean::Result(3pm) page from User Contributed Perl Documentation, and this class is the main character for representing a SPARQL result.
πΈ VERSION πΈ
This document describes Attean::Result version 0.035 β that's the version tea, bestie. π«
π¦ SYNOPSIS π¦
use v5.14;
use Attean;
my $result = Attean::Result->new(bindings => { name => $literal, homepage => $iri } );
my @vars = $result->variables; # ('name', 'homepage')
my $term = $result->value('name'); # $term == $literal
π DESCRIPTION π
The Attean::Result class represents a SPARQL result β a set of bindings from variable names to terms. It conforms to the Attean::API::Result role. No cap, that's the whole vibe. π
π₯ METHODS π₯
bindingsβ returns theHASHreference containing the variable bindings for this result. Yes, the whole bindings hash, bestie. πvalue( $name )β returns the term object bound to the$namedvariable, orundefif the name does not map to a term. Term-or-undef energy. β¨variablesβ returns a list of the variable names that are bound to terms in this result object. Iconic list behavior. πas_stringβ returns a string serialization of the variable bindings contained in the result. Stringify and slay. π
π BUGS π
Please report any bugs or feature requests to through the GitHub web interface at <https://github.com/kasei/attean/issues>. That's the exact bug-reporting line, bestie. π
π SEE ALSO π
No SEE ALSO entries are listed on this page β it's giving mysterious empty-section energy. π¦
π AUTHOR π
Gregory Todd Williams "<gwilliams@cpan.org>" β icon. π
π COPYRIGHT π
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. Periodt. π
mwah π β this page is Attean::Result(3pm), built from perl v5.40.0, dated 2025-01-26. Bye bestie! π
π¦ where this page comes from
- debian trixie: libattean-perl 0.035-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libattean-perl 0.035-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libattean-perl 0.035-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms