+ All Categories
Home > Education > LarKC Tutorial at ISWC 2009 - Data Model

LarKC Tutorial at ISWC 2009 - Data Model

Date post: 03-Dec-2014
Category:
Upload: larkc
View: 1,117 times
Download: 0 times
Share this document with a friend
Description:
The aim of the EU FP 7 Large-Scale Integrating Project LarKC is to develop the Large Knowledge Collider (LarKC, for short, pronounced “lark”), a platform for massive distributed incomplete reasoning that will remove the scalability barriers of currently existing reasoning systems for the Semantic Web. The LarKC platform is available at larkc.sourceforge.net. This talk, is part of a tutorial for early users of the LarKC platform, and describes the data model used within LarKC.
Popular Tags:
11
Copyright 2007 LarKC Data Layer Early adopter’s workshop
Transcript
Page 1: LarKC Tutorial at ISWC 2009 - Data Model

Copyright 2007

LarKC Data Layer

Early adopter’s workshop

Page 2: LarKC Tutorial at ISWC 2009 - Data Model

Objectives

To provide a standard API for RDF persistence To implement different strategies of data passing

(by value vs. by reference) To realize efficient RDF statement meta-data

association To offer utility model to simplify common RDF data

management tasks

Page 3: LarKC Tutorial at ISWC 2009 - Data Model

ORDI Data Model

RDF model states universal-true Named graphs do not ensure the required

flexibility to model complex context/meta-data Provenance of the information Author / time stamp created / selection

Isolate data from the meta-data on RDF model level

Page 4: LarKC Tutorial at ISWC 2009 - Data Model

ORDI Data Model Semantics

Neutral in terms of semantics Well defined data model operations

add – asserts new RDF statement remove – retract an RDF statement associate – add statement to a labelled group deassociate – remote statement from a labelled

group

Page 5: LarKC Tutorial at ISWC 2009 - Data Model

ORDI Data Model Example

Operationsadd(a:alice, foaf:name, “Alice”, ng:g1)

add(b:bob, foaf:knows, a:alice, ng:g2, {l:l1})

add(a:alice, foaf:name, “Alice”, ng:g2)

associate(a:alice, foaf:name, “Alice”, ng:g1, l:l2)

associate(a:alice, foaf:name, “Alice”, ng:g2, l:l2)

associate(a:alice, foaf:name, “Alice”, ng:g2, l:l3)

remove(a:alice, foaf:name, “Alice”, ng:g2)

Alice

foaf:name

foaf:knows

foaf:name

b:bob

a:alice

ng:g1

ng:g2

L1

L2

L2

L3

Page 6: LarKC Tutorial at ISWC 2009 - Data Model

Used Concepts in the Data Model

NG1 NG3

NG4 NG5

NG2

Labelled groupsof statements Labelled groups

of statements

Page 7: LarKC Tutorial at ISWC 2009 - Data Model

Supported Sets of Statements

RDF data types Description Example

Set of statement RDF statements s1, p1, o1, ng1s2, p2, o2s3, p3, o3, ng3, {group1}

RDF graph Named graph s1, p1, o1, ng1, {group1}s2, p2, o2, ng1, {group2}s3, p3, o3, ng1

Dataset SPARQL dataset represents a collection of graphs

s1, p1, o1, ng1s2, p2, o2, ng2s3, p3, o3, ng3

Labelled group of statements

RDF group of statements

s1, p1, o1, ng1, {group1}s2, p2, o2, ng2, {group1}s3, p3, o3, ng3, {group1}

Page 8: LarKC Tutorial at ISWC 2009 - Data Model

Java Interfaces to Implement the RDF Types

Page 9: LarKC Tutorial at ISWC 2009 - Data Model

Java Interfaces to Create the RDF Types

Page 10: LarKC Tutorial at ISWC 2009 - Data Model

The Different Implementations

Name Purpose Cost to pass 106 RDF statements

Set of statements Services to return RDF data (e.g., SPARQL construct and describe queries)

350MB memory

Named graph in memory Pass named graphs between plug-ins

350MB memory

HTTP published RDF graph Load chunks of RDF from URL

few KBs + time to load the data

Named graph retrieved from a SPARQL endpoint

Pass named graphs using a SPARQL endpoint

few KBs + time to transfer the data + to filter the dataset with SPARQL

SPARQL dataset Constrain RDF data exposed by a SPARQL endpoint with a list of graph names

few KBs + time to transfer the data + to filter the dataset with SPARQL

Labelled group of statements Pass arbitrary sets of RDF statements between plug-ins (e.g., graph priming)

few KBs + time to associate the statements + time to filter the labelled group

Page 11: LarKC Tutorial at ISWC 2009 - Data Model

Questions?


Recommended