On 01/02/13 00:15, Bob DuCharme wrote:
When I tried the SPARQL Graph Store HTTP Protocol commands with Fuseki,
they worked great, even better than with Sesame as described at
http://www.snee.com/bobdc.blog/2012/03/playing-with-sparql-graph-stor.html.
One small issue was that if I PUT or POSTed a data file that began with
a comment line, nothing got added; is this because line breaks are
ignored when it's transmitted, so in effect the whole thing got
commented out? A commented-out line at the end of the transmitted data
file was not a problem.
Thanks,
Bob
Bob,
Could you give a complete example?
I just tested with PUT:
s-put http://localhost:3030/ds/data default D.ttl
s-get http://localhost:3030/ds/data default
and also
curl -T D.ttl --header 'Content-type: text/turtle'
'http://localhost:3030/ds/data?default'
curl 'http://localhost:3030/ds/data?default'
and they worked (latest version).
What did the server log say?
Andy
D.ttl -----------------
# Foo
@prefix : <http://example/> .
:s1 a :T . :s2 a :T . :s3 a :T .
:s1 :name1 "s11" .
:s1 :name2 "s12" .
:s2 :name2 "s22" .
:s3 :name1 "s31" .