I would like to access RDF triples that are stored on my Pod. From the documentation I read here: https://github.com/solid/solid-spec/blob/master/api-rest.md, it seems that all the data stored in your pod acts as a SPARQL endpoint.
To implement this I tried storing some rdf test data in a public folder on my Pod. I then attempted to send a url encoded get request to query on my test data.
I first tried it in my browser with: https://myusername.solid.community/public/test.rdf?query=SELECT%20*%20WHERE%20%7B%20%3Fs%20%3Fp%20%3Fo%20.%20%7D
This did not give me the expected results. I simply got my page with the file, with “SELECT * WHERE { ?s ?p ?o . }” next to the toolbar of my Pod.
I also tried to use curl, curl https://myusername.solid.community/public/test.rdf?query=SELECT%20*%20WHERE%20%7B%20%3Fs%20%3Fp%20%3Fo%20.%20%7D
This only returned the actual rdf triple file, which would not have been the result of the query.
If anyone with experience using SPARQL on Solid could provide any help, I would greatly appreciate it!