Marklogic and the Linked Data Connection

Preview:

DESCRIPTION

A short talk on the topic of "MarkLogic and the Linked Data Connection", about using MarkLogic with triple stores and running SPARQL queries via the SPARQL HTTP Graph Data Protocol and the SPARQL Protocol.The text for this presentation is in the GitHub project mentioned on slide 16.

Citation preview

Slide 1 Copyright © 2010 MarkLogic® Corporation. All rights reserved.Slide 1 Copyright © 2010 MarkLogic® Corporation. All rights reserved.

MarkLogic and the Linked Data Connection

Philip Fennell, Consultant22nd May 2012

Slide 2 Copyright © 2010 MarkLogic® Corporation. All rights reserved.Slide 2 Copyright © 2010 MarkLogic® Corporation. All rights reserved.

Big Data is big news

Slide 3 Copyright © 2010 MarkLogic® Corporation. All rights reserved.Slide 3 Copyright © 2010 MarkLogic® Corporation. All rights reserved.

Volume, Velocity and Variety are growing…

Slide 4 Copyright © 2010 MarkLogic® Corporation. All rights reserved.Slide 4 Copyright © 2010 MarkLogic® Corporation. All rights reserved.

...but the Value is in the Connections

Slide 5 Copyright © 2010 MarkLogic® Corporation. All rights reserved.Slide 5 Copyright © 2010 MarkLogic® Corporation. All rights reserved.

Big Data’s Valueis underpinned by Linked Data

Slide 6 Copyright © 2010 MarkLogic® Corporation. All rights reserved.Slide 6 Copyright © 2010 MarkLogic® Corporation. All rights reserved.

Linked Data is built uponSemantic Web Technologies

Slide 7 Copyright © 2010 MarkLogic® Corporation. All rights reserved.Slide 7 Copyright © 2010 MarkLogic® Corporation. All rights reserved.

RDF and SPARQL

Slide 8 Copyright © 2010 MarkLogic® Corporation. All rights reserved.Slide 8 Copyright © 2010 MarkLogic® Corporation. All rights reserved.

A lack of standard protocols...

Slide 9 Copyright © 2010 MarkLogic® Corporation. All rights reserved.Slide 9 Copyright © 2010 MarkLogic® Corporation. All rights reserved.

...led to implementation specific APIs

Slide 10 Copyright © 2010 MarkLogic® Corporation. All rights reserved.Slide 10 Copyright © 2010 MarkLogic® Corporation. All rights reserved.

and additional complexity

Slide 11 Copyright © 2010 MarkLogic® Corporation. All rights reserved.Slide 11 Copyright © 2010 MarkLogic® Corporation. All rights reserved.

New protocols from the W3C

SPARQL 1.1 Graph Store HTTP Protocol

SPARQL 1.1 Protocol

Slide 12 Copyright © 2010 MarkLogic® Corporation. All rights reserved.Slide 12 Copyright © 2010 MarkLogic® Corporation. All rights reserved.

SPARQL 1.1 Graph Store HTTP Protocol

Graph Dataset Management over HTTP

Slide 13 Copyright © 2010 MarkLogic® Corporation. All rights reserved.Slide 13 Copyright © 2010 MarkLogic® Corporation. All rights reserved.

SPARQL 1.1 Protocol

SPARQL Queries over HTTP

Slide 14 Copyright © 2010 MarkLogic® Corporation. All rights reserved.Slide 14 Copyright © 2010 MarkLogic® Corporation. All rights reserved.

Support is Growing for these protocols

Slide 15 Copyright © 2010 MarkLogic® Corporation. All rights reserved.Slide 15 Copyright © 2010 MarkLogic® Corporation. All rights reserved.

GRASP GRaph store And SPARQL Protocol

Slide 16 Copyright © 2010 MarkLogic® Corporation. All rights reserved.Slide 16 Copyright © 2010 MarkLogic® Corporation. All rights reserved.

A GitHub project

https://github.com/philipfennell/grasp

Slide 17 Copyright © 2010 MarkLogic® Corporation. All rights reserved.Slide 17 Copyright © 2010 MarkLogic® Corporation. All rights reserved.

XQuery client libraries

lib-gsp.xqy - Graph Store HTTP Protocol

lib-spq.xqy - SPARQL Protocol

Slide 18 Copyright © 2010 MarkLogic® Corporation. All rights reserved.Slide 18 Copyright © 2010 MarkLogic® Corporation. All rights reserved.

A wide range of functionsgsp:add-default-graph, gsp:add-named-graph,

gsp:retrieve-default-graph-metainfo, gsp:retrieve-named-graph-metainfo,

gsp:retrieve-default-graph, gsp:retrieve-named-graph, gsp:merge-default-graph, gsp:merge-named-graph,

gsp:delete-default-graph, gsp:delete-named-graph, gsp:data,

spq:query, spq:data

Slide 19 Copyright © 2010 MarkLogic® Corporation. All rights reserved.Slide 19 Copyright © 2010 MarkLogic® Corporation. All rights reserved.

But why so many functions?

Slide 20 Copyright © 2010 MarkLogic® Corporation. All rights reserved.Slide 20 Copyright © 2010 MarkLogic® Corporation. All rights reserved.

I don’t like too many arguments!

Slide 21 Copyright © 2010 MarkLogic® Corporation. All rights reserved.Slide 21 Copyright © 2010 MarkLogic® Corporation. All rights reserved.

I don’t like optional arguments!xdmp:document-insert(

'/books/collection/A123.xml',<book> <title>Linked Data</title></book>,(), (), (),5780546120451828821

)

Slide 22 Copyright © 2010 MarkLogic® Corporation. All rights reserved.Slide 22 Copyright © 2010 MarkLogic® Corporation. All rights reserved.

A RESTful interface for Graph Stores

Slide 23 Copyright © 2010 MarkLogic® Corporation. All rights reserved.Slide 23 Copyright © 2010 MarkLogic® Corporation. All rights reserved.

Linked Open Data has expandedto this in just five years

Slide 24 Copyright © 2010 MarkLogic® Corporation. All rights reserved.Slide 24 Copyright © 2010 MarkLogic® Corporation. All rights reserved.

The defining factor in the Realization of Big Data's Potential

Slide 25 Copyright © 2010 MarkLogic® Corporation. All rights reserved.Slide 25 Copyright © 2010 MarkLogic® Corporation. All rights reserved.

Time for a Demonstration

Slide 26 Copyright © 2010 MarkLogic® Corporation. All rights reserved.Slide 26 Copyright © 2010 MarkLogic® Corporation. All rights reserved.

Thank You

philip.fennell@marklogic.com

Recommended