Not logged in : Login

About: VirtConductorR2RMLImport     Goto   Sponge   NotDistinct   Permalink

An Entity of Type : atom:Entry, within Data Space : ods.openlinksw.com associated with source document(s)

AttributesValues
type
Date Created
Date Modified
label
  • VirtConductorR2RMLImport
maker
Title
  • VirtConductorR2RMLImport
isDescribedUsing
has creator
attachment
  • http://vos.openlinksw.com/wiki/main/VOS/VirtConductorR2RMLImport/VirtConductorR2RMLImport01.png
  • http://vos.openlinksw.com/wiki/main/VOS/VirtConductorR2RMLImport/VirtConductorR2RMLImport02.png
  • http://vos.openlinksw.com/wiki/main/VOS/VirtConductorR2RMLImport/VirtConductorR2RMLImport03.png
  • http://vos.openlinksw.com/wiki/main/VOS/VirtConductorR2RMLImport/VirtConductorR2RMLImport04.png
  • http://vos.openlinksw.com/wiki/main/VOS/VirtConductorR2RMLImport/VirtConductorR2RMLImport05.png
  • http://vos.openlinksw.com/wiki/main/VOS/VirtConductorR2RMLImport/VirtConductorR2RMLImport06.png
  • http://vos.openlinksw.com/wiki/main/VOS/VirtConductorR2RMLImport/VirtConductorR2RMLImport07.png
  • http://vos.openlinksw.com/wiki/main/VOS/VirtConductorR2RMLImport/VirtConductorR2RMLImport08.png
content
  • %META:TOPICPARENT{name="VirtR2RML"}% ---+Virtuoso Conductor R2RML Import Wizard The Virtuoso Conductor can be used for importing existing R2RML scripts into Virtuoso and generate the necessary RDF Linked Data Views for Virtuoso hosting and deployment. ---++Usage Example ---+++Prerequisites Ensure the following VAD packages are installed: * [[http://opldownload.s3.amazonaws.com/uda/vad-packages/6.3/virtuoso/rdb2rdf_dav.vad][rdb2rdf_dav.vad]] R2RML package; * [[http://opldownload.s3.amazonaws.com/uda/vad-packages/6.3/virtuoso/conductor_dav.vad][conductor_dav.vad]] Conductor package. ---+++Steps 1 Create a test table with sample data: <verbatim> SQL> CREATE TABLE "R2RML"."TEST"."PRODUCT" ( "id" INTEGER, "name" VARCHAR(100), PRIMARY KEY ("id") ); Done. -- 16 msec. SQL> INSERT SOFT "R2RML"."TEST"."PRODUCT" VALUES(1, 'Virtuoso'); Done. -- 0 msec. SQL> INSERT SOFT "R2RML"."TEST"."PRODUCT" VALUES(2, 'UDA'); Done. -- 0 msec. SQL> </verbatim> 1 Grant select privileges on the "R2RML"."TEST"."PRODUCT" table to the SPARQL user to enable execution via SPARQL endpoint: <verbatim> SQL> GRANT SELECT ON R2RML.TEST.PRODUCT TO "SPARQL",?"SPARQL_UPDATE" Done. -- 1 msec. SQL> </verbatim> 1 Create the following R2RML mapping script for the "R2RML"."TEST"."PRODUCT" table: <verbatim> $ cat demo.n3 @prefix rr: <http://www.w3.org/ns/r2rml#> . @prefix exa: <http://example.com/ns#> . @prefix product: <http://example.com/product#> . <http://example.com/ns#TriplesMap1> a rr:TriplesMap; rr:logicalTable [ rr:tableSchema "R2RML"; rr:tableOwner "TEST"; rr:tableName "PRODUCT" ]; rr:subjectMap [ rr:template "http://example.com/product/{id}"; rr:class exa:product; ]; rr:predicateObjectMap [ rr:predicate product:id; rr:objectMap [ rr:column "id" ]; ]; rr:predicateObjectMap [ rr:predicate product:name; rr:objectMap [ rr:column "name" ]; ]; . $ </verbatim> 1 Go to the <code>Linked Data -> R2RML</code> of the Virtuoso Conductor: %BR%%BR% <img src="%ATTACHURLPATH%/VirtConductorR2RMLImport01.png" style="wikiautogen"/> %BR%%BR% 1 Select the <code>Choose File</code> button and select the R2RML file to load: %BR%%BR% <img src="%ATTACHURLPATH%/VirtConductorR2RMLImport02.png" style="wikiautogen"/> %BR%%BR% 1 Select the <code>Validate</code> button to verify the R2RML mapping script: %BR%%BR% <img src="%ATTACHURLPATH%/VirtConductorR2RMLImport03.png" style="wikiautogen"/> %BR%%BR% 1 Select the <code>Generate</code> button to generate the RDF Linked Data Views mappings for the R2RML mapping script: %BR%%BR% <img src="%ATTACHURLPATH%/VirtConductorR2RMLImport04.png" style="wikiautogen"/> %BR%%BR% 1 Select the <code>Execute</code> button to create the RDF Linked Data Views mapping the the Quad Store: %BR%%BR% <img src="%ATTACHURLPATH%/VirtConductorR2RMLImport05.png" style="wikiautogen"/> %BR%%BR% 1 The RDF Linked Data View creation is complete and status is displayed: %BR%%BR% <img src="%ATTACHURLPATH%/VirtConductorR2RMLImport06.png" style="wikiautogen"/> %BR%%BR% 1 The <code>Default Graph Name</code> (transient) specified <code>http:&#47;&#47;demo.openlinksw.com/r2rml&#35;</code> can now be used to run a SPARQL query against the created Linked Data View. If the <code>Generate [[http://docs.openlinksw.com/virtuoso/rdfperformancetuning.html#rdb2rdftriggers][RDB2RDF triggers]]</code> and <code>Enable Data Syncs with Physical Quad Store</code> check boxes are selected the <code>Physical Graph Name</code> (persistent) specified <code>urn:demo.openlinksw.com/r2rml#</code> can be used to run a SPARQL query against the materialized triples in the Quad Store. %BR%%BR% <img src="%ATTACHURLPATH%/VirtConductorR2RMLImport07.png" style="wikiautogen"/> %BR%%BR% 1 The results set for the Linked Data View graph are displayed: %BR%%BR% <img src="%ATTACHURLPATH%/VirtConductorR2RMLImport08.png" style="wikiautogen"/> %BR%%BR% ---++Related * [[VirtR2RML][Virtuoso R2RML Support]] * [[VirtGenerateR2RMLLinkedDataView][Generate Linked Data Views via R2RML from iSQL]] * [[VirtTipsAndTricksGuideConductorR2RML][Generate Transient and/or Persistent Linked Data Views atop Remote Relational Data Sources]] * W3C page for [[http://www.w3.org/TR/r2rml/][R2RML: RDB to RDF Mapping Language]]
id
  • ec8d612a0c0f0bf4542583afb9bae0a6
link
has container
http://rdfs.org/si...ices#has_services
atom:title
  • VirtConductorR2RMLImport
links to
atom:source
atom:author
atom:published
  • 2017-06-13T05:40:22Z
atom:updated
  • 2017-06-13T05:40:22Z
topic
is made of
is container of of
is link of
is http://rdfs.org/si...vices#services_of of
is links to of
is creator of of
is atom:entry of
is atom:contains of
Faceted Search & Find service v1.17_git132 as of May 12 2023


Alternative Linked Data Documents: iSPARQL | ODE     Content Formats:   [cxml] [csv]     RDF   [text] [turtle] [ld+json] [rdf+json] [rdf+xml]     ODATA   [atom+xml] [odata+json]     Microdata   [microdata+json] [html]    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 08.03.3332 as of Sep 11 2024, on Linux (x86_64-generic-linux-glibc25), Single-Server Edition (15 GB total memory, 2 GB memory in use)
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2024 OpenLink Software