ANN: RDF::Query::Client 0.02

Toby Inkster mail at tobyinkster.co.uk
Sat Nov 14 01:42:05 CET 2009


http://search.cpan.org/~tobyink/RDF-Query-Client/

RDF::Query-like interface for remote SPARQL endpoints using SPARQL
Protocol 1.0.

==SYNOPSIS==

  use RDF::Query::Client;
  
  my $query = new RDF::Query::Client ("SELECT * WHERE {?s ?p ?o. ?o ?p ?s.}");
  my $iterator = $query->execute('http://example.com/sparql');
  while (my $row = $iterator->next) {
    print $row->{'s'}->as_string;
  }

-- 
Toby A Inkster
<mailto:mail at tobyinkster.co.uk>
<http://tobyinkster.co.uk>


More information about the Dev mailing list