Hi Hugh,
Yes, the first file is "single.ttl" containing the one line:
<http:/www.ebremer.com/foaf.rdf> a <http://xmlns.com/foaf/0.1/Person> .
The second file is "s2.ttl" containing two lines:
@prefix foaf: <http://xmlns.com/foaf/0.1/Person> .
<http:/www.ebremer.com/foaf.rdf> a <http://xmlns.com/foaf/0.1/Person> .
The first file fails with the error message:
"The PUT request for graph <http://www.ebremer.com/log> is
rejected: the submitted resource is of unsupported type text/plain"
The second file succeeds and I am not even using the foaf: prefix in the
one triple which is the same triple from the first file. I used curl to
do the upload using the PUT operation and sparql-graph-crud.
- Erich
Erich Bremer
http://www.ebremer.com
On 4/7/2013 7:06 PM, Hugh Williams wrote:
Hi Erich,
Are you able to provide a sample sparql-graph-crud upload query
showing this problem ?
Best Regards
Hugh Williams
Professional Services
OpenLink Software, Inc. // http://www.openlinksw.com/
Weblog -- http://www.openlinksw.com/blogs/
LinkedIn -- http://www.linkedin.com/company/openlink-software/
Twitter -- http://twitter.com/OpenLink
Google+ -- http://plus.google.com/100570109519069333827/
Facebook -- http://www.facebook.com/OpenLinkSoftware
Universal Data Access, Integration, and Management Technology Providers
On 7 Apr 2013, at 16:52, Erich Bremer <[email protected]
<mailto:[email protected]>> wrote:
When trying to upload data to sparql-graph-crud, the upload will fail
if there are no PREFIX statements at the top of the file even though
no prefixes are used anywhere in the turtle document. The upload
appears to succeed if any "@prefix" statement is added to the top of
the file (even though none are needed). I hadn't noticed the issue
before in working with sparql-graph-crud since nearly everything I do
has @prefix statements, but in a new project I am doing, I don't use
them. In looking over the turtle specification:
http://www.w3.org/TeamSubmission/turtle/
in section 2.1 RDF Terms, it states, "URIs may also be abbreviated by
using Turtle's |@prefix| directive". "may" being optional.
- Erich
Erich Bremer
http://www.ebremer.com
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html_______________________________________________
Virtuoso-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/virtuoso-users
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Virtuoso-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/virtuoso-users