Attean::RDF(3pm)
πΈ NAME πΈ
Attean::RDF β Utility package for exporting shorthand functions for constructing RDF objects. Yes bestie, this is the Attean::RDF(3pm) page. π¦
π VERSION π
This document describes Attean::RDF version 0.035. π
β¨ SYNOPSIS β¨
Okay so picture this, but in code:
use v5.14;
use Attean::RDF;
my $s = blank('b');
my $p = iri('http://xmlns.com/foaf/0.1/name');
my $o = langliteral("Eve", "en");
my $triple = triple($s, $p, $o);
say $triple->as_string; # _:b <http://xmlns.com/foaf/0.1/name> "Eve"@en .
π DESCRIPTION π
This is a utility package for exporting shorthand functions for constructing RDF objects such as IRIs, Literals, Blanks, Triples, etc. Itβs giving shorthand central, and honestly? Obsessed. π
π FUNCTIONS π
Every function defined in this package can be exported β and they are exported by default, so no cap, theyβre just there for you. π«Ά
Hereβs the whole roster, no skips:
variable( $value )β this one is literallyAttean::Variable->new($value). β¨iri( $value )β iconic shorthand forAttean::IRI->new($value). πblank( $value )β blank-node vibes:Attean::Blank->new($value). πliteral( $value )β plain literal, slay:Attean::Literal->new($value). πdtliteral( $value, $dt )β datatype-literal moment:Attean::Literal->new( value => $value, datatype => $dt ). π₯langliteral( $value, $lang )β language-tagged literal realness:Attean::Literal->new( value => $value, language => $lang ). πΈtriple( @terms )β triple time:Attean::Triple->new( @terms ). βtriplepattern( @terms )β triple-pattern time:Attean::TriplePattern->new( @terms ). π¦quad( @terms )β quad time:Attean::Quad->new( @terms ). πquadpattern( @terms )β quad-pattern time:Attean::QuadPattern->new( @terms ). πbgp( @triplepatterns )β basic graph pattern energy:Attean::Algebra::BGP->new( triples => \@triplepatterns ). π
π BUGS π
Please report any bugs or feature requests through the GitHub web interface at <https://github.com/kasei/attean/issues>. Thatβs the whole ask, bestie. π
π SEE ALSO π
π AUTHOR π
Gregory Todd Williams "<gwilliams@cpan.org>" β¨
π 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. π
Thatβs the whole Attean::RDF(3pm) manual, bestie β signing off with source/version perl v5.40.0, dated 2025-01-26. Periodt. π
π¦ 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