Trellis & SPAQRL

17 views
Skip to first unread message

Fred Hauschel

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

Aaron Coburn

unread,
Dec 13, 2020, 6:30:38 PM12/13/20
to trell...@googlegroups.com
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 https://github.com/trellis-ldp/camel-ldp-recipes/ 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 <trell...@googlegroups.com> 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 trellis-ldp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trellis-ldp/d1c4783d-93c3-4406-a408-bea99af81102n%40googlegroups.com.

Fred Hauschel

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