On 12/9/14 10:30 AM, Erich Bremer wrote:
Hi Kingsley,I've updated to the latest dev version and put a test RDF file (my public WebID profile which is in RDF/XML) in my DAV folder. I can retrieve it, but it only gives me RDF/XML even though I ask for JSON-LD. I looked in your Public folder and only have a ttl version of your profile2.ttl, yet, I can get JSON-LD from your server. Am I missing something here?
No, there stuff missing from the VOS archive, clearly.
Also, can Virtuoso's LDP give one access to the RDF in the Quad store itself, rather than the DAV folders?
Yes, remember you can also map a folder to the quad store such that all resources in the folder are replicated in the quad store. You can also use SPARQL Update via LDP.
Rough example dump, from one of my QA exercises, in July: SPARQL 1.1 INSERT using HTTP PATCH methodcurl -E MyCertificate-ODS-QA.pem:1234 -X PATCH -k -i --data-binary "INSERT {GRAPH <urn:rww:demo:data> {<http://kingsley.idehen.net/dataspace/person/kidehen#this> a <http://xmlns.com/foaf/0.1/Person> . } }" -H "Content-Type: application/sparql-update; utf-8" https://ods-qa.openlinksw.com/DAV/home/kidehen/Public/example2.ttl
HTTP/1.1 204 No Content Server: Virtuoso/07.10.3211 (Linux) x86_64-redhat-linux-gnu-LDP VDB Connection: Keep-Alive Date: Fri, 04 Jul 2014 17:18:16 GMT Accept-Ranges: bytesX-SPARQL-default-graph: http://ods-qa.openlinksw.com/DAV/home/kidehen/Public/example2.ttl
Content-Type: application/sparql-results+xml; charset=UTF-8 Content-Length: 444 SPARQL SELECT -- using HTTP POST methodcurl -E MyCertificate-ODS-QA.pem:1234 -X POST -ik --data-binary "select * from <urn:rww:demo:data> where {?s ?p ?o}" -H "Content-Type: application/sparql-query" "https://ods-qa.openlinksw.com/sparql"
HTTP/1.1 200 OK Server: Virtuoso/07.10.3211 (Linux) x86_64-redhat-linux-gnu-LDP VDB Connection: Keep-Alive Date: Fri, 04 Jul 2014 17:31:38 GMT Accept-Ranges: bytes X-SPARQL-default-graph: http://ods-qa.openlinksw.com/DAV/VAD/val/sparql/ Content-Type: application/sparql-results+xml; charset=UTF-8 Content-Length: 792<sparql xmlns="http://www.w3.org/2005/sparql-results#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/2001/sw/DataAccess/rf1/result2.xsd">
<head> <variable name="s"/> <variable name="p"/> <variable name="o"/> </head> <results distinct="false" ordered="true"> <result><binding name="s"><uri>http://kingsley.idehen.net/dataspace/person/kidehen#this</uri></binding> <binding name="p"><uri>http://www.w3.org/1999/02/22-rdf-syntax-ns#type</uri></binding>
<binding name="o"><uri>http://xmlns.com/foaf/0.1/Person</uri></binding> </result> <result> <binding name="s"><uri>#this</uri></binding> <binding name="p"><uri>#relation</uri></binding> <binding name="o"><uri>#that</uri></binding> </result> </results>
- Erich
I've brought this to everyone's attention, internally. -- Regards, Kingsley Idehen Founder & CEO OpenLink Software Company Web: http://www.openlinksw.com Personal Weblog 1: http://kidehen.blogspot.com Personal Weblog 2: http://www.openlinksw.com/blog/~kidehen Twitter Profile: https://twitter.com/kidehen Google+ Profile: https://plus.google.com/+KingsleyIdehen/about LinkedIn Profile: http://www.linkedin.com/in/kidehen Personal WebID: http://kingsley.idehen.net/dataspace/person/kidehen#this
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________ Virtuoso-users mailing list Virtuoso-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/virtuoso-users