RDF::QueryX::Lazy(3pm) | User Contributed Perl Documentation | RDF::QueryX::Lazy(3pm) |
RDF::QueryX::Lazy - yeah, all those PREFIX definitions get boring
my $query = RDF::QueryX::Lazy->new(<<SPARQL); SELECT * WHERE { ?person foaf:name ?name . OPTIONAL { ?person foaf:homepage ?page . } } SPARQL
This is a fairly trivial subclass of RDF::Query that auto-defines many prefixes for you, so you can be lazy. It should have most of the common ones in there.
Oh yeah, and if you want, you can pass a key 'lazy' in the RDF::Query %options hash with additional prefix mappings.
Please report any bugs to <http://rt.cpan.org/Dist/Display.html?Queue=RDF-QueryX-Lazy>.
RDF::Query.
Toby Inkster <tobyink@cpan.org>.
This software is copyright (c) 2011 by Toby Inkster.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
2022-06-17 | perl v5.34.0 |