RDF::T...:Dydra(3pm)
π RDF::Trine::Store::Dydra π
okay bestie, welcome to the RDF::Trine::Store::Dydra page from the User Contributed Perl Documentation, and no cap, it's a whole vibe. this is the RDF Store proxy for a Dydra endpoint β like, it's the little middleman that lets your RDF::Trine code talk to a remote Dydra instance. iconic behavior honestly π¦
β¨ VERSION β¨
this doc is describing RDF::Trine::Store::Dydra version 1.019. periodt π
π SYNOPSIS π
like, the bare minimum to get started:
use RDF::Trine::Store::Dydra;
that's it. that's the whole synopsis. she's lowkey mysterious but she delivers πΈ
π DESCRIPTION π
so here's the tea: RDF::Trine::Store::Dydra hands you a full RDF::Trine::Store API so you can interact with a remote Dydra endpoint. that's the entire job. she's a proxy, she's professional, she's booked and busy β¨
π METHODS π
okay so beyond everything documented right here, this class also inherits methods from the RDF::Trine::Store class. free real estate, we love to see it π«Ά
π new ( $user, $repo, $token )
returns a brand-new storage object that acts as a proxy for the Dydra endpoint β specifically for the $repo repository belonging to $user, using the API $token you hand her. three little args, one whole connection π
π new_with_config ( $hashref )
returns a new storage object, configured with a hashref whose keys are the arguments. very "give me a lil bundle and I'll handle it" energy π
the storetype key must be Dydra for this backend. no substitutions, no exceptions, that's the rule bestie π
and these keys are also required, not optional:
userβ the Dydra username πtokenβ the Dydra API token πrepoβ the Dydra repository name π¦
π base
returns the service base URI, which defaults to http://dydra.com:80. that's the home base, the main character address π β¨
π new_with_config ( \%config )
returns a new RDF::Trine::Store object based on the configuration hashref you supply. (yes, she's listed twice up in here β same name, and we are NOT editing the original. respect the lore π«‘)
π add_statement ( $statement [, $context] )
adds the specified $statement to the underlying model. put it in, bestie π«
π remove_statement ( $statement [, $context])
removes the specified $statement from the underlying model. bye girl, we hardly knew ye π
π remove_statements ( $subject, $predicate, $object [, $context])
removes the specified $statement from the underlying model. (yes, plural name, singular description β that's what the original says and I am simply the messenger π)
π count_statements ( $subject, $predicate, $object, $context )
returns a count of every statement matching the subject, predicate, object, and context you pass in. and here's the cute part: any of those arguments can be undef to match, like, any value at all. wildcard energy π
π supports ( [ $feature ] )
if you pass $feature, she tells you true if that feature is supported by the store, false otherwise. if you don't pass a feature, she hands you back a whole list of supported features instead. she contains multitudes π
π get_sparql ( $sparql )
returns an iterator object of all the bindings matching the SPARQL query you specified. give her a query, she gives you back a whole iterator, that's the trade π₯
π size
returns the number of statements in the store. the headcount. the census. the ~vibe check~ πβ¨
π nuke
permanently removes the store and its data.
β οΈ bestie. PERMANENTLY. this is not a soft delete, this is not a "whoops undo", this is the full gone-gone. no takebacks, no cap, proceed with main-character-level caution ππ₯
π BUGS π
got a bug? got a feature request? please report it through the GitHub web interface at <https://github.com/kasei/perlrdf/issues>. they're literally waiting for you, go off π«Ά
π AUTHOR π
Gregory Todd Williams β <gwilliams@cpan.org> πΈ
π COPYRIGHT π
Copyright (c) 2006-2012 Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
okay and that's the whole page!! this was generated by perl v5.38.2 and dated 2024-01-13, so if you're reading this in the future just know she was thriving back then too πβ¨ bye bestie, go proxy some RDF π¦π
π¦ where this page comes from
- debian trixie: librdf-trine-perl 1.019-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: librdf-trine-perl 1.019-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: librdf-trine-perl 1.019-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: librdf-trine-perl 1.019-4 Β· 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