Executing SPARQL query over JSON-LD files in solid


Hi everyone!

I have been trying to change fields from a jsonld file I currently store in SOLID.
From browsing through SOLID specs, it is known that each resource in a pod is a SPARQL endpoint. Then there is node-solid-server, and I think inrupt.net uses an instance of it. Running PATCH request over .ttl files works fine, however, executing the same thing over a JSON-LD file just returns the content of the file without applying the patch.

Sample PATCH request of json-ld file

curl -X PATCH \
  https://aorumbayevv2.inrupt.net/wed22/configurations/1559657333913.7942.jsonld \
  -H 'Content-Type: application/sparql-update' \
  -d '@prefix lpa: <https://w3id.org/def/lpapps#> .

{ lpa:VisualizerConfiguration lpa:title ?test . }
{ lpa:VisualizerConfiguration lpa:title "Copper Davidfield" . }
{ lpa:VisualizerConfiguration lpa:title ?test }

Does this mean that node solid server simply does not support executing sparql on json-ld files? If not, is there any other way to modify json-ld files in solid without storing it as ttl and then serialising it to json-ld (since my app is optimised for working with jsonld structure files) every time I retrieve it from server.