ODS.ODSRDFSinkFolder
ODS RDF Sink Folder
Virtuoso's 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
andvirt:rdf_sponger
. The names of the WebDAV properties are prefixed withvirt:
. The properties of the other DET folders are also prefixed in the same way. Properties prefixed withvirt:
are not shown as resource/collection properties in the ODS Briefcase - they can be seen only in the Conductor. Uploaded resources in therdf_sink
folder don't have any special properties.- The property
virt:rdf_graph
contains the name of the graph for uploads. - 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;
- The property
- 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 anrdf_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 rdf mappers package is installed.
Example
User demo uploads an rdf file to hisrdf_sink
folder at http://demo.openlinksw.com/ods
: - Go to demo user Briefcase UI home page
- Upload the RDF file ('
TimBLcard.rdf
') to the "rdf_sink" folder. - 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
CategoryVirtuoso CategoryDAV CategoryODS CategoryRDF
Copyright (C) OpenLink Software 2006