GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
RDF::Trine::Model::Dataset(3) User Contributed Perl Documentation RDF::Trine::Model::Dataset(3)

RDF::Trine::Model::Dataset - Model for SPARQL datasets

This document describes RDF::Trine::Model::Dataset version 1.019

This module's API and functionality should be considered unstable. In the future, this module may change in backwards-incompatible ways, or be removed entirely. If you need functionality that this module provides, please get in touch <http://www.perlrdf.org/>.

Beyond the methods documented below, this class inherits methods from the RDF::Trine::Model class.
"new ( $model )"
Returns a new dataset-model over the supplied model.
"push_dataset ( default => \@graphs, named => \@graphs )"
Creates a new dataset view over the underlying model.
"pop_dataset"
Removes the last pushed dataset view.
"temporary_model"
Returns a new temporary (non-persistent) model.
"add_hashref ( $hashref [, $context] )"
Add triples represented in an RDF/JSON-like manner to the model.
"size"
Returns the number of statements in the model.
"supports ( [ $feature ] )"
If $feature is specified, returns true if the feature is supported by the underlying store, false otherwise. If $feature is not specified, returns a list of supported features.
"count_statements ( $subject, $predicate, $object )"
Returns a count of all the statements matching the specified subject, predicate and objects. Any of the arguments may be undef to match any value.
"add_statement ( $statement [, $context] )"
Adds the specified $statement to the rdf store.
"remove_statement ( $statement [, $context])"
Removes the specified $statement from the rdf store.
"remove_statements ( $subject, $predicate, $object [, $context] )"
Removes all statements matching the supplied $statement pattern from the rdf store.
"get_statements ($subject, $predicate, $object [, $context] )"
Returns an iterator of all statements matching the specified subject, predicate and objects from the rdf store. Any of the arguments may be undef to match any value.

If three or fewer arguments are given, the statements returned will be matched based on triple semantics (the graph union of triples from all the named graphs). If four arguments are given (even if $context is undef), statements will be matched based on quad semantics (the union of all quads in the underlying store).

"get_pattern ( $bgp [, $context] [, %args ] )"
Returns a stream object of all bindings matching the specified graph pattern.
"get_sparql ( $sparql )"
Returns a stream object of all bindings matching the specified graph pattern.
"get_graphs"
"get_contexts"
Returns an iterator containing the nodes representing the named graphs in the model.
"model"
Returns the underlying model object.

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

Gregory Todd Williams "<gwilliams@cpan.org>"

Copyright (c) 2006-2012 Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
2018-01-05 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.