%VOSWARNING%
%ODSNAV%
---++ODS RDF Sink Folder
%TOC%
Virtuoso's [[http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/WebDAV][WebDAV]] supports a special folder for RDF uploads, named rdf_sink
.
* When a new user is created, a new WebDAV folder with name rdf_sink
is created in the user's home directory;
* The folder has two properties - virt:rdf_graph
and virt:rdf_sponger
. The names of the WebDAV properties are prefixed with virt:
. The properties of the other DET folders are also prefixed in the same way. Properties prefixed with virt:
are not shown as resource/collection properties in the ODS Briefcase - they can be seen only in the Conductor. Uploaded resources in the rdf_sink
folder don't have any special properties.
1 The property virt:rdf_graph
contains the name of the graph for uploads.
1 The property virt:rdf_sponger
points to the upload method. If it is on, then the content of every file uploaded to that folder is added to the RDF store using the Sponger method. If this value is off, then only files with special mime types are added to the RDF store. After the first upload into the folder a new file is created too and it has name based on the RDF Graph Name. This file is dynamic and contains all uploaded triplets;
* There is a procedure for automatic creation of an rdf_sink
folder in each ODS users home directory. The ODS Register User page can also be updated so that an rdf_sink
folder will be created for every ODS user.
* ODS Briefcase UI supports rdf_sink
-like folders (create and update);
From the ODS Briefcase UI, a user may see properties for this folder using the "Properties" button at the right of the folder name. The opened page shows tab with name "RDF Upload" and 2 fields:
* *Graph name*, e.g., http://demo.openlinksw.com/DAV/home/demo/rdf_sink
* *Sponger* (on/off), defaults to on
.
The UI is the same as for other DET folders. On the "Main" tab > field "Folder Type" contains "RDF Upload Folder". You may set this type for other WebDAV folders and set field values in the "RDF Upload" tab.
Note: In order the rdf_sink folder to work correctly, you need to make sure the [[http://download.openlinksw.com/packages/5.0/virtuoso/rdf_mappers_dav.vad][rdf mappers package]] is installed.
---+++Example
User demo uploads an rdf file to his rdf_sink
folder at http://demo.openlinksw.com/ods
:
1 Go to demo user Briefcase UI home page
1 Upload the RDF file ('TimBLcard.rdf
') to the "rdf_sink" folder.
1 After upload a file with name "http___demo.openlinksw.com_DAV_home_demo_rdf_sink_.RDF
" is created. When its name link is clicked in the ODS Briefcase UI, the triples are downloaded.
---++See Also
* [[http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VirtuosoRDFSinkFolder][Virtuoso RDF Sink Folder]]
CategoryVirtuoso CategoryDAV CategoryODS CategoryRDF
%ODSCOPY%