26
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, Consultant 22 nd May 2012

Marklogic and the Linked Data Connection

Embed Size (px)

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

Page 1: Marklogic and the Linked Data Connection

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

Page 2: Marklogic and the Linked Data Connection

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

Big Data is big news

Page 3: Marklogic and the Linked Data Connection

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

Volume, Velocity and Variety are growing…

Page 4: Marklogic and the Linked Data Connection

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

Page 5: Marklogic and the Linked Data Connection

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

Page 6: Marklogic and the Linked Data Connection

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

Page 7: Marklogic and the Linked Data Connection

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

RDF and SPARQL

Page 8: Marklogic and the Linked Data Connection

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

A lack of standard protocols...

Page 9: Marklogic and the Linked Data Connection

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

...led to implementation specific APIs

Page 10: Marklogic and the Linked Data Connection

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

and additional complexity

Page 11: Marklogic and the Linked Data Connection

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

Page 12: Marklogic and the Linked Data Connection

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

Page 13: Marklogic and the Linked Data Connection

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

Page 14: Marklogic and the Linked Data Connection

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

Support is Growing for these protocols

Page 15: Marklogic and the Linked Data Connection

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

GRASP GRaph store And SPARQL Protocol

Page 16: Marklogic and the Linked Data Connection

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

Page 17: Marklogic and the Linked Data Connection

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

Page 18: Marklogic and the Linked Data Connection

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

Page 19: Marklogic and the Linked Data Connection

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

But why so many functions?

Page 20: Marklogic and the Linked Data Connection

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!

Page 21: Marklogic and the Linked Data Connection

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

)

Page 22: Marklogic and the Linked Data Connection

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

A RESTful interface for Graph Stores

Page 23: Marklogic and the Linked Data Connection

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

Page 24: Marklogic and the Linked Data Connection

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

Page 25: Marklogic and the Linked Data Connection

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

Time for a Demonstration

Page 26: Marklogic and the Linked Data Connection

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

Thank You

[email protected]