68
© 2012 OpenLink Software, All rights reserved. Accessing the Linked Open Data Cloud via ODBC By Kingsley Idehen (@kidehen) Founder & CEO, OpenLink Software

Accessing the Linked Open Data Cloud via ODBC

Embed Size (px)

DESCRIPTION

Detailed how-to guide covering the fusion of ODBC and Linked Data, courtesy of Virtuoso. This presentation includes live links to actual ODBC and Linked Data exploitation demos via an HTML5 based XMLA-ODBC Client. It covers: 1. SPARQL queries to various Linked (Open) Data Sources via ODBC 2. ODBC access to SQL Views generated from federated SPARQL queries 3. Local and Network oriented Hyperlinks 4. Structured Data Representation and Formats.

Citation preview

Page 1: Accessing the Linked Open Data Cloud via ODBC

© 2012 OpenLink Software, All rights reserved.

Accessing the Linked Open Data Cloud via ODBC

By Kingsley Idehen (@kidehen)

Founder & CEO, OpenLink Software

Page 2: Accessing the Linked Open Data Cloud via ODBC

© 2008 OpenLink Software, All rights reserved.

The Big Data Challenge

Discover New & Intriguing Insights

by Integrating

Data Across Internal & External Data Sources

Page 3: Accessing the Linked Open Data Cloud via ODBC

© 2008 OpenLink Software, All rights reserved.

The Data Access Challenge

Exploit New & Emerging Data Access Frontiers

Using

Existing ODBC compliant Applications?

Page 4: Accessing the Linked Open Data Cloud via ODBC

© 2008 OpenLink Software, All rights reserved.

What is Data?

Subject Observation Representation.

Basically:

Every “Observation Subject” has a Name, discernible Attributes, and

“Attribute Values”.

Page 5: Accessing the Linked Open Data Cloud via ODBC

© 2008 OpenLink Software, All rights reserved.

What is Structured Data?

Schema Constrained Data Representation

Where the following are human and/or machine

discernible:

Unique Subject Name

Subject Attributes

Subject Attribute Values.

Page 6: Accessing the Linked Open Data Cloud via ODBC

© 2008 OpenLink Software, All rights reserved.

CSV based Structured Data

Entity,Attribute,Value

#France, #Type, #PopulatedPlace

#France, #hasLabel, ”France”

#France, #hasCapital, #Paris

#Paris, #Type, #PopulatedPlace

#Paris, #hasLabel, ”Paris”

#PopulatedPlace, #Type, #Place

Page 7: Accessing the Linked Open Data Cloud via ODBC

© 2008 OpenLink Software, All rights reserved.

TSV based Structured Data

Entity<TAB>Attribute<TAB>Value

#France<TAB>#Type<TAB>#PopulatedPlace

#France<TAB>#hasLabel<TAB>”France”

#France<TAB>#hasCapital<TAB>#Paris

#Paris<TAB>#Type<TAB>#PopulatedPlace

#Paris<TAB>#hasLabel<TAB>”Paris”

#PopulatedPlace<TAB>#Type<TAB>#Place

Page 8: Accessing the Linked Open Data Cloud via ODBC

© 2008 OpenLink Software, All rights reserved.

Structured Data (Table/Spreadsheet)

Entity (Subject) Attribute (Predicate) Value (Object)

#France #Type #PopulatedPlace

#France #hasLabel “France”

#France #hasCapital #Paris

#Paris #Type #PopulatedPlace

#Paris #hasLabel “Paris”

#PopulatedPlace #Type #Place

Page 9: Accessing the Linked Open Data Cloud via ODBC

© 2008 OpenLink Software, All rights reserved.

What is Linked Data?

Basically, Hyperdata!

Enhanced Structured Data Representation

Via

Hyperlinks.

Page 10: Accessing the Linked Open Data Cloud via ODBC

© 2008 OpenLink Software, All rights reserved.

What Are Hyperlinks?

Live References To Content.

These References my be local (Green Hyperlinks from Windows Help)

Or

Network aware (Blue Hyperlinks as per World Wide Web & Other HTTP Networks).

Page 11: Accessing the Linked Open Data Cloud via ODBC

© 2008 OpenLink Software, All rights reserved.

Local Linked Data using URIs

Entity (Subject) Attribute (Predicate) Value (Object)

urn:data:object:id:France urn:data:object:id:Type urn:data:object:id:PopulatedPlace

urn:data:object:id:France urn:data:object:id:hasLabel “France”

urn:data:object:id:France urn:data:object:id:hasCapital

urn:data:object:id:Paris

urn:data:object:id:Paris urn:data:object:id:Type urn:data:object:id:PopulatedPlace

urn:data:object:id:Paris urn:data:object:id:hasLabel “Paris”

urn:data:object:id:PopulatedPlace

urn:data:object:id:Type urn:data:object:id:Place

Page 12: Accessing the Linked Open Data Cloud via ODBC

© 2008 OpenLink Software, All rights reserved.

HTTP based Linked Data (Hyperdata)Entity (Subject) Attribute (Predicate) Value (Object)

http://dbpedia.org/resource/France

http://www.w3.org/1999/02/22-rdf-syntax-ns#type

http://dbpedia.org/ontology/PopulatedPlace

http://dbpedia.org/resource/France

http://www.w3.org/2000/01/rdf-schema#label

“France”

http://dbpedia.org/resource/France

http://dbpedia.org/ontology/capital http://dbpedia.org/resource/Paris

http://dbpedia.org/resource/Paris http://www.w3.org/1999/02/22-rdf-syntax-ns#type

http://dbpedia.org/ontology/PopulatedPlace

http://dbpedia.org/resource/Paris http://www.w3.org/2000/01/rdf-schema#label

“Paris”

http://dbpedia.org/ontology/PopulatedPlace

http://www.w3.org/2000/01/rdf-schema#subClassOf

http://dbpedia.org/ontology/Place

Page 13: Accessing the Linked Open Data Cloud via ODBC

Massive Linked Open Data Cloud

© 2010 OpenLink Software, All rights reserved.

Page 14: Accessing the Linked Open Data Cloud via ODBC

© 2012 OpenLink Software, All rights reserved.

SQL Query Language Benefits?

Declarative Query Language for Access, Manipulation, and Definition of

Structured Data Stored in Relational Database Management Systems

(RDBMS)

Page 15: Accessing the Linked Open Data Cloud via ODBC

© 2012 OpenLink Software, All rights reserved.

ODBC Benefits?

Standard Application Programming Interface (API) for SQL based

Access to RDBMS hosted Data.

Page 16: Accessing the Linked Open Data Cloud via ODBC

© 2012 OpenLink Software, All rights reserved.

SPARQL Query Language Benefits?

Declarative Query Language for Access, Manipulation, and

Definition of Linked Data based on the Entity-Attribute-Value/RDF

Data Model.

Page 17: Accessing the Linked Open Data Cloud via ODBC

© 2012 OpenLink Software, All rights reserved.

SPARQL Protocol Benefits

HTTP based Protocol (Web Service) for executing SPARQL commands against Public or Private Linked

Data Sources.

Page 18: Accessing the Linked Open Data Cloud via ODBC

© 2012 OpenLink Software, All rights reserved.

SQL Query Language Challenges

Access to Data outside Relational Database Management Systems.

Page 19: Accessing the Linked Open Data Cloud via ODBC

© 2012 OpenLink Software, All rights reserved.

ODBC Driver Problems?

Access to Data outside Relational Database Management Systems.

Page 20: Accessing the Linked Open Data Cloud via ODBC

© 2012 OpenLink Software, All rights reserved.

Virtuoso ODBC Driver Benefits?

Cross Platform ODBC Driver that treats Linked Big Data on the Web

(or elsewhere) like any another ODBC accessible RDBMS!

Page 21: Accessing the Linked Open Data Cloud via ODBC

How Do I Get Going?

Download, install, and experience the power of coherent integration of disparate data sources, data access protocols, and data representation formats.

In an nutshell, commence exploitation of powerful business intelligence, socially enhanced collaboration, data virtualization, and entity analytics without writing a line of code!

Turn "Big Data" into exploitable "Smart Data" without compromise!

© 2012 OpenLink Software, All rights reserved.

Page 22: Accessing the Linked Open Data Cloud via ODBC

How Does Virtuoso Expose LOD Cloud Data To ODBC Clients?

Creation of ODBC accessible SQL Views using SPASQL (SPARQL inside SQL) that targets local data

Ditto via SPARQL-FED (Federated SPARQL) for external SPARQL endpoints.

Example instances include:

DBpedia (Linked Data version of Wikipedia content and LOD Cloud nexus)

URIBurner Service for “on the fly” transformation of data from: LinkedIn, Facebook,

Twitter, Google+, Freebase, Disqus etc.

Live Linked Open Data LOD Cloud Cache.

© 2012 OpenLink Software, All rights reserved.

Page 23: Accessing the Linked Open Data Cloud via ODBC

Demo Query Tools

Microsoft Access (Windows)

Filemaker (Mac OS X)

Tibco SpotFire (Windows)

Tableau Deskop (Windows)

SAP Crystal Reports (Windows)

HTML5 based ODBC Explorer (Browser) – requires local ODBC Driver Manager

HTML5 based XMLA Explorer (Browser) – no local ODBC Driver Manager required

Virtuoso Conductor

Virtuoso iSQL

Any other ODBC compliant tools that offers a SQL Query Editor.

© 2012 OpenLink Software, All rights reserved.

Page 24: Accessing the Linked Open Data Cloud via ODBC

Sample SPARQL Endpoints

Live Virtuoso Demo Server – Focal Point (SPARQL and HTML5 XMLA-ODBC Client) for all live demos in this presentation

DBpedia - Structured Data rendition of Wikipedia content

Linked Open Data Cloud Cache – majority of datasets published to the LOD cloud

URIBurner – Live Linked Data Transformation Service for Web Pages & Web 2.0 Services

Health.Data.Gov – U.S. Govt. Health Dept. Information Portal

Data.Gov.UK – UK Government Open Data in Linked Data form

Reegle – Pan European Renewable Energy Information Portal

OpenEI – U.S. Govt. Energy Dept. Energy Information Portal

Nature.com – Nature Publishing .

© 2012 OpenLink Software, All rights reserved.

Page 25: Accessing the Linked Open Data Cloud via ODBC

Federated SPARQL (SPARQL-FED)Queries

© 2012 OpenLink Software, All rights reserved.

Page 26: Accessing the Linked Open Data Cloud via ODBC

How It Works

Construct or Locate SPARQL Query of interest

Verify Query against its original SPARQL Endpoint

Go to a Virtuoso SPARQL endpoint and execute a Federated SPARQL (SPARQL-

FED) variant of query

Using any ODBC compliant application, execute SPARQL pass-through queries by

placing the pragma “SPARQL” before your Basic or Federated SPARQL query text.

© 2012 OpenLink Software, All rights reserved.

Page 27: Accessing the Linked Open Data Cloud via ODBC

SPASQL over ODBC to Nature.com

SPARQL

SELECT DISTINCT *

WHERE { SERVICE <http://data.nature.com/sparql>

{

SELECT ?doi ?title ?name

WHERE { ?doi dc:title ?title .

FILTER (regex(?title,"hydro","i")) .

?doi bibo:contributorList [ rdf:first [ foaf:name ?name ] ] .

}

LIMIT 25

}

}

© 2012 OpenLink Software, All rights reserved.

Page 28: Accessing the Linked Open Data Cloud via ODBC

SPARQL over ODBC to Nature.com

© 2012 OpenLink Software, All rights reserved.

Live Demo Link: http://goo.gl/stV51

Page 29: Accessing the Linked Open Data Cloud via ODBC

SPASQL via ODBC over DBpedia

## SPASQL Query that can be invoked directly via ODBC pass-through or exposed as a SQL View .

SPARQL

SELECT * WHERE { SERVICE <http://dbpedia.org/sparql> {

SELECT *

FROM <http://dbpedia.org>

WHERE {

?company a dbpedia-owl:Company.

?company rdfs:label ?name.

?company dbpedia-owl:location ?city.

?city dbpedia-owl:isPartOf ?state.

?state dbpedia-owl:country <http://dbpedia.org/resource/United_States>.

OPTIONAL {?city rdfs:label ?city_name}.

OPTIONAL {?state rdfs:label ?state_name}.

OPTIONAL{ ?company <http://dbpedia.org/ontology/industry> ?industrySector}.

FILTER (LANG(?name) = "en")

FILTER (LANG(?state_name) = "en")

FILTER (LANG(?city_name) = "en")

} LIMIT 100

}

}

© 2012 OpenLink Software, All rights reserved.

Page 30: Accessing the Linked Open Data Cloud via ODBC

SPARQL over ODBC to DBpedia

© 2012 OpenLink Software, All rights reserved.

Live Demo Link: http://demo.openlinksw.com/c/86Q27

Page 31: Accessing the Linked Open Data Cloud via ODBC

SPASQL via ODBC over Data.Gov.UK

SPARQL

SELECT ?s as ?href ?gender ?religion ?name ?lat

?long ?addr ?addr1 ?addr2 ?postcode ?town ?estabNo ?refNo ?type

(<http://www.kingslon.co.uk/Images/students_new.jpg>) as ?image

WHERE

{ SERVICE <http://services.data.gov.uk/education/sparql>

{

SELECT *

WHERE

{

?s a <http://education.data.gov.uk/def/school/School> .

?s <http://www.w3.org/2000/01/rdf-schema#label> ?name.

?s <http://www.w3.org/2003/01/geo/wgs84_pos#lat> ?lat .

?s <http://www.w3.org/2003/01/geo/wgs84_pos#long> ?long .

?s <http://education.data.gov.uk/def/school/address> ?addr.

OPTIONAL {?s <http://education.data.gov.uk/def/school/gender> ?gender}.

OPTIONAL {?s <http://education.data.gov.uk/def/school/religiousCharacter> ?religion}.

OPTIONAL {?s <http://education.data.gov.uk/def/school/typeOfEstablishment> ?type}.

OPTIONAL {?s <http://education.data.gov.uk/def/school/uniqueReferenceNumber> ?refNo}.

OPTIONAL {?s </http://education.data.gov.uk/def/school/establishmentNumber> ?estabNo}.

?addr <http://education.data.gov.uk/def/school/address1> ?addr1 .

?addr <http://education.data.gov.uk/def/school/address2> ?addr2.

?addr <http://education.data.gov.uk/def/school/postcode> ?postcode.

?addr <http://education.data.gov.uk/def/school/town> ?town.

}

LIMIT 200

}

}

© 2012 OpenLink Software, All rights reserved.

Page 32: Accessing the Linked Open Data Cloud via ODBC

SPARQL over ODBC to Data.Gov.UK

© 2012 OpenLink Software, All rights reserved.

Live Demo Link: http://demo.openlinksw.com/c/86Q3A

Page 33: Accessing the Linked Open Data Cloud via ODBC

SPASQL via ODBC over Data.Gov

SPARQL

PREFIX gd: <http://reference.data.gov/def/govdata/>

PREFIX hoco: <http://health.data.gov/def/hospital-compare/>

PREFIX dcterms: <http://purl.org/dc/terms/>

PREFIX comp: <http://health.data.gov/def/compare/>

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

SELECT *

WHERE

{ SERVICE <http://health.data.gov/sparql>

{

SELECT DISTINCT ?record ?date ?condition ?measure ?metric ?percentage ?ratio ?medianTime

?nationalCount ?msdrg ?footnote ?conditionId ?measureId ?metricId ?footnoteId

WHERE { <http://reference.data.gov/id/country/US> hoco:recordset _:rs.

GRAPH ?g { _:rs hoco:record ?record . }

?g dcterms:issued ?date.

OPTIONAL { ?record comp:condition ?conditionId. ?conditionId rdfs:comment ?condition. }

OPTIONAL { ?record comp:measure ?measureId. ?measureId rdfs:comment ?measure. }

OPTIONAL { ?record comp:metric ?metricId. ?metricId rdfs:comment ?metric. }

OPTIONAL { ?record gd:percentage ?percentage. }

OPTIONAL { ?record hoco:ratio ?ratio. }

OPTIONAL { ?record hoco:medianTime ?medianTime. }

OPTIONAL { ?record hoco:nationalCount ?nationalCount. }

OPTIONAL { ?record hoco:msdrg ?msdrg. }

OPTIONAL { ?record comp:footnote ?footnoteId. ?footnoteId rdfs:comment ?footnote. }

} LIMIT 100

}

}

© 2012 OpenLink Software, All rights reserved.

Page 34: Accessing the Linked Open Data Cloud via ODBC

SPARQL over ODBC to DBpedia

© 2012 OpenLink Software, All rights reserved.

Live Demo Link: http://demo.openlinksw.com/c/86Q3B

Page 35: Accessing the Linked Open Data Cloud via ODBC

SPASQL via ODBC over LinkedIn

SPARQL

PREFIX oplli: <http://www.openlinksw.com/schemas/linkedin#>

SELECT DISTINCT *

WHERE { SERVICE <http://uriburner.com/sparql> (define lang:dialect 65535)

{

SELECT DISTINCT ?s1 as ?job_id ?provided_by ?location_name ?industry ?country_code ?company_name ?position_summary ?experience_level

?job_type ?job_salary ?label as ?name ?job_function

WHERE {

?s1 a oplli:JobPosting;

opl:providedBy ?provided_by;

oplli:location_name ?location_name;

oplli:industry ?industry;

oplli:country_code ?country_code;

oplli:company_name ?company_name;

oplli:position_summary ?position_summary;

oplli:experience_level ?experience_level;

oplli:job_type ?job_type; oplli:salary ?job_salary;

rdfs:label ?label;

oplli:job_function ?job_function.

}

LIMIT 100 }

}

© 2012 OpenLink Software, All rights reserved.

Page 36: Accessing the Linked Open Data Cloud via ODBC

SPARQL over ODBC to LinkedIn

© 2012 OpenLink Software, All rights reserved.

Live Demo Link: http://demo.openlinksw.com/c/86Q3C

Page 37: Accessing the Linked Open Data Cloud via ODBC

SQL Views derived from SPARQL Queries

© 2012 OpenLink Software, All rights reserved.

Page 38: Accessing the Linked Open Data Cloud via ODBC

How It Works

Construct or Locate SPARQL Query of interest

Verify Query against its original SPARQL Endpoint

Go to a Virtuoso SPARQL endpoint and execute a Federated

SPARQL (SPARQL-FED) variant of query

Via Virtuoso’s native or ODBC SQL client interfaces issue standard

SQL CREATE VIEW syntax to construct a SQL View from the

SPARQL-FED

Using any ODBC compliant application, query the SQL View as you

would any other ODBC accessible SQL View.

© 2012 OpenLink Software, All rights reserved.

Page 39: Accessing the Linked Open Data Cloud via ODBC

SQL View For Nature.com

CREATE VIEW lod.data.nature_dot_com_hydro AS

SPARQL

SELECT DISTINCT *

WHERE { SERVICE <http://data.nature.com/sparql>

{

SELECT ?doi ?title ?name

WHERE { ?doi dc:title ?title .

FILTER (regex(?title,"hydro","i")) .

?doi bibo:contributorList [ rdf:first [ foaf:name ?name ] ] .

}

LIMIT 25

}

} ;

GRANT SELECT ON lod.data.nature_dot_com_hydro TO vdb

© 2012 OpenLink Software, All rights reserved.

Page 40: Accessing the Linked Open Data Cloud via ODBC

ODBC via SQL View to Nature.com

© 2012 OpenLink Software, All rights reserved.

Relational Table/View Structure

Page 41: Accessing the Linked Open Data Cloud via ODBC

ODBC via SQL View to Nature.com

© 2012 OpenLink Software, All rights reserved.

Live Demo Link: http://demo.openlinksw.com/c/BTVATM

List of Primary Keys

Page 42: Accessing the Linked Open Data Cloud via ODBC

ODBC via SQL View to Nature.com

© 2012 OpenLink Software, All rights reserved.

Live Demo Link: http://demo.openlinksw.com/c/BTVAFK

Drill-Down via Primary Key De-Reference

Page 43: Accessing the Linked Open Data Cloud via ODBC

ODBC via SQL View to Nature.com

© 2012 OpenLink Software, All rights reserved.

Live Demo Link: http://demo.openlinksw.com/c/BTWZWC

SQL Query Against Table/View

Page 44: Accessing the Linked Open Data Cloud via ODBC

SQL View for DBpedia

CREATE VIEW lod.data.dbpedia_company_list_by_state AS

SPARQL

SELECT * WHERE { SERVICE <http://dbpedia.org/sparql> {

SELECT *

FROM <http://dbpedia.org>

WHERE {

?company a dbpedia-owl:Company.

?company rdfs:label ?name.

?company dbpedia-owl:location ?city.

?city dbpedia-owl:isPartOf ?state.

?state dbpedia-owl:country <http://dbpedia.org/resource/United_States>.

OPTIONAL {?city rdfs:label ?city_name}.

OPTIONAL {?state rdfs:label ?state_name}.

OPTIONAL{ ?company <http://dbpedia.org/ontology/industry> ?industrySector}.

FILTER (LANG(?name) = "en")

FILTER (LANG(?state_name) = "en")

FILTER (LANG(?city_name) = "en")

} LIMIT 100

}

} ;

GRANT SELECT ON lod.data.dbpedia_company_list_by_state TO vdb .

© 2012 OpenLink Software, All rights reserved.

Page 45: Accessing the Linked Open Data Cloud via ODBC

ODBC via SQL View to DBpedia

© 2012 OpenLink Software, All rights reserved.

Relational Table/View Structure

Page 46: Accessing the Linked Open Data Cloud via ODBC

ODBC via SQL View to DBpedia

© 2012 OpenLink Software, All rights reserved.

Live Demo Link: http://demo.openlinksw.com/c/BTWGH4

SQL Query Against Table/View

Page 47: Accessing the Linked Open Data Cloud via ODBC

SQL View for Data.Gov

CREATE VIEW lod.data.health_data_dot_gov_metrics AS

SPARQL

PREFIX gd: <http://reference.data.gov/def/govdata/>

PREFIX hoco: <http://health.data.gov/def/hospital-compare/>

PREFIX dcterms: <http://purl.org/dc/terms/>

PREFIX comp: <http://health.data.gov/def/compare/>

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

SELECT *

WHERE

{ SERVICE <http://health.data.gov/sparql>

{

SELECT DISTINCT ?record ?date ?condition ?measure ?metric ?percentage ?ratio ?medianTime ?nationalCount ?msdrg ?footnote

?conditionId ?measureId ?metricId ?footnoteId

WHERE { <http://reference.data.gov/id/country/US> hoco:recordset _:rs.

GRAPH ?g { _:rs hoco:record ?record . }

?g dcterms:issued ?date.

OPTIONAL { ?record comp:condition ?conditionId. ?conditionId rdfs:comment ?condition. }

OPTIONAL { ?record comp:measure ?measureId. ?measureId rdfs:comment ?measure. }

OPTIONAL { ?record comp:metric ?metricId. ?metricId rdfs:comment ?metric. }

OPTIONAL { ?record gd:percentage ?percentage. }

OPTIONAL { ?record hoco:ratio ?ratio. }

OPTIONAL { ?record hoco:medianTime ?medianTime. }

OPTIONAL { ?record hoco:nationalCount ?nationalCount. }

OPTIONAL { ?record hoco:msdrg ?msdrg. }

OPTIONAL { ?record comp:footnote ?footnoteId. ?footnoteId rdfs:comment ?footnote. }

} LIMIT 100 } } ;

GRANT SELECT ON lod.data.health_data_dot_gov_metrics TO vdb

© 2012 OpenLink Software, All rights reserved.

Page 48: Accessing the Linked Open Data Cloud via ODBC

ODBC via SQL View to Data.Gov

© 2012 OpenLink Software, All rights reserved.

Relational Table/View Structure

Page 49: Accessing the Linked Open Data Cloud via ODBC

ODBC via SQL View to Data.Gov

© 2012 OpenLink Software, All rights reserved.

Live Demo Link: http://demo.openlinksw.com/c/BTXNHW

SQL Query Against Table/View

Page 50: Accessing the Linked Open Data Cloud via ODBC

SQL View for Data.Gov.UK

CREATE VIEW lod.data.data_gov_uk_education AS

SPARQL

SELECT ?s as ?href ?gender ?religion ?name ?lat

?long ?addr ?addr1 ?addr2 ?postcode ?town ?estabNo ?refNo ?type

(<http://www.kingslon.co.uk/Images/students_new.jpg>) as ?image

WHERE

{ SERVICE <http://services.data.gov.uk/education/sparql>

{

SELECT *

WHERE

{

?s a <http://education.data.gov.uk/def/school/School> .

?s <http://www.w3.org/2000/01/rdf-schema#label> ?name.

?s <http://www.w3.org/2003/01/geo/wgs84_pos#lat> ?lat .

?s <http://www.w3.org/2003/01/geo/wgs84_pos#long> ?long .

?s <http://education.data.gov.uk/def/school/address> ?addr.

OPTIONAL {?s <http://education.data.gov.uk/def/school/gender> ?gender}.

OPTIONAL {?s <http://education.data.gov.uk/def/school/religiousCharacter> ?religion}.

OPTIONAL {?s <http://education.data.gov.uk/def/school/typeOfEstablishment> ?type}.

OPTIONAL {?s <http://education.data.gov.uk/def/school/uniqueReferenceNumber> ?refNo}.

OPTIONAL {?s </http://education.data.gov.uk/def/school/establishmentNumber> ?estabNo}.

?addr <http://education.data.gov.uk/def/school/address1> ?addr1 .

?addr <http://education.data.gov.uk/def/school/address2> ?addr2.

?addr <http://education.data.gov.uk/def/school/postcode> ?postcode.

?addr <http://education.data.gov.uk/def/school/town> ?town.

}

LIMIT 200

} }

GRANT SELECT ON lod.data.data_gov_uk_educatio TO vdb

© 2012 OpenLink Software, All rights reserved.

Page 51: Accessing the Linked Open Data Cloud via ODBC

ODBC via SQL View to Data.Gov.UK

© 2012 OpenLink Software, All rights reserved.

Relational Table/View Structure

Page 52: Accessing the Linked Open Data Cloud via ODBC

ODBC via SQL View to Data.Gov.UK

© 2012 OpenLink Software, All rights reserved.

Live Demo Link: http://demo.openlinksw.com/c/BTVSFA

SQL Query Against Table/View

Page 53: Accessing the Linked Open Data Cloud via ODBC

SQL View for LinkedIn

CREATE VIEW lod.data.linkedin_jobs_1 AS

SPARQL

PREFIX oplli: <http://www.openlinksw.com/schemas/linkedin#>

SELECT DISTINCT *

WHERE { SERVICE <http://uriburner.com/sparql> (define lang:dialect 65535)

{

SELECT DISTINCT ?s1 as ?job_id ?provided_by ?location_name ?industry ?country_code ?company_name ?position_summary ?experience_level

?job_type ?job_salary ?label as ?name ?job_function

WHERE {

?s1 a oplli:JobPosting;

opl:providedBy ?provided_by;

oplli:location_name ?location_name;

oplli:industry ?industry;

oplli:country_code ?country_code;

oplli:company_name ?company_name;

oplli:position_summary ?position_summary;

oplli:experience_level ?experience_level;

oplli:job_type ?job_type; oplli:salary ?job_salary;

rdfs:label ?label;

oplli:job_function ?job_function.

}

LIMIT 100 }

} ;

GRANT SELECT ON lod.data.linkedin_jobs_1 TO vdb;

© 2012 OpenLink Software, All rights reserved.

Page 54: Accessing the Linked Open Data Cloud via ODBC

ODBC via SQL View to LinkedIn

© 2012 OpenLink Software, All rights reserved.

Relational Table/View Structure

Page 55: Accessing the Linked Open Data Cloud via ODBC

ODBC via SQL View to LinkedIn

© 2012 OpenLink Software, All rights reserved.

Live Demo Link: http://demo.openlinksw.com/c/BPITMZ

SQL Query Against Table/View

Page 56: Accessing the Linked Open Data Cloud via ODBC

ODBC + Linked (Open) Data Benefits?

© 2012 OpenLink Software, All rights reserved.

Using existing ODBC compliant applications you can achieve the following:

Access & Integration Data from External Data

Sources

Sharing Data Sources & Insights (Query Results)

via Hyperlinks

Discover Insights without depending solely on the

content of local databases

StructuredData

Page 57: Accessing the Linked Open Data Cloud via ODBC

Virtuoso Product Information

© 2012 OpenLink Software, All rights reserved.

Page 58: Accessing the Linked Open Data Cloud via ODBC

Product Value Proposition

© 2012 OpenLink Software, All rights reserved.

Enterprise and Individual Agility

via Data Virtualization, without

compromising performance,

scalability, security, or

investments in existing

infrastructure!

Page 59: Accessing the Linked Open Data Cloud via ODBC

Product Architecture

© 2012 OpenLink Software, All rights reserved.

A high-performance, scalable,

secure, and operating-system-

independent server designed

to handle contemporary

challenges associated with

data access, data integration,

and data management.

Page 60: Accessing the Linked Open Data Cloud via ODBC

Data Virtualization Middleware

© 2012 OpenLink Software, All rights reserved.

An in-built middleware layer

(“Sponger”) for creating

Linked Data Views over

Heterogeneous Data

Sources.

Page 61: Accessing the Linked Open Data Cloud via ODBC

Pluggable Linked Data Cartridges/Drivers

© 2012 OpenLink Software, All rights reserved.

A collection of prefabricated

and customizable Data

Extraction, Transformation,

and Lookup cartridges

(drivers) covering a vast

ranges of data formats and

data access protocols.

Page 62: Accessing the Linked Open Data Cloud via ODBC

End Game?

© 2012 OpenLink Software, All rights reserved.

Our Agility !!

Your Agility++ Their Agility++ My Agility++

Page 63: Accessing the Linked Open Data Cloud via ODBC

Additional ODBC & Linked Data Presentations

Windows ODBC Configuration & Usage Microsoft Access Tibco Spotfire Tableau Desktop SAP Crystal Reports

Mac OS X ODBC Configuration & Usage Filemaker

© 2012 OpenLink Software, All rights reserved.

Page 64: Accessing the Linked Open Data Cloud via ODBC

OpenLink Company Overview OpenLink Software is a privately-held company founded in 1992 by its President &

CEO, Kingsley Idehen. The company is an industry acclaimed technology innovator in the following areas:

ODBC, JDBC, ADO.NET, and OLE-DB compliant Data Access Drivers for Oracle, SQL Server, Informix, Ingres, Sybase, Progress, MySQL, and PostgreSQL

High-Performance & Scalable Multi-Model (Relational & Graph) Database Technology

Data Integration Middleware (Data Virtualization Technology across a wide variety of Protocols & Formats)

Linked Data Deployment & Management

Web Application Server Technology

Socially-enhanced Distributed Collaborative Applications Platforms (Weblogs, Wikis, Feed Aggregation and Syndication, Web File Systems, Discussion Forums, etc.)

Identity Management.

© 2012 OpenLink Software, All rights reserved.

Page 65: Accessing the Linked Open Data Cloud via ODBC

Products & ServicesSoftware Products

• OpenLink Universal Data Access Drivers (UDA) - High-performance data access drivers for ODBC, JDBC, ADO.NET, and OLE DB that provide transparent access to enterprise databases.

• OpenLink Virtuoso - available in single server and cluster editions that are deployed in cloud and/or enterprise modes.

• OpenLink Data Spaces Platform and Applications

• OpenLink Ajax Toolkit

• OpenLink Data Explorer

• An Open Source Data Access SDK for ODBC

All OpenLink products are delivered by download from the Internet (http, ftp, etc.). Temporary licenses are issued upon download and may be extended as needed, on a case-by-case basis. Permanent licenses are issued once payment is received.

© 2012 OpenLink Software, All rights reserved.

Page 66: Accessing the Linked Open Data Cloud via ODBC

Products & ServicesProfessional and Support Services

• OpenLink Product Support provides front-line email and phone support,web-based online support, and a variety of premium services such as phone, emergency, and onsite support.

• Our Support staff is comprised of individuals with extensive knowledge of data access, data migration, database administration, programming APIs, and other relevant skills.

• Services are sold in either Standard "Bronze" or Premium "Platinum" Support packages, with varying hours of availability, response times, etc.

• We also offer Custom Development, Training, and other Consultancy services. These services can be offered on- or off-site. Expenses for travel, accommodations, food, etc., associated with on-site services are charged separately.

Rates start at US$250 per person per hour.

© 2012 OpenLink Software, All rights reserved.

Page 67: Accessing the Linked Open Data Cloud via ODBC

Office Locations

USA

OpenLink Software, Inc 10 Burlington Mall Road Suite 265 Burlington, MA 01803 Tel.: +1 781 273 0900 Fax: +1 781 229 8030

© 2012 OpenLink Software, All rights reserved.

UK

OpenLink Software Ltd. Airport House Purley Way Croydon, Surrey CR0 0XZ Tel.: +44 (0)20 8681 7701 Fax: +44 (0)20 8681 7702

Page 68: Accessing the Linked Open Data Cloud via ODBC

Additional Information

OpenLink Software: OpenLink Software OpenLink Virtuoso Universal Data Access Drivers

Social Media Data spaces http://www.openlinksw.com/blog/~kidehen/ (weblog) https://plus.google.com/112399767740508618350/

posts (Google+) https://twitter.com/#!/kidehen (Twitter) Hashtag: #LinkedData (Anywhere) .

© 2012 OpenLink Software, All rights reserved.