RDF::Query::Federate(3pm) User Contributed Perl Documentation RDF::Query::Federate(3pm)NAME
RDF::Query::Federate - A subclass of RDF::Query for efficient federated query execution.
VERSION
This document describes RDF::Query::Federate version 2.908.
SYNOPSIS
my $service = RDF::Query::ServiceDescription->new( $url );
my $query = new RDF::Query::Federate ( $sparql );
$query->add_service( $service );
my $stream = $query->execute();
DESCRIPTION
...
METHODS
"new ( $query, \%options )"
"new ( $query, $base_uri, $languri, $lang )"
Returns a new RDF::Query::Federate object for the specified $query. The query language defaults to SPARQLP, but may be set
specifically by specifying either $languri or $lang, whose acceptable values are:
$lang: 'rdql', 'sparql11', or 'sparql'
$languri: 'http://www.w3.org/TR/rdf-sparql-query/', or 'http://jena.hpl.hp.com/2003/07/query/RDQL'
"add_service ( $service_description )"
Adds the service described by $service_description to the query's list of data sources.
"services"
"algebra_fixup ( $algebra, $bridge, $base_uri, $ns )"
Called in the fixup method of ::Algebra classes, returns either an optimized ::Algebra object ready for execution, or undef (in which
case it will be prepared for execution by the ::Algebra::* class itself.
AUTHOR
Gregory Todd Williams <gwilliams@cpan.org>
perl v5.14.2 2012-01-31 RDF::Query::Federate(3pm)
Check Out this Related Man Page
RDF::Query::Algebra::Quad(3pm) User Contributed Perl Documentation RDF::Query::Algebra::Quad(3pm)NAME
RDF::Query::Algebra::Quad - Algebra class for Quad patterns
VERSION
This document describes RDF::Query::Algebra::Quad version 2.908.
METHODS
Beyond the methods documented below, this class inherits methods from the RDF::Query::Algebra class.
"new ( $s, $p, $o, $g )"
Returns a new Quad structure.
"as_sparql"
Returns the SPARQL string for this algebra expression.
"as_hash"
Returns the query as a nested set of plain data structures (no objects).
"referenced_blanks"
Returns a list of the blank node names used in this algebra expression.
"qualify_uris ( \%namespaces, $base_uri )"
Returns a new algebra pattern where all referenced Resource nodes representing QNames (ns:local) are qualified using the supplied
%namespaces.
"bf ()"
Returns a string representing the state of the nodes of the triple (bound or free).
"distinguish_bnode_variables"
Returns a new Quad object with blank nodes replaced by distinguished variables.
"label ( $label => $value )"
Sets the named $label to $value for this quad object. If no $value is given, returns the current label value, or undef if none exists.
AUTHOR
Gregory Todd Williams <gwilliams@cpan.org>
perl v5.14.2 2012-01-31 RDF::Query::Algebra::Quad(3pm)
I have to assign a result of a query to a vairable like this
how can i do this
Query = select count(*) from table
x=`db2 ${Query}| sed -n '4p'`
but this doesn't work, is there any other way to assign the result without redirecting the result to temp file. .
Thanks
Mark. (3 Replies)
I have a report I need to format into a nice looking fixed length for each column of output
The report looks like this
1. First Query Title
First Query syntax (select * from tablea)
column1a ,column2a
ROWDATA.......
ROWDATA.......
ROWDATA ......
2. Second Query Title
... (3 Replies)
Query 1 : How to check if a directory already exists? If doesn't exist then
create a new one.
Query 2 : I want to put following text using a single echo statement into a
log file and also want to retain the formatting of the text. How it
can be... (3 Replies)
Hi,
If i give a number say "1234" the output of mysql query should be:
one thousand and twenty four
How to write mysql query for this?
With regards
Vanitha (5 Replies)
Hello,
I am very new to shell scripting and I am not sure of how best to handle the following scenario. I need to query a list of values from a table. I need to store those results and use them to selectively delete values in yet another table in a separate database. I do know how to store the... (3 Replies)
I have a query regard the opening of the file. Suppose I have opened the file
Let's say view filename
And then I found that I have to do some changes in that, but I do not want to close the file
Then how I can change the permission of the file from read mode to write mode
Regards
Adi (6 Replies)
Hi,
Is there a command I can use to query the user Via IP address on a Mac.
I'd Like to be able to query an IP address and have it return the current user logged on.
There are lots of Local commands like 'last' and 'who' but I need a command i can run remotely preferably without having to... (5 Replies)
I have tried executing one particular query through perl.But I am unable to get the result. When I tried to execute the sysdate query its working when I executed my perl code.
The below query doesn't work.
QUERY 1:my $sql ="select name from tab where rownum <6";
Received ora error... (23 Replies)
Hi I am trying to run a MYSQL query to display all records within a 12 month period. I have to use from_unixtime function to great a date object.
select call_start_time from call_detail_records
where call_start_time IN (
select from_unixtime(call_start_time) from call_detail_records
... (3 Replies)
I am using DB2 v9 and trying to get country values in comma seperated format using below query
SELECT distinct LISTAGG(COUNTRIES, ',') WITHIN GROUP(ORDER BY EMPLOYEE)
FROM LOCATION ;
Output Achieved
MEXICO,UNITED STATES,INDIA,JAPAN,UNITED KINGDOM,MEXICO,UNITED STATES
The table... (4 Replies)