In addition to the approach Aaron describes using Camel to provide asynchronous indexing via notifications, which is certainly a powerful and scalable model, you can use a datastore that supports SPARQL Update and Query (and almost any modern triplestore will) as the backend to Trellis for RDF storage. This would allow you to use the backend directly to support SPARQL with no intervening Camel, but it may limit throughput or scale compared to other backends, and it would mean that users doing queries compete with users doing updates for resources.
I would emphasize Aaron's point about what you expose to the world this way-- would you open a SQL endpoint that supports an important application to the public Internet? At the very least, it's wise to ensure that only Query is available to the public, and that Update is kept safely tucked away.
---
A. Soroka
Research Computing : Office of the CIO : the Smithsonian Institution
> On Feb 6, 2020, at 10:52 AM, Aaron Coburn <
aco...@apache.org> wrote:
>
> External Email - Exercise Caution
> To view this discussion on the web visit
https://groups.google.com/d/msgid/trellis-ldp/CAD4uyLdBVuKg7JOUP8HByMizTktxjadE18dHHZg4RUvSTSc3yw%40mail.gmail.com.