AttributesValues
type
Description
  • Injecting Linked Data into the Web has been a major pain point for those who seek personal, service, or organization-specific variants of DBpedia. Basically, the sequence goes something like this: You encounter DBpedia or the LOD Cloud Pictorial. You look around (typically following your nose from link to link). You attempt to publish your own stuff. You get stuck. The problems typically take the following form: Functionality confusion about the complementary Name and Address functionality of a single URI abstraction Terminology confusion due to conflation and over-loading of terms such as Resource, URL, Representation, Document, etc. Inability to find robust tools with which to generate Linked Data from existing data sources such as relational databases, CSV files, XML, Web Services, etc. To start addressing these problems, here is a simple guide for generating and publishing Linked Data using Virtuoso. Step 1 - RDF Data Generation Existing RDF data can be added to the Virtuoso RDF Quad Store via a variety of built-in data loader utilities. Many options allow you to easily and quickly generate RDF data from other data sources: Install the Sponger Bookmarklet for the URIBurner service. Bind this to your own SPARQL-compliant backend RDF database (in this scenario, your local Virtuoso instance), and then Sponge some HTTP-accessible resources. Convert relational DBMS data to RDF using the Virtuoso RDF Views Wizard. Starting with CSV files, you can Place them at an HTTP-accessible location, and use the Virtuoso Sponger to convert them to RDF or; Use the CVS import feature to import their content into Virtuoso's relational data engine; then use the built-in RDF Views Wizard as with other RDBMS data. Starting from XML files, you can Use Virtuoso's inbuilt XSLT-Processor for manual XML to RDF/XML transformation or; Leverage the Sponger Cartridge for GRDDL, if there is a transformation service associated with your XML data source, or; Let the Sponger analyze the XML data source and make a best-effort transformation to RDF. Step 2 - Linked Data Deployment Install the Faceted Browser VAD package (fct_dav.vad) which delivers the following: Faceted Browser Engine UI Dynamic Hypermedia Resource Generator delivers descriptor resources for every entity (data object) in the Native or Virtual Quad Stores supports a broad array of output formats, including HTML+RDFa, RDF/XML, N3/Turtle, NTriples, RDF-JSON, OData+Atom, and OData+JSON. Step 3 - Linked Data Consumption & Exploitation Three simple steps allow you, your enterprise, and your customers to consume and exploit your newly deployed Linked Data -- Load a page like this in your browser: http://[:]/describe/?uri= [:] gets replaced by the host and port of your Virtuoso instance gets replaced by the URI you want to see described -- for instance, the URI of one of the resources you let the Sponger handle. Follow the links presented in the descriptor page. If you ever see a blank page with a hyperlink subject name in the About: section at the top of the page, simply add the parameter "&sp=1" to the URL in the browser's Address box, and hit [ENTER]. This will result in an "on the fly" resource retrieval, transformation, and descriptor page generation. Use the navigator controls to page up and down the data associated with the "in scope" resource descriptor. Related Sample Descriptor Page (what you see post completion of the steps in this post) What is Linked Data, really? Painless Linked Data Generation via URIBurner How To Load RDF Data Into Virtuoso (various methods) Virtuoso Bulk Loader Script for RDF Bulk Loader Script for CSV Wizard based generation of RDF based Linked Data from ODBC accessible Relational Databases
Creator
  • Kingsley Uyi Idehen
Date
  • 2010-10-29T22:54:32Z
Title
  • Virtuoso Linked Data Deployment 3-Step
Link
content:encoded
  • Injecting Linked Data into the Web has been a major pain point for those who seek personal, service, or organization-specific variants of DBpedia. Basically, the sequence goes something like this:

    1. You encounter DBpedia or the LOD Cloud Pictorial.
    2. You look around (typically following your nose from link to link).
    3. You attempt to publish your own stuff.
    4. You get stuck.

    The problems typically take the following form:

    1. Functionality confusion about the complementary Name and Address functionality of a single URI abstraction
    2. Terminology confusion due to conflation and over-loading of terms such as Resource, URL, Representation, Document, etc.
    3. Inability to find robust tools with which to generate Linked Data from existing data sources such as relational databases, CSV files, XML, Web Services, etc.

    To start addressing these problems, here is a simple guide for generating and publishing Linked Data using Virtuoso.

    Step 1 - RDF Data Generation

    Existing RDF data can be added to the Virtuoso RDF Quad Store via a variety of built-in data loader utilities.

    Many options allow you to easily and quickly generate RDF data from other data sources:

    • Install the Sponger Bookmarklet for the URIBurner service. Bind this to your own SPARQL-compliant backend RDF database (in this scenario, your local Virtuoso instance), and then Sponge some HTTP-accessible resources.
    • Convert relational DBMS data to RDF using the Virtuoso RDF Views Wizard.
    • Starting with CSV files, you can
      • Place them at an HTTP-accessible location, and use the Virtuoso Sponger to convert them to RDF or;
      • Use the CVS import feature to import their content into Virtuoso's relational data engine; then use the built-in RDF Views Wizard as with other RDBMS data.
    • Starting from XML files, you can
      • Use Virtuoso's inbuilt XSLT-Processor for manual XML to RDF/XML transformation or;
      • Leverage the Sponger Cartridge for GRDDL, if there is a transformation service associated with your XML data source, or;
      • Let the Sponger analyze the XML data source and make a best-effort transformation to RDF.

    Step 2 - Linked Data Deployment

    Install the Faceted Browser VAD package (fct_dav.vad) which delivers the following:

    1. Faceted Browser Engine UI
    2. Dynamic Hypermedia Resource Generator
      • delivers descriptor resources for every entity (data object) in the Native or Virtual Quad Stores
      • supports a broad array of output formats, including HTML+RDFa, RDF/XML, N3/Turtle, NTriples, RDF-JSON, OData+Atom, and OData+JSON.

    Step 3 - Linked Data Consumption & Exploitation

    Three simple steps allow you, your enterprise, and your customers to consume and exploit your newly deployed Linked Data --

    1. Load a page like this in your browser: http://<cname>[:<port>]/describe/?uri=<entity-uri>
      • <cname>[:<port>] gets replaced by the host and port of your Virtuoso instance
      • <entity-uri> gets replaced by the URI you want to see described -- for instance, the URI of one of the resources you let the Sponger handle.
    2. Follow the links presented in the descriptor page.
    3. If you ever see a blank page with a hyperlink subject name in the About: section at the top of the page, simply add the parameter "&sp=1" to the URL in the browser's Address box, and hit [ENTER]. This will result in an "on the fly" resource retrieval, transformation, and descriptor page generation.
    4. Use the navigator controls to page up and down the data associated with the "in scope" resource descriptor.

    Related

wfw:comment
wfw:commentRss
is rdf:_10 of
Alternative Linked Data Views: Sponger | iSPARQL | ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON )    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] This material is Open Knowledge Creative Commons License Valid XHTML + RDFa
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License.
OpenLink Virtuoso version 06.01.3127, on Linux (x86_64-pc-linux-gnu), Standard Edition
Copyright © 2009-2011 OpenLink Software