16.9.7.Using WebDAV

Example using WebDAV (mount folder to DAV and dump; if this is the rdf_sink the Quad Store is updated automatically, or you can load from DAV manually to quad store)


Example 1: Using ODS Briefcase

  1. Go to your ods location, for ex. http://example.com/ods

  2. Register user, for ex. user test1

  3. Login if not already in ods

  4. Go to ODS -> Briefcase

  5. Go to ODS -> Briefcase

  6. Click the "New folder" icon from the Main Briefcase horizontal navigation

  7. Enter for name for ex. "mytest" and click the "Create" button.

    Figure16.81.Using Briefcase UI

    Using Briefcase UI

  8. Go to folder "mytest" and click the click the "Upload" icon from the Main Briefcase horizontal navigation

  9. Enter for name for ex. "mytest" and click the "Create" button.

    Figure16.82.Using Briefcase UI

    Using Briefcase UI

  10. In the shown form set:

    • Destination: RDF Store

    • RDF graph name for ex. with the value: http://example.com/DAV/home/test2/mytest/

    • Select URL or File. For ex. you can select the following file with name jose.rdf:

      <rdf:RDF xmlns="http://www.example/jose/foaf.rdf#"
          <foaf:Person rdf:about="http://www.example/jose/foaf.rdf#jose">
              <foaf:homepage rdf:resource="http://www.example/jose/"/>
              <foaf:knows rdf:resource="http://www.example/jose/foaf.rdf#juan"/>
              <foaf:name>Jose Jimen~ez</foaf:name>
              <foaf:workplaceHomepage rdf:resource="http://www.corp.example/"/>
          <foaf:Person rdf:about="http://www.example/jose/foaf.rdf#juan">
              <foaf:mbox rdf:resource="mailto:juan@mail.example"/>
          <foaf:Person rdf:about="http://www.example/jose/foaf.rdf#julia">
              <foaf:mbox rdf:resource="mailto:julia@mail.example"/>
          <rdf:Description rdf:about="http://www.example/jose/foaf.rdf#kendall">
              <foaf:knows rdf:resource="http://www.example/jose/foaf.rdf#edd"/>
  11. You can also perform the steps from above by uploading the file in the rdf_sink folder i.e. in Briefcase it will be with this path: DAV/home/test2/rdf_sink and respectively the "RDF graph name" will have this value: http://host:port/DAV/home/username/rdf_sink/

Execute from ISQL or from the SPARQL endpoint the following query:

SELECT * FROM <http://example.com/DAV/home/test2/mytest/>
WHERE {?s ?p ?o}

As result should be shown:

s                                         p                                                 o
http://www.example/jose/foaf.rdf#jose     http://www.w3.org/1999/02/22-rdf-syntax-ns#type   http://xmlns.com/foaf/0.1/Person
http://www.example/jose/foaf.rdf#jose     http://xmlns.com/foaf/0.1/nick                    Jo
http://www.example/jose/foaf.rdf#jose     http://xmlns.com/foaf/0.1/name                    Jose Jimen~ez
http://www.example/jose/foaf.rdf#jose     http://xmlns.com/foaf/0.1/knows                   http://www.example/jose/foaf.rdf#juan
http://www.example/jose/foaf.rdf#jose     http://xmlns.com/foaf/0.1/homepage                http://www.example/jose/
http://www.example/jose/foaf.rdf#jose     http://xmlns.com/foaf/0.1/workplaceHomepage       http://www.corp.example/
http://www.example/jose/foaf.rdf#kendall  http://xmlns.com/foaf/0.1/knows                   http://www.example/jose/foaf.rdf#edd
http://www.example/jose/foaf.rdf#julia    http://www.w3.org/1999/02/22-rdf-syntax-ns#type   http://xmlns.com/foaf/0.1/Person
http://www.example/jose/foaf.rdf#julia    http://xmlns.com/foaf/0.1/mbox                    mailto:julia@mail.example
http://www.example/jose/foaf.rdf#juan     http://www.w3.org/1999/02/22-rdf-syntax-ns#type   http://xmlns.com/foaf/0.1/Person
http://www.example/jose/foaf.rdf#juan     http://xmlns.com/foaf/0.1/mbox                    mailto:juan@mail.example

Example 2: Using Conductor UI

  1. Go to Conductor UI, for ex. at http://example.com/conductor

  2. Login as dba user

  3. Go to Linked Data -> Quad Store Upload

    Figure16.83.Quad Store Upload

    Quad Store Upload

  4. In the shown form click the "Browse" button in order to select a file, for ex. the file jose.rdf and set the "RDF IRI*"

    Figure16.84.Quad Store Upload

    Quad Store Upload

  5. Click the "Upload" button.

    Figure16.85.Quad Store Upload

    Quad Store Upload