I’ve messed around a little more with SPARQL, and added plugins to the
Wirebird::Handler::Inbox now does a
custom query. It’s incomplete, but it’s progress.
Sadly, I don’t think I can roll everything into a single query; the
inbox structure has too many nested loops (inbox metadata, then inbox
items, then authors of the items, attachments to the items, etc.) If I
could flatten all that into a single query, then I would give some
thought to backing it out of the plugin system.
could just look up the query and the matching template for a resource’s
Of course, this continues to assume I need to write a full HTML back end, rather than just serving up a SPARQL endpoint and letting the client do the heavy lifting. Maybe I’m old-fashioned, but I think I still do.