Paolo Castagna wrote:
> Next step (mine or your) is to check in the Fuseki source code if the
> PUT handles other RDF serializations (and if not, this could be a good
> candidate to open a new feature request).
> 
> I found the parseBody method in Fuseki, but I'll look in details later,
> here it is, just in case another pair of eyes is faster than mine:
> http://svn.apache.org/repos/asf/incubator/jena/Jena2/Fuseki/trunk/src/main/java/org/apache/jena/fuseki/servlets/SPARQL_REST.java

After having seen Andy's reply... oh, yes!

No problem in Fuseki, this also works:
curl -X PUT -H "Content-Type: application/n-triples" -d@/tmp/hgnc-100.nt
http://localhost:3030/dataset/data?default

Andy, do we have a problem in soh [1], line 47?
$fileMediaTypes['n3']    = 'text/rdf+n3application/rdf+n3'

I am not sure which one is the correct one.

Paolo

 [1] http://svn.apache.org/repos/asf/incubator/jena/Jena2/Fuseki/trunk/soh

Reply via email to