Trellis & SPAQRL

Skip to first unread message

Fred Hauschel

Dec 13, 2020, 12:27:36 PM12/13/20
to Trellis LDP
Hi there, does trellis support SPARQL ?

Aaron Coburn

Dec 13, 2020, 6:30:38 PM12/13/20
SPARQL is actually two different things: Query and Update.

Trellis supports SPARQL-Update via the PATCH HTTP method.
SPARQL Query is not supported, and there are no plans to support it. That said, there are two mechanisms that may be of interest.

One option is to replicate the data stored in Trellis in an external Triple Store (which would support SPARQL Query). There is some sample code in that does exactly this. Another option would be to index the data in a simpler index (e.g. elastic or solr) and write a Triple Pattern Fragment API on top of that index. The latter option will be more scalable, and there are ways to move the query execution/analysis into the client app such that a server can effectively support full SPARQL while only implementing a TPF endpoint.

Best, Aaron

On Sun, 13 Dec 2020 at 12:27, 'Fred Hauschel' via Trellis LDP <> wrote:
Hi there, does trellis support SPARQL ?

You received this message because you are subscribed to the Google Groups "Trellis LDP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit

Fred Hauschel

Dec 14, 2020, 8:02:26 AM12/14/20
to Trellis LDP
Great, thanks a lot for the answer.
Reply all
Reply to author
0 new messages