RDF::Q...X::Lazy(3pm)
π RDF::Q...X::Lazy(3pm) π
ok bestie, welcome to RDF::QueryX::Lazy β the Perl module that exists purely because typing out all your PREFIX lines is so boring. this is the User Contributed Perl Documentation page for it, and yes, it's a real module, and yes, it slays.
β¨ NAME β¨
RDF::QueryX::Lazy β yeah, all those PREFIX definitions get boring π₯±π
πΈ SYNOPSIS πΈ
like, look how chill this is:
my $query = RDF::QueryX::Lazy->new(<<SPARQL);
SELECT *
WHERE {
?person foaf:name ?name .
OPTIONAL { ?person foaf:homepage ?page . }
}
SPARQL
no PREFIX foaf: <...> spam. no nothing. just vibes. π¦
π DESCRIPTION π
okay so here's the tea β β this is a fairly trivial subclass of RDF::Query that auto-defines a bunch of prefixes for you, specifically so you can be lazy. which, honestly? iconic behaviour. and it should have most of the common ones in there already, so you're probably covered. π«Ά
oh yeah, and if you want, you can pass a key 'lazy' in the RDF::Query %options hash with additional prefix mappings. extra prefixes? in this economy? yes pls. β¨
π BUGS π
found a bug? π no worries bestie, please report any bugs to <http://rt.cpan.org/Dist/Display.html?Queue=RDF-QueryX-Lazy>.
it's giving "responsible open-source citizen", and we love that for you π
π SEE ALSO π
RDF::Queryβ the parent class, the blueprint, the moment. π
π AUTHOR π
Toby Inkster <tobyink@cpan.org>.
π COPYRIGHT AND LICENCE π
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. periodt. π
π DISCLAIMER OF WARRANTIES π
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.
(translation: no cap, use at your own risk, it's literally the standard Perl disclaimer, nothing sketchy, just legally required to say it loud. π«Ά)
and that's the whole page, bestie! π this one's from perl v5.34.0, dated 2022-06-17, and the module itself is RDF::Q...X::Lazy β go forth and be lazy, you've earned it. π
β¨π
π¦ where this page comes from
- debian bookworm: librdf-queryx-lazy-perl 0.003-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: librdf-queryx-lazy-perl 0.003-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms