ws-dai rdf(s) specification

30
© 2006 Open Grid Forum OGF28 DAIS Working Group WS-DAI RDF(S) Specification Isao Kojima Information Technology Research Institute AIST Japan

Upload: tehya

Post on 22-Feb-2016

34 views

Category:

Documents


0 download

DESCRIPTION

WS-DAI RDF(S) Specification . OGF28 DAIS Working Group. Isao Kojima Information Technology Research Institute AIST Japan. OGF IPR Policies Apply. “ I acknowledge that participation in this meeting is subject to the OGF Intellectual Property Policy. ” - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: WS-DAI RDF(S)   Specification

© 2006 Open Grid Forum

OGF28 DAIS Working Group

WS-DAI RDF(S) Specification

Isao KojimaInformation Technology Research InstituteAISTJapan

Page 2: WS-DAI RDF(S)   Specification

© 2006 Open Grid Forum 2

OGF IPR Policies Apply• “I acknowledge that participation in this meeting is subject to the OGF Intellectual Property Policy.” • Intellectual Property Notices Note Well: All statements related to the activities of the OGF and

addressed to the OGF are subject to all provisions of Appendix B of GFD-C.1, which grants to the OGF and its participants certain licenses and rights in such statements. Such statements include verbal statements in OGF meetings, as well as written and electronic communications made at any time or place, which are addressed to:

the OGF plenary session, any OGF working group or portion thereof, the OGF Board of Directors, the GFSG, or any member thereof on behalf of the OGF, the ADCOM, or any member thereof on behalf of the ADCOM, any OGF mailing list, including any group list, or any other list functioning under OGF auspices, the OGF Editor or the document authoring and review process

• Statements made outside of a OGF meeting, mailing list or other function, that are clearly not intended to be input to an OGF activity, group or function, are not subject to these provisions.

• Excerpt from Appendix B of GFD-C.1: ”Where the OGF knows of rights, or claimed rights, the OGF secretariat shall attempt to obtain from the claimant of such rights, a written assurance that upon approval by the GFSG of the relevant OGF document(s), any party will be able to obtain the right to implement, use and distribute the technology or works when implementing, using or distributing technology based upon the specific specification(s) under openly specified, reasonable, non-discriminatory terms. The working group or research group proposing the use of the technology with respect to which the proprietary rights are claimed may assist the OGF secretariat in this effort. The results of this procedure shall not affect advancement of document, except that the GFSG may defer approval where a delay may facilitate the obtaining of such assurances. The results will, however, be recorded by the OGF Secretariat, and made available. The GFSG may also direct that a summary of the results be included in any GFD published containing the specification.”

• OGF Intellectual Property Policies are adapted from the IETF Intellectual Property Policies that support the Internet Standards Process.

Page 3: WS-DAI RDF(S)   Specification

© 2006 Open Grid Forum

Outline• Overview and the Status of the Activity

• Motivational Doc is Published as an OGF informational Doc. • Waiting for the finalization of WS-DAI Core

• Specifications Introduction• Query Spec.• Ontology Spec.

• We don’t have much progress on them,,

• Discussions3

Page 4: WS-DAI RDF(S)   Specification

© 2006 Open Grid Forum 4

WS-DAI-RDF(S) Standard Structure  What is all about?

• Providing an access mechanism to RDF(S) data resourcesRDF(Resource Description Framework)

• Common Data Representation in the Semantic Web area• RDF(S) = RDF Schema• The number of RDF resouces is increasing worldwide

(billions of triples)

New WS-DAI realization for RDF(S) datawhich will consist of 2 complementary specifications

1. RDF(S) Ontology AccessOntological Primitives based on RDF(S) model(as Class)

2. RDF(S) QueryingQuery Language(SPARQL) for Instances

WS-DAIRRelational Access

WS-DAIXXML Access

WS-DAI-RDF(S)-ONT

Ontology Access

WS-DAI-RDF(S)-Query

Query Access

WS-DAI-RDF(S)Resource Definition

Common Vocabulary

WS-DAIMessage Patterns

Core Interfaces, Messages and Properties

Use either or bothaccording to your needs

Page 5: WS-DAI RDF(S)   Specification

© 2006 Open Grid Forum 5

DAIS for RDF: History• 2006.02: GGF16 at Athens

• DAIS for RDF BOF: Share the Motivation

• 2006.05: GGF17 at Tokyo• Charter Discussion • Focus on RDF and RDF Schema

(RDF(S))• Scope/Roadmap/Deliverables

• 2006.06: RDF F2F at Edinburgh • Decide to make an informational

document• Motivational Document : Structure

Discussion• 2006.09: GGF18 at Washington

• Motivational Doc Presented• 2007.02 : OGF19 at Chapel Hill,

NC• 2 initial Specification Documents

Presented• 2007.05: OGF20 at Manchester

• Initial version of the “Glossary of the Terms” is presented

• More Use Cases Presented.

2007.09 : OGF21 at SeattleDocuments updated

Glossary of Terms Executive summary for Querying spec is presented.

Roadmap/Schedule is revised2008.02:OGF22 at BostonAgreed Terms PresentedDocuments updated2008.06:OGF23 at BarcelonaDocuments updatedCharter is updated2008.09:OGF24 at Singapore Status Updated 2009.02:OGF25 at Catania Status Updated Roadmap Rescheduled 2009.09:OGF27 at Banff Motivational Doc Submitted & went into Public-Comment Phase

Page 6: WS-DAI RDF(S)   Specification

© 2006 Open Grid Forum 6

Progress after OGF27• Motivational Document is Published as an OGF

Informational Document ( 30th ,Dec. 2009)WS-DAI RDF(S) Realization: Introduction, Motivational Use Cases

and TerminologiesGFD.163 (http://www.ogf.org/documents/GFD.163.pdf)- In order to advertise our activity• Introduction• Use Cases

• New from ADMIRE Group• Agreed Terminology

• Extracted from our old in-discussion “Glossary of Terms” doc

Page 7: WS-DAI RDF(S)   Specification

© 2006 Open Grid Forum

Related info

• Our Journal Paper is also published.• M.Esteban, I Kojima et al. “Accessing RDF(S) Data Resources in Service-based Grid Environment”

• In the OGF Special Issue of “Concurrency and Computation” Journal Vol.21. No.8. June 2009 issue

7

Page 8: WS-DAI RDF(S)   Specification

© 2006 Open Grid Forum 8

Usecases – Semantic Web & the Grid

RP

SMRRDF-DB

ontologymapping

WS

WS

S-MDS

Semanticbindings

VOontology

S-OGSA

grid resource

grid resource

RP

RDFrepository

Other semanticGrid tools

Response

SPARQLExecute()

semanticmatchmaker

requester

SPARQLAccess

RDF(S)DataAccess

Service

SPARQLAccess

RDF(S)DataAccess

Service

SPARQLAccess

RDF(S)DataAccess

Service

SPARQLAccess

RDF(S)DataAccess

Service

SPARQLAccess

RP

SMRRDF-DB

ontologymapping

WS

WS

S-MDS

Semanticbindings

VOontology

S-OGSA

grid resource

grid resource

RP

RDFrepository

Other semanticGrid tools

Response

SPARQLExecute()

semanticmatchmaker

requester

SPARQLAccess

RDF(S)DataAccess

Service

SPARQLAccess

RDF(S)DataAccess

Service

SPARQLAccess

RDF(S)DataAccess

Service

SPARQLAccess

RDF(S)DataAccess

Service

SPARQLAccess

Query-based Semantic Matchmaking for Grid Resources

The GridThe GridThe GridUCR

RDF-DBUCR

RDF-DB

UCRRDF-DB

UCRRDF-DB

DistributedProcessing

SPARQL

RFIDRFID

RFIDRFIDRFID

RFID

RFID

RDASRDAS

RDASRDASRDASRDAS

RDASRDAS

RDAS: RDF(S) Data Access ServiceSA: SPARQLAccess

SA

SASA

SA

The GridThe GridThe GridUCR

RDF-DBUCR

RDF-DB

UCRRDF-DB

UCRRDF-DB

DistributedProcessing

SPARQL

RFIDRFIDRFIDRFID

RFIDRFIDRFIDRFIDRFIDRFID

RFIDRFID

RFIDRFID

RDASRDAS

RDASRDASRDASRDAS

RDASRDAS

RDAS: RDF(S) Data Access ServiceSA: SPARQLAccess

SA

SASA

SA

Grid Resource Monitoring & Annotation suscribe

RDF(S) Data

ResourceMetadata Repository

RDF(S) Data Access

Service

Ontology Access

RDF(S) Data

ResourceOntology

Repository

RDF(S) Data Access

Service

Ontology Access

Grid Resource

Monitorization Facilities

Monitorizing Agent

Grid Resource

Monitorization Facilities

.

.

.

1

change event2

find affected elements3

delete obsolete metadata4

update out-of-date metadata5

Create new metadata6

Distributed SPARQL Processing forDistributed Metadata for RFIDs

query metadata6 query

metadata6

retrieve articulations5

Ontology Articulation

Maker Service

Articulation Repository

RDF(S)Data

Resource

RDF(S) Data Access Service

Ontology Access

Metadata Repository

RDF(S)Data

Resource

RDF(S) Data Access Service

Ontology Access

Metadata Repository

RDF(S)Data

Resource

RDF(S) Data Access Service

Ontology Access

OntologyRepository

RDF(S)Data

Resource

RDF(S) Data Access Service

Ontology Access

Metadata Repository

RDF(S)Data

Resource

RDF(S) Data Access Service

Ontology Access

Metadata Repository

RDF(S)Data

Resource

RDF(S) Data Access Service

Ontology Access

OntologyRepository

alignontologies1

Browse ontologies2 Browse

ontologies2

store articulations3

discover resources4User

discoveredresources8

7

Semantic Aggregator

Service

Virtual Organization A Virtual Organization B

Aggregation of Heterogeneous Grid Resource Metadata

Page 9: WS-DAI RDF(S)   Specification

© 2006 Open Grid Forum

Latest Usecase• ADMIRE (Advanced Data Mining and Integration in Europe) Project • Resource Registry

• Manages distributed metadata of “Processing Element”• SPARQL is used to discover “P.E.” resource.

• local and/or global

9

Page 10: WS-DAI RDF(S)   Specification

© 2006 Open Grid Forum 10

Terminology

RDF(S) Data Resource• Data source/sink that is based on the RDF data

model + management infrastructure which may exhibit RDF(S) model based views

Relationships of Terms between 2 specs.

Ontology Querying• Repository RDF Graph

A set of RDF Triples• RepositoryCollection GraphCollection

A set of Repositories or RDF Graphs = RDF(S) Data Resouce

Page 11: WS-DAI RDF(S)   Specification

© 2006 Open Grid Forum 11

Terminology

DataSource/

Sink

R D FDa

at

Mod e l

RD

F(S) Data R

esourceRDF(S)

DataAccessService

SPARQLAccess

RDF(S)Data

AccessService

OntologyAccess

views it as a GraphCollection

views it as a RepositoryCollection

• The naming duality is due to the way in which each specification views the RDF(S) data resources• (The location transparent names via an End Point Identifier (EPI) can be

used to identify the resource sameness)

RDF(S)Model

Mana

t

emen

g

Infra

Page 12: WS-DAI RDF(S)   Specification

© 2006 Open Grid Forum 12

Current Documents2 spec documents are on the forgeOther documents are merged and published as GFD-I-129. 1. DAIS RDF(S) Background & Motivational Scenarios2. WS-DAI RDF(S) Querying3. WS-DAI RDF(S) Ontology Access 4. Glossary of Terms5 . Executive summary of Querying Specification

• Query Spec is almost stable » No Major Improvement from OGF24!

• Ontology Spec still need to be concised» Still work in Progress

Page 13: WS-DAI RDF(S)   Specification

© 2006 Open Grid Forum

WS-DAI (Core & Relational) Interop Testing &Query Specification

Our WS-DAI RDF(S) implementations which supports Core• We found an implementation problem when using JAXB.

• We could not generate DataResourceAddressType in factory pattern• JAXB creates EPR Type as a final class and extending it is impossible

• ADMIRE Group, who is also doing the another implementation is facing with the same problem.

• We need to replace DataResourceAddressType with EndPointReferenceType in the factory pattern of WS-DAI Core.• Proposal is included in the InteropTest Doc(GFD.160).

• 7.1 changes to the WS-DAI core document (17)• Implementation will be restarted &completed if accepted (as presented later).• Querying specification should be adjusted based on the final WS-DAI

Core.

Page 14: WS-DAI RDF(S)   Specification

© 2006 Open Grid Forum

WS-DAI RDF(S) QueryingSpecification Discussions

OGF28 DAIS Working Group

Page 15: WS-DAI RDF(S)   Specification

© 2006 Open Grid Forum 15

Querying Specification Overview• Direct and Indirect Access for RDF data

using SPARQL • Based on the WS-DAI core model

Consumer

SPARQLExecuteFactory (DataResourceAbstractName,PortTypeQName,ConfigurationDocument,SPARQLQueryRequest )

Reference to SPARQL Query Results SPARQLFactory

SPARQLResultsSetAccess

GetResults(StartPosition,ResultCounts )

Results

SPARQLItemsSetDescription

SPARQLAccessDescription

Consumer

SPARQLExecute(DataResourceAbstractName,DatasetFormatURISPARQLQueryRequest)

SPARQLExecuteResponse(Dataset)

RDF(S) Data Access Service

SPARQLAccess

DirectAccess

IndirectAccess

Page 16: WS-DAI RDF(S)   Specification

© 2006 Open Grid Forum 16

Querying Specification Status• Seems to be Almost Stable • AIST Implementation is ongoing

• Based on our OGSA-DAI-RDF• Implementing with JAXB

• Waiting for the publication of the final WS-DAI Core• Basic pattern is OK if EPR is used(as presented later).

• ADMIRE Implementation is ongoing• Also based on OGSA-DAI

Page 17: WS-DAI RDF(S)   Specification

© 2006 Open Grid Forum

Implementation: OGSA-DAI RDF

• A Set of RDF Processing Activities & Utilitieshttp://dbgrid.org/OGSA-DAI-RDF

• V1.0 (DAI2.2 based) is available• V2.0 (DAI3.0 based. 3.2 is also supported)

• Currently public as Technical Preview• Used for limited applications

• Monitoring database of S-MDS • Records history of monitoring data with OWL• Rule based statistical Processing

• Service Repository of AIST Semantic SOA• Service Workflow is represented with RDF and stored.

• Federated SPARQL prototype(ongoing)17

Page 18: WS-DAI RDF(S)   Specification

© 2006 Open Grid Forum

WS-DAI RDF(S) Querying AIST Implementation Status • WS-DAIRDF(S) Querying with JAXB• OGSA-DAI RDF2.0(with OGSA-DAI 3.2) Jena2.6

Basic Pattern is already Implemented (assuming the use of EPR)

• GetPropertyDocument: Get Metadata of the Resource(WS-DAI Core)• SparqlExecute : Execute SPARQL Query (Direct Access)• SparqlFactory: Execute SPARQL Query(Indirect Access)• GetItemsSetPropertyDocument: Get Metadata of the ResultsSet• GetResultsSet: Get Records from the ResultsSet

18

Page 19: WS-DAI RDF(S)   Specification

© 2006 Open Grid Forum

Discussion before Submission

• Adjust the spec based on the final WS-DAI• Confirm the Spec.

• No more Metadata?• Get feedback from ongoing Implementations

• Find and/or Clear the ambiguity of the spec

19

Page 20: WS-DAI RDF(S)   Specification

© 2006 Open Grid Forum

WS-DAI RDF(S) Ontology Access

OGF28 DAIS Working Group

Page 21: WS-DAI RDF(S)   Specification

© 2006 Open Grid Forum

IntroductionGoal & Objectives

• Goal:“To provide access to RDF(S) data sources in a grid fashion, without constraining what the user could manually do (specially when serializing a local RDF/XML file), and facilitating common tasks, providing a highly flexible and adaptable access mechanism that hides technicalities of RDF(S) to the user, whilst transparently exploits its full semantics”

• Objectives:• Full RDF(S) coverage• R+W capabilities• Granular data access• Resource centric API

Page 22: WS-DAI RDF(S)   Specification

© 2006 Open Grid Forum

OverviewData ResourcesTypes & Organization

manages ►

contais ▼

+ repositories

+ resources

<<data resource>>Repository

*

*

<<data resource>>RepositoryCollection

<<data resource>>Resource

<<data resource>>List

<<data resource>>Container

<<data resource>>Statement

<<data resource>>Property

<<data resource>>Class

Convenience abstractions

Class placeholder

Class placeholders

Page 23: WS-DAI RDF(S)   Specification

© 2006 Open Grid Forum

OverviewConcepts, revisitedResource lifecycle

• Creation:• Explicit: a triple is created with the resource as subject.• Implicit: a triple is created with the resource as predicate or object.

• (Property value) Attachtment:• Explicit: adding a new triple which uses an already existing resource as

subject.• Implicit: adding a triple which uses an existing resource as predicate or

object, and due to RDF(S) entailment rules, new property values are automatically attached.

• (Property value) Detachment:• Explicit: removing a triple which has the resource as subject.• Implicit: removing a triple that has the resource as predicate or object,

and as a result inferred property values are lost (no longer explicit).• Removal:

• No triples using the resource exist.

Page 24: WS-DAI RDF(S)   Specification

© 2006 Open Grid Forum

OverviewInterfacesOrganization

Container Data Access Service

ContainerAccess

ContainerFactory

ContainerDescription

List Data Access Service

ListAccess

ListFactory

ListDescription

Statement Data Access Service

StatementAccess

StatementDescription

Property Data Access Service

PropertyAccess

PropertyDescription

Class Data Access Service

ClassAccess

ClassDescription

Resource Data Access Service

ResourceAccess

ResourceDescription

Repository Service Data Access Service

RepositoryAccess

RepositoryFactory

RepositoryDescription

Repository Collection Data Access Service

RepositoryCollectionAccess

RepositoryCollectionFactory

RepositoryCollectionDescription

ContainerIterator Data Access Service

ContainerIteratorAccess

ContainerDescription

Alt Data Access Service

AltAccess

ContainerDescription

ListIterator Data Access Service

ListIteratorAccess

ListDescription

Native interfaces

Utility interfaces

Page 25: WS-DAI RDF(S)   Specification

© 2006 Open Grid Forum

OverviewInterfacesSummary

Static Confi. TotalDirect Access

Indirect Access

RepositoryCollectionDescription Description 2 0 2 0 0RepositoryCollectionAccess Access 0 0 0 4 0RepositoryCollectionFactory Factory 0 0 0 0 1

RepositoryDescription Description 1 0 1 0 0RepositoryAccess Access 0 0 0 6 0RepositoryFactory Factory 0 0 0 0 6

ResourceDescription Description 2 0 2 0 0ResourceAccess Access 0 0 0 13 0ClassDescription Description 2 0 2 0 0

ClassAccess Access 0 0 0 8 0PropertyDescription Description 2 0 2 0 0

PropertyAccess Access 0 0 0 13 0StatementDescription Description 2 0 2 0 0

StatementAccess Access 0 0 0 5 0ListDescription Description 2 0 2 0 0

ListAccess Access 0 0 0 9 0ListFactory Factory 0 0 0 0 1

ListIteratorAccess Access 0 0 0 2 0ContainerDescription Description 3 0 3 0 0

ContainerAccess Access 0 0 0 6 0ContainerFactory Factory 0 0 0 0 2

ContainerIteratorAccess Access 0 0 0 2 0AltAccess Access 0 0 0 8 0

16 0 16 76 10

Property

Statement

List

Container

TOTAL

Interface Name CategoryProperties MessagesData

Resource

RepositoryCollection

Repository

Resource

Class

86 Messages!

Page 26: WS-DAI RDF(S)   Specification

© 2006 Open Grid Forum

WS-DAI-RDF(S) Ontology Realization

Profile 2:Full RDF(S) Support

OverviewProfiles

Profile 1:RDF Schema Support

Profile 0:Basic RDF Support

RepositoryCollectionRepositoryResource

ClassProperty

StatementContainerList

RepositoryCollectionAccessRepositoryCollectionFactoryRepositoryAccessRepositoryFactoryResourceAccess

ClassAccessPropertyAccess

StatementAccessContainerAccessContainerFactoryContainerIteratorAltAccessListAccessListFactoryListIterator

Page 27: WS-DAI RDF(S)   Specification

© 2006 Open Grid Forum

Class Hierarchy and the Profiles

27

Page 28: WS-DAI RDF(S)   Specification

© 2006 Open Grid Forum

Current StatusProfile 0Summary

Static Confi. TotalDirect Access

Indirect Access

RepositoryCollectionDescription Description 2 0 2 0 0RepositoryCollectionAccess Access 0 0 0 4 0RepositoryCollectionFactory Factory 0 0 0 0 1

RepositoryDescription Description 1 0 1 0 0RepositoryAccess Access 0 0 0 6 0RepositoryFactory Factory 0 0 0 0 1

ResourceDescription Description 2 0 2 0 0ResourceAccess Access 0 0 0 13 0

5 0 5 23 2

Properties MessagesData Resource

TOTAL

RepositoryCollection

Repository

Resource

Interface Name Category

21 2

Page 29: WS-DAI RDF(S)   Specification

© 2006 Open Grid Forum

Ontology Access

29

• Still need to be concised by parametarizing APIs• RoadMap/Timeline is undefined• More contributors wanted.

Page 30: WS-DAI RDF(S)   Specification

© 2006 Open Grid Forum

Discussions?

30