Attean::TripleModel - Online Linux Manual PageSection : 3
Updated : 2021-02-08
Source : perl v5.32.1
Note : User Contributed Perl Documentation
NAMEAttean::TripleModel − RDF model backed by a set of triple−stores
VERSIONThis document describes Attean::TripleModel version 0.030
SYNOPSIS use v5.14;
use Attean;
my $model = Attean::TripleModel−>new( stores => {
'http://example.org/graph1' => $store1,
'http://example.org/graph2' => $store2,
} );
DESCRIPTIONThe Attean::TripleModel class represents a model that is backed by a set of Attean::API::TripleStore objects, identified by an IRI string. It conforms to the Attean::API::Model role. The Attean::TripleModel constructor requires one named argument: stores A hash mapping graph IRI values to Attean::API::TripleStore objects representing the backing triple-store for that graph.
METHODSsize count_quads count_quads_estimate holds get_graphs get_quads ( $subject, $predicate, $object, $graph ) Returns an Attean::API::Iterator for quads in the model that match the supplied $subject, $predicate, $object, and $graph. Any of these terms may be undefined or a Attean::API::Variable object, in which case that term will be considered as a wildcard for the purposes of matching. The returned iterator conforms to both Attean::API::Iterator and Attean::API::QuadIterator. plans_for_algebra( $algebra, $planner, $active_graphs, $default_graphs ) Delegates to an underlying store if the active graph is bound to the store, and the store consumes Attean::API::CostPlanner. cost_for_plan( $plan ) Attempts to delegate to all the underlying stores if that store consumes Attean::API::CostPlanner. add_store( $graph => $store ) Add the Attean::TripleStore $store object to the model using the IRI string value $graph as the graph name. create_graph( $graph ) Create a new Attean::TripleStore and add it to the model using the Attean::API::IRI $graph as the graph name. The store is constructed by using this object's store_constructor attribute: my $store = $self−>store_constructor−>($graph);
drop_graph( $graph ) Removes the store associated with the given $graph. add_quad ( $quad ) Adds the specified $quad to the underlying model. remove_quad ( $quad ) Removes the specified $quad from the underlying store. drop_graph( $graph ) Removes the store associated with the given $graph. clear_graph( $graph ) Removes all quads with the given $graph.
BUGSPlease report any bugs or feature requests to through the GitHub web interface at <https://github.com/kasei/attean/issues>.
SEE ALSO
AUTHORGregory Todd Williams <gwilliams@cpan.org>
COPYRIGHTCopyright (c) 2014−−2020 Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. 0
Johanes Gumabo
Data Size : 12,977 byte
man-Attean::TripleModel.3pmBuild : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 2 / 172,287
Visitor ID : :
Visitor IP : 18.188.137.209 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (parse_manual_page_|249|Attean::TripleModel.3pm|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\|
) (htmlprn|149|Attean::TripleModel.3pm|36/37|.el══─{─══. ds -- — |.el══─{─══. ds -- \|\(em\|
) (parse_manual_page_|249|Attean::TripleModel.3pm|43|br══─}─══|'br══─}─══
) (htmlprn|149|Attean::TripleModel.3pm|43|'br══─}─══ |'br══─}─══
)