Attean...ndpoint(3pm)
π AtteanX::Endpoint β the whole vibe π
okay so bestie, welcome to the AtteanX::Endpoint page π this lil cutie lives in the User Contributed Perl Documentation section of your friendly neighborhood manual, and it is so ready to spill the tea about SPARQL endpoints. grab a snack, we're doing this β¨
β¨ NAME β¨
AtteanX::Endpoint β SPARQL 1.1 Protocol Endpoint π
like. it's an endpoint. for the SPARQL 1.1 protocol. that's the whole name, no notes, iconic π
πΈ VERSION πΈ
this page is describing AtteanX::Endpoint version 0.002 π«Ά
π¦ SYNOPSIS π¦
the way you literally just do this and you're in:
use v5.14;
use Attean;
periodt. that's it. two lines. slay β¨
π DESCRIPTION π
okay so the AtteanX::Endpoint class implements a PSGI SPARQL Protocol endpoint π§ no cap, that's the whole deal β it's the class that gives you an endpoint, PSGI flavored, speaking SPARQL Protocol. obsessed fr fr π
π ATTRIBUTES π
planner
yep. that's the attribute. that's all the doc says about it π it's there, it exists, it's doing its thing, and the docs are respectfully letting it have its privacy π
model
same energy bestie β this one's listed too, and the page doesn't elaborate. main character energy that says nothing and still gets a spot on the list π
conf
THIS one has lore π it's a hash reference holding configuration data for the endpoint. like, the config lives here. for example:
{
endpoint => {
service_description => {
named_graphs => 1,
default => 1,
},
html => {
embed_images => 1,
image_width => 200,
resource_links => 1,
},
load_data => 0,
update => 0,
}
}
look at that structure. look at it. named_graphs and default hanging out under service_description, embed_images, image_width and resource_links doing their thing under html, and load_data + update sitting at the bottom like the chill ones πΈ
graph
this one is the Attean::API::IRI of the graph in the model that represents the default graph β so like, when someone asks for the default graph, this is the IRI that answers. iykyk β¨
π₯ METHODS π₯
run ( $request )
run the SPARQL request contained in the given $request object, and hand back a response object π« that's the move. request goes in, response comes out, no drama, we love a clean interface π«Ά
log_query ( $request, $sparql )
this one logs the $sparql query string β and the timing is the cute part: it happens after the query has been parsed out of the $request, but before evaluation π so you get to see the query in its parsed-and-ready era, pre-evaluation. very "caught in 4k before the plot happens" of it πΈ
log_error ( $message )
logs an error π it takes a $message, and it logs it. short king of a method, we respect it.
π BUGS π
found a bug? need a feature? bestie, please report any bugs or feature requests through the GitHub web interface at:
<https://github.com/kasei/atteanx-endpoint/issues>
they want to hear from you, fr fr π«Ά
π SEE ALSO π
go look. it's right there. it's giving "Perl RDF community" and it's iconic π
π AUTHOR π
Gregory Todd Williams β "<gwilliams@cpan.org>" π
β COPYRIGHT β
Copyright (c) 2016 Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
so like, free software, same terms as Perl itself, go forth and redistribute responsibly bestie π
and that's the page!! this was perl v5.36.0, dated 2022-12-06, and yeah β it's the Attean...ndpoint(3pm) page, we been knew πΈ mwah, go build an endpoint, you got this π«Άβ¨
π¦ where this page comes from
- debian bookworm: libatteanx-endpoint-perl 0.002-6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libatteanx-endpoint-perl 0.002-6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libatteanx-endpoint-perl 0.002-6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu questing: libatteanx-endpoint-perl 0.002-6
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms