Hi Hamid,
To get Turtle from the SPARQL endpoint, use a CONSTRUCT query. In the simple case where you want to return the whole graph, use this query:
CONSTRUCT WHERE { ?s ?p ?o }
You can try this by going to /tbl/sparql, pasting the query into the form, choosing your asset collection from the dropdown, and checking the “Include imports” box.
A corresponding curl command would be something like this (assuming an asset collection called “t1” and EDG Studio):
curl -d default-graph-uri=urn:x-evn-master:t1 \
-d "query=CONSTRUCT WHERE { ?s ?p ?o }” \
-d with-imports=true \
-d format=turtle \
http://localhost:8083/tbl/sparql
Hope that helps,
Richard
> --
> The topics of this mailing list include TopBraid EDG and related technologies such as SHACL.
> To post to this group, send email to
topbrai...@googlegroups.com
> ---
> You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
topbraid-user...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/topbraid-users/58889701-e82e-4308-97db-c4dd616f6466n%40googlegroups.com.