Load Turtle Example Resource using Conductor

The following example demonstrates how to retrieve triples from remote Turtle resource using Conductor.

Prerequisites

The following packages should be installed:

  1. conductor_dav.vad package.
  2. cartridges_dav.vad package.

Steps

  1. Assume the following https://s3.amazonaws.com/webid-sandbox/Enhanced-Turtle-Example.ttl public turtle resource.
  2. Go to http://host:port/conductor and enter dba credentials:



  3. Go to Linked Data -> Quad Store Upload:



  4. Specify for resource URL the one from above i.e. https://s3.amazonaws.com/webid-sandbox/Enhanced-Turtle-Example.ttl and enter for "Named Graph IRI":

    http://mytest.com





  5. Click "Upload".
  6. The upload should be finished:



  7. View the inserted triples by executing the following statements:

    SQL> set blobs on; SQL> SPARQL DEFINE output:format "TTL" CONSTRUCT { ?s ?p ?o } FROM <http://mytest.com> WHERE { ?s ?p ?o }; fmtaggret-TTL LONG VARCHAR _______________________________________________________________________________ @prefix foaf: <http://xmlns.com/foaf/0.1/> . @prefix ns1: <https://s3.amazonaws.com/webid-sandbox/Enhanced-Turtle-Example.ttl#> . ns1:Alice foaf:name "Alice" . @prefix wdrs: <http://www.w3.org/2007/05/powder-s#> . ns1:Alice wdrs:describedby <https://s3.amazonaws.com/webid-sandbox/Enhanced-Turtle-Example.ttl> ; foaf:age 38 ; foaf:near ns1:London ; ns1:child ns1:Bob , ns1:Charlie . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . ns1:child rdfs:label "Child Property or Attribute" . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix ns5: <http://purl.org/vocab/relationship/> . ns1:child owl:equivalentProperty ns5:childOf ; wdrs:describedby <https://s3.amazonaws.com/webid-sandbox/Enhanced-Turtle-Example.ttl> . ns1:Edna ns1:child ns1:Alice . ns1:Fred ns1:child ns1:Alice . @prefix dbpedia: <http://dbpedia.org/resource/> . ns1:London owl:sameAs dbpedia:London ; rdfs:label "London" ; wdrs:describedby <https://s3.amazonaws.com/webid-sandbox/Enhanced-Turtle-Example.ttl> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . <https://s3.amazonaws.com/webid-sandbox/Enhanced-Turtle-Example.ttl> rdf:type foaf:Document . @prefix dc: <http://purl.org/dc/elements/1.1/> . <https://s3.amazonaws.com/webid-sandbox/Enhanced-Turtle-Example.ttl> dc:title "Linked Data Deployment using an Amazon S3 Bucket and a Turtle content based Document" . @prefix ns9: <http://kingsley.idehen.net/dataspace/person/kidehen#> . <https://s3.amazonaws.com/webid-sandbox/Enhanced-Turtle-Example.ttl> foaf:maker ns9:this ; foaf:topic ns1:Alice , ns1:child , ns1:London . @prefix ns10: <http://purl.org/dc/terms/> . _:vb140754 ns10:title "My life" ; ns10:date "1999" ; ns10:creator ns1:Alice . 1 Rows. -- 94 msec. SQL>

Related