Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

rdf::query::servicedescription(3pm) [debian man page]

RDF::Query::ServiceDescription(3pm)			User Contributed Perl Documentation		       RDF::Query::ServiceDescription(3pm)

NAME
RDF::Query::ServiceDescription - Class for describing federated query data sources. VERSION
This document describes RDF::Query::ServiceDescription version 2.908. METHODS
"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. AUTHOR
Gregory Todd Williams <gwilliams@cpan.org> perl v5.14.2 2012-01-31 RDF::Query::ServiceDescription(3pm)

Check Out this Related Man Page

RDF::Query::Plan::Service(3pm)				User Contributed Perl Documentation			    RDF::Query::Plan::Service(3pm)

NAME
RDF::Query::Plan::Service - Executable query plan for remote SPARQL queries. VERSION
This document describes RDF::Query::Plan::Service version 2.908. METHODS
Beyond the methods documented below, this class inherits methods from the RDF::Query::Plan class. "new ( $endpoint, $plan, $silent, $sparql, [ \%logging_keys ] )" Returns a new SERVICE (remote endpoint call) query plan object. "<$endpoint"> is the URL of the endpoint (as a node object). "<$plan"> is the query plan representing the query to be sent to the remote endpoint (needed for cost estimates). "<$sparql"> is the serialized SPARQL query to be sent to the remote endpoint. Finally, if present, "<%logging_keys"> is a HASH containing the keys to use in logging the execution of this plan. Valid HASH keys are: * bf - The bound/free string representing C<<$plan>> "new_from_plan ( $endpoint, $plan, $context )" Returns a new SERVICE query plan object. "<$endpoint"> is the URL of the endpoint (as a string). "<$plan"> is the query plan representing the query to be sent to the remote endpoint. The exact SPARQL serialization that will be used is obtained by getting the originating RDF::Query::Algebra object from "<$plan">, and serializing it (with the aid of the RDF::Query::ExecutionContext object "<$context">). "execute ( $execution_context )" "next" "close" "endpoint" "sparql" Returns the SPARQL query (as a string) that will be sent to the remote endpoint. "lhs" "silent" Returns a boolean value indicating whether the service plan will ignore errors. "pattern" Returns the query plan that will be used in the remote service call. "distinct" Returns true if the pattern is guaranteed to return distinct results. "ordered" Returns true if the pattern is guaranteed to return ordered results. "plan_node_name" Returns the string name of this plan node, suitable for use in serialization. "plan_prototype" Returns a list of scalar identifiers for the type of the content (children) nodes of this plan node. See RDF::Query::Plan for a list of the allowable identifiers. "plan_node_data" Returns the data for this plan node that corresponds to the values described by the signature returned by "plan_prototype". "graph ( $g )" "explain" Returns a string serialization of the query plan appropriate for display on the command line. AUTHOR
Gregory Todd Williams <gwilliams@cpan.org> perl v5.14.2 2012-01-31 RDF::Query::Plan::Service(3pm)
Man Page