NAME RDF::LDF - Linked Data Fragments client SYNOPSIS use RDF::LDF ; my $client = RDF::LDF ->new(url => 'http://fragments.dbpedia.org/2014/en'); my $iterator = $client->get_statements($subject, $predicate, $object); while (my $statement = $iterator->()) { # $model is a RDF::Trine::Statement } my $iterator = $client->get_sparql(< SELECT * WHERE { dbpedia:Arthur_Schopenhauer ?predicate ?object . } EOF while (my $binding = $iterator->()) { # $binding is a hashref of all the bindings in the SPARQL } DESCRIPTION The RDF::LDF module is a basic implementation of a Linked Data Fragment client. For details see: . STATUS THIS IS ALPHA CODE! The implementation is unreliable and the interface is subject to change. CONFIGURATION url URL to retrieve RDF from. METHODS get_statements($subject,$predicate,$object) Return an iterator for every RDF::Trine::Statement served by the LDF server. get_sparql($sparql) Return an iterator for everty binding in the SPARQL query. For now the support is very basic. Only select queries are supported without union, sorting or limits with a form like: PREFIX owl: PREFIX xsd: PREFIX rdfs: PREFIX rdf: PREFIX foaf: PREFIX dc: PREFIX : PREFIX dbpedia2: PREFIX dbpedia: PREFIX skos: PREFIX dbo: SELECT * WHERE { ?car . ?car foaf:name ?name . ?car dbo:manufacturer ?man . ?man foaf:name ?manufacturer } AUTHOR Patrick Hochstenbach, "patrick.hochstenbach at ugent.be"