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::Query::ServiceDescription(3) User Contributed Perl Documentation RDF::Query::ServiceDescription(3)

RDF::Query::ServiceDescription - Class for describing federated query data sources.

This document describes RDF::Query::ServiceDescription version 2.918.

"new ( $service_uri, %data )"
"new_from_uri ( $url )"
Creates a new service description object using the DARQ-style service description data located at $url.
"new_with_model ( $model )"
Creates a new service description object using the DARQ-style service description data loaded in the supplied $model object.
"url"
Returns the endpoint URL of the service.
"size"
Returns the number of triples the service claims to have.
"label"
Returns the label of the service.
"definitive"
Returns true if the endpoint claims to have definitive information.
"capabilities"
Returns an ARRAY reference of capabilities (as HASH references) of the service. Each capability will contain information on size, selectivity, any subject-object filter, and required predicate, with the following classes:

  $capability->{object_selectivity} # RDF::Trine::Node::Literal xsd:double
  $capability->{sofilter} # RDF::Query::Expression
  $capability->{size} # RDF::Trine::Node::Literal xsd:integer
  $capability->{pred} # RDF::Trine::Node::Resource
    
"patterns"
Returns an ARRAY reference of RDF::Query::Algebra::BasicGraphPattern objects representing common patterns used by the endpoint.
"computed_statement_generator"
Returns a closure appropriate for passing to "RDF::Query->add_computed_statement_generator" to generate statement iterators for the remote service.

This closure takes "($query, $bridge, \%bound, $subj, $pred, $obj [, $context ] )" as arguments and returns either "undef" if no statements can be generated given the arguments, or a "RDF::Trine::Iterator::Graph" iterator containing statements matching "$subj, $pred, $obj [, $context ]".

"answers_triple_pattern ( $triple )"
Returns true if the service described by this object can answer queries comprised of the supplied triple pattern.

 Gregory Todd Williams <gwilliams@cpan.org>
2017-01-04 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.