| Attean::SPARQLClient(3pm) | User Contributed Perl Documentation | Attean::SPARQLClient(3pm) |
Attean::SPARQLClient - RDF blank nodes
This document describes Attean::SPARQLClient version 0.033
use v5.14;
use Attean;
my $client = Attean::SPARQLClient->new(endpoint => 'http://example.org/sparql');
my $results = $client->query('SELECT * WHERE { ?s ?p ?o }');
while (my $r = $results->next) {
say $r->as_string;
}
The Attean::SPARQLClient class provides an API to execute SPARQL queries against a remote SPARQL Protocol endpoint.
The following attributes exist:
Please report any bugs or feature requests to through the GitHub web interface at <https://github.com/kasei/attean/issues>.
SPARQL 1.1 Protocol <https://www.w3.org/TR/sparql11-protocol/>
Gregory Todd Williams "<gwilliams@cpan.org>"
Copyright (c) 2014--2022 Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| 2022-10-06 | perl v5.36.0 |