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

NAME
RDF::Query::Plan - Executable query plan nodes. VERSION
This document describes RDF::Query::Plan version 2.908. METHODS
"new" "execute ( $execution_context )" "next" "get_all" Returns all remaining rows. "close" "state ( [ $state ] )" Returns the current state of the plan (either READY, OPEN, or CLOSED). If $state is provided, updates the plan to a new state. "logging_keys" "explain" Returns a string serialization of the query plan appropriate for display on the command line. "sse" "serialize" Return a serialization of the query plan. "delegate" Returns the delegate object if available. "referenced_variables" Returns a list of variable names that are referenced by this plan. "as_iterator ( $context )" Returns an RDF::Trine::Iterator object for the current (already executed) plan. "is_update" Returns true if the plan represents an update operation. "label ( $label => $value )" Sets the named $label to $value for this plan object. If no $value is given, returns the current label value, or undef if none exists. "graph_labels" "generate_plans ( $algebra, $execution_context, %args )" Returns a list of equivalent query plan objects for the given algebra object. "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. These identifiers are recognized: * 'A' - An RDF::Query::Algebra object * 'b' - A boolean integer value (0 or 1) * 'E' - An expression (either an RDF::Query::Expression object or an RDF node) * 'i' - An integer * 'J' - A valid Project node (an RDF::Query::Expression object or an Variable node) * 'N' - An RDF node * 'P' - A RDF::Query::Plan object * 'q' - A RDF::Query object * 'Q' - An RDF::Trine::Statement::Quad object * 's' - A string * 'T' - An RDF::Trine::Statement object * 'u' - A valid URI string * 'V' - A variable binding set (an object of type RDF::Query::VariableBindings) * 'w' - A bareword string * 'W' - An RDF node or wildcard ('*') * '*X' - A list of X nodes (where X is another identifier scalar) * 'X' - An array reference of X nodes (where X is another identifier scalar) "plan_node_data" Returns the data for this plan node that corresponds to the values described by the signature returned by "plan_prototype". "subplans_of_type ( $type [, $block] )" Returns a list of Plan objects matching $type (tested with "isa"). If $block is given, then matching stops descending a subtree if the current node is of type $block, continuing matching on other subtrees. This list includes the current plan object if it matches $type, and is generated in infix order. AUTHOR
Gregory Todd Williams <gwilliams@cpan.org> perl v5.14.2 2012-01-31 RDF::Query::Plan(3pm)
Man Page