On 16/04/2025 23:14, Andy Seaborne wrote:
On 16/04/2025 17:11, Dave Reynolds wrote:
I should know the answer to this but is there a way to preserve
prefixes when using graph PUT/GET operations on a TDB-backed fuseki
instance?
The set up is a vanilla TDB-backed fuseki with default union set.
unionDefaultGraph does not affect Graph Store Protocol PUT/GET.
It only affects SPARQL pattern matching.
----
fuseki --loc "DB" --update /ds &
# (also tried unionDefaultGraph)
curl -T D.ttl --header \
'Content-type: text/turtle' \
'http://localhost:3030/ds?default'
curl --header 'Accept: text/turtle' 'http://localhost:3030/ds?default'
gives me prefixes.
Thanks Andy. Me too. Sorry, I should have checked the vanilla case!
Turns out that we were running an older fuseki than I thought (for this
particular service) and had a text index configured. On newer fuseki or
without a text index all does indeed work.
What operations are you using to PUT/GET?
Was using s-put/s-get
Thanks,
Dave