On 24/07/15 17:12, Roshan Bharath Das wrote:
Hello,
I am new to fuseki.
I got to know about remote sparql query by using: http://remoteserver
<http://remoteserver/>.com/3030/ds/sparql?query=SELECT%20*%20{?s%20?p%20?o}&output=text
Do you have write access to the server?
I have a file named “abc.ttl”. How can I upload it in a remote fuseki
server(without s-put) for the below two cases?.
All the s-* commands are wrappers for doing some HTTP operation.
s-post (POST appends, PUT replaces) is
HTTP POST with headers set for the MIME type of the file format.
Content-type: text/turtle in this case.
So you can use any tool or library to do that (SPARQL Graph Store Protocol).
1) Assuming I have Jena client and abc.ttl in the client machine.
DatasetAccessor
DatasetAccessorFactory.createRemote
2) Assuming I know the abc.ttl is in a url Eg: I know "http://pathtoabc.com/abc.ttl
<http://pathtoabc.com/abc.ttl>"
SPARQL Update may allow you to do LOAD <url>.
Andy
Best Regards,
Roshan