1Attean::RDF(3)        User Contributed Perl Documentation       Attean::RDF(3)
2
3
4

NAME

6       Attean::RDF - Utility package for exporting shorthand functions for
7       constructing RDF objects
8

VERSION

10       This document describes Attean::RDF version 0.033
11

SYNOPSIS

13         use v5.14;
14         use Attean::RDF;
15
16         my $s = blank('b');
17         my $p = iri('http://xmlns.com/foaf/0.1/name');
18         my $o = langliteral("Eve", "en");
19         my $triple = triple($s, $p, $o);
20         say $triple->as_string; # _:b <http://xmlns.com/foaf/0.1/name> "Eve"@en .
21

DESCRIPTION

23       This is a utility package for exporting shorthand functions for
24       constructing RDF objects such as IRIs, Literals, Blanks, Triples, etc.
25

FUNCTIONS

27       All of the functions defined in this package may be exported (and are
28       exported by default).
29
30       "variable( $value )"
31           "Attean::Variable->new($value)"
32
33       "iri( $value )"
34           "Attean::IRI->new($value)"
35
36       "blank( $value )"
37           "Attean::Blank->new($value)"
38
39       "literal( $value )"
40           "Attean::Literal->new($value)"
41
42       "dtliteral( $value, $dt )"
43           "Attean::Literal->new( value => $value, datatype => $dt )"
44
45       "langliteral( $value, $lang )"
46           "Attean::Literal->new( value => $value, language => $lang )"
47
48       "triple( @terms )"
49           "Attean::Triple->new( @terms )"
50
51       "triplepattern( @terms )"
52           "Attean::TriplePattern->new( @terms )"
53
54       "quad( @terms )"
55           "Attean::Quad->new( @terms )"
56
57       "quadpattern( @terms )"
58           "Attean::QuadPattern->new( @terms )"
59
60       "bgp( @triplepatterns )"
61           "Attean::Algebra::BGP->new( triples => \@triplepatterns )"
62

BUGS

64       Please report any bugs or feature requests to through the GitHub web
65       interface at <https://github.com/kasei/attean/issues>.
66

SEE ALSO

68       IRI
69
70       <http://www.ietf.org/rfc/rfc3987.txt>
71

AUTHOR

73       Gregory Todd Williams  "<gwilliams@cpan.org>"
74
76       Copyright (c) 2014--2022 Gregory Todd Williams.  This program is free
77       software; you can redistribute it and/or modify it under the same terms
78       as Perl itself.
79
80
81
82perl v5.36.0                      2022-10-03                    Attean::RDF(3)
Impressum