the fi-ware project – base platform for future service infrastructures fi-ware: semantic...

28
The FI-WARE Project – Base Platform for Future Service Infrastructures FI-WARE: Semantic Application Support Generic Enabler FI-PPP Webinars Ivan Martinez Mauricio Ciprián

Upload: jane-makepeace

Post on 01-Apr-2015

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: The FI-WARE Project – Base Platform for Future Service Infrastructures FI-WARE: Semantic Application Support Generic Enabler FI-PPP Webinars Ivan Martinez

The FI-WARE Project – Base Platform for Future Service Infrastructures

FI-WARE: Semantic Application Support Generic Enabler

FI-PPP Webinars

Ivan MartinezMauricio Ciprián

Page 2: The FI-WARE Project – Base Platform for Future Service Infrastructures FI-WARE: Semantic Application Support Generic Enabler FI-PPP Webinars Ivan Martinez

The FI-WARE Project – Base Platform for Future Service Infrastructures

2

Follow Semantic Application Support GE

@fiware_semapp

News about the Semantic Application Support GEPlease send us your question and doubts about the GE during the presentation

Page 3: The FI-WARE Project – Base Platform for Future Service Infrastructures FI-WARE: Semantic Application Support Generic Enabler FI-PPP Webinars Ivan Martinez

The FI-WARE Project – Base Platform for Future Service Infrastructures

3

Outline

Overview

Semantic Application Support GESAS Infrastructure

Architecture

Main Interactions

Open RESTful API

SAS Engineering EnvironmentArchitecture

Main Interactions

Open Specification

Next Steps

Summary

Hands on: Using SAS in your application

Q&A Session

Page 4: The FI-WARE Project – Base Platform for Future Service Infrastructures FI-WARE: Semantic Application Support Generic Enabler FI-PPP Webinars Ivan Martinez

The FI-WARE Project – Base Platform for Future Service Infrastructures

4

Overview

The Semantic Application Support enabler aims at providing an effective environment for developers to implement and deploy high quality Semantic Web-based applications

Reasons preventing semantic web adoption:Technical: lack of infrastructure to meet industry requirements in

terms of scalability, distribution, security, etc.

Engineering: not general uptake of methodologies, lack of best practices and supporting tools

Commercial aspects: difficulties to penetrate in the market, lack of understanding of the main strengths and weaknesses of the semantic technologies by company managers, no good sales strategies, etc.

Page 5: The FI-WARE Project – Base Platform for Future Service Infrastructures FI-WARE: Semantic Application Support Generic Enabler FI-PPP Webinars Ivan Martinez

The FI-WARE Project – Base Platform for Future Service Infrastructures

5

OverviewThe Semantic Application Support enabler addresses

some of engineering and technical problems by providing:SAS Infrastructure: An infrastructure for metadata publishing,

retrieving and subscription that meets industry requirements like scalability, distribution and security.

SAS Engineering Environment: A set of tools for infrastructure and data management, supporting most adopted methodologies and best practices.

SAS is built on top of well-known semantic technologies (Sesame, NeOn Toolkit) and enhanced with lessons learnt from applying semantic technologies in several projects belonging to different domains.

Further info: http://forge.fiware.eu/plugins/mediawiki/wiki/fiware/index.php/FIWARE.ArchitectureDescription.Data.SemanticSupport#Semantic_Application_Support_GE_ArchitectureAS

Architecture Overview

Page 6: The FI-WARE Project – Base Platform for Future Service Infrastructures FI-WARE: Semantic Application Support Generic Enabler FI-PPP Webinars Ivan Martinez

The FI-WARE Project – Base Platform for Future Service Infrastructures

6

SAS GE – SAS Infrastructure

SAS InfrastructureArchitecture

Main interactions

Open REST Full API

Page 7: The FI-WARE Project – Base Platform for Future Service Infrastructures FI-WARE: Semantic Application Support Generic Enabler FI-PPP Webinars Ivan Martinez

The FI-WARE Project – Base Platform for Future Service Infrastructures

7

SAS GE – Architecture

Page 8: The FI-WARE Project – Base Platform for Future Service Infrastructures FI-WARE: Semantic Application Support Generic Enabler FI-PPP Webinars Ivan Martinez

The FI-WARE Project – Base Platform for Future Service Infrastructures

8

SAS GE – Architecture

Data layer:A relational database to store ontology documents loaded into the GE.

A Knowledge Base providing OWL-2RL support used by ontology and workspace registries to store ontology and workspace related metadata and by managing, querying and publishing modules to provide their functionality.

Presentation layer:Functionality provided from SAS Infrastructure are supposed to be

accessed for human users by means of the SAS Engineering Environment (aka NeOn Toolkit).

In addition web clients MAY be develop to access specific functionality, mainly related with infrastructure management.

Page 9: The FI-WARE Project – Base Platform for Future Service Infrastructures FI-WARE: Semantic Application Support Generic Enabler FI-PPP Webinars Ivan Martinez

The FI-WARE Project – Base Platform for Future Service Infrastructures

9

SAS GE – Architecture

Business layer:Ontology registry that manages ontologies loaded into the system and its

related metadata. Operations: retrieving / uploading ontology, retrieving / uploading metadata, etc.

Workspace registry that manages workspaces and their related metadata created by users to be used by their semantic enable applications. Operations: creating / deleting a workspace, listing ontologies loaded into the workspace, etc.

Publishing module that allow user to publish data into the GE.

Managing module that allow users to monitor the status and content of the GE. Operations: retrieving a list of available ontologies, retrieving a list of subscriptions, etc

Subscription module that allows users to subscribe to events produced in the GE. Operations: subscribing to ontology updates or workspace modifications.

Querying module that allows users to query their workspace following SPARQL Query Protocol

Page 10: The FI-WARE Project – Base Platform for Future Service Infrastructures FI-WARE: Semantic Application Support Generic Enabler FI-PPP Webinars Ivan Martinez

The FI-WARE Project – Base Platform for Future Service Infrastructures

10

SAS GE – Main Interactions

The description of this functionality is based on the functionality provided by the baseline asset in FI-WARE first release

It describes functionality provided by the GE enabler as service invocation methods for both human or computer agents.

A subset of methods belonging to publishing and managing rest APIs will be provided:

Publishing API:Getting, uploading and deleting ontologies

Getting, uploading and deleting ontology metadata

Management API:Listing ontologies and their versions

Page 11: The FI-WARE Project – Base Platform for Future Service Infrastructures FI-WARE: Semantic Application Support Generic Enabler FI-PPP Webinars Ivan Martinez

The FI-WARE Project – Base Platform for Future Service Infrastructures

11

SAS GE – Open RESTful API

Page 12: The FI-WARE Project – Base Platform for Future Service Infrastructures FI-WARE: Semantic Application Support Generic Enabler FI-PPP Webinars Ivan Martinez

The FI-WARE Project – Base Platform for Future Service Infrastructures

12

SAS GE – Open RESTful API

/ontologies/{ontologyIRI}

/ontologies/{ontologyIRI}/{versionIRI}

Open STFull API Spec - Ontologies

Verb Description

GET Gets the latest version of the ontology from the repository

POST Uploads a new version of the ontology to the repository

DELETE Remove from the repository the latest version of the ontology

Verb Description

GET Gets a specific version of an ontology from the repository

POST Uploads ontology to the repository with a given ontology id and version

DELETE Remove from the repository a specific version of a ontology

Page 13: The FI-WARE Project – Base Platform for Future Service Infrastructures FI-WARE: Semantic Application Support Generic Enabler FI-PPP Webinars Ivan Martinez

The FI-WARE Project – Base Platform for Future Service Infrastructures

13

SAS GE – Open RESTful API

/metadata/{ontologyIRI}

/metadata/{ontologyIRI}/{versionIRI}

Open RESTful API Spec - Metadata

Verb Description

GET Gets the metadata related to the latest version of an ontology

POST Uploads to the registry a new OMV description and relate it to a ontology

DELETE Remove from the repository the metadata related to the latest version of an ontology

Verb Description

GET Gets the metadata related to a given version of an ontology

POST Uploads to the registry a new OMV description and relate it to a ontology version

DELETE Remove from the repository the metadata related to an ontology version

Page 14: The FI-WARE Project – Base Platform for Future Service Infrastructures FI-WARE: Semantic Application Support Generic Enabler FI-PPP Webinars Ivan Martinez

The FI-WARE Project – Base Platform for Future Service Infrastructures

14

SWAS GE – Open RESTful API

/mgm/list

/mgm/list/{ontologyIRI}

API Spec - Management

Verb Description

GET Gets an XML document listing the ontologies contained in the repository and their versions

Verb Description

GET Gets an XML document listing the versions of a given ontology contained in the repository

Page 15: The FI-WARE Project – Base Platform for Future Service Infrastructures FI-WARE: Semantic Application Support Generic Enabler FI-PPP Webinars Ivan Martinez

The FI-WARE Project – Base Platform for Future Service Infrastructures

15

SAS GE – SAS Infrastructure

SAS Engineering EnvironmentArchitecture

Main Interactions

Open Specification

Page 16: The FI-WARE Project – Base Platform for Future Service Infrastructures FI-WARE: Semantic Application Support Generic Enabler FI-PPP Webinars Ivan Martinez

The FI-WARE Project – Base Platform for Future Service Infrastructures

16

SAS GE – Architecture

Page 17: The FI-WARE Project – Base Platform for Future Service Infrastructures FI-WARE: Semantic Application Support Generic Enabler FI-PPP Webinars Ivan Martinez

The FI-WARE Project – Base Platform for Future Service Infrastructures

17

SAS GE – Architecture

SAS Engineering EnvironmentProvides the core ontology editing and engineering functionality.

Relies in eclipse platform for handling project, folders, etc.

Contributed plug-insExtensions that provide extra functionality supporting different phases of

the NeOn Methodology

SWAS GE Architecture

Page 18: The FI-WARE Project – Base Platform for Future Service Infrastructures FI-WARE: Semantic Application Support Generic Enabler FI-PPP Webinars Ivan Martinez

The FI-WARE Project – Base Platform for Future Service Infrastructures

18

SAS GE – Main Interactions

SAS Engineering Environment functionality is based on the functionality provided by the baseline asset NeOn Toolkit. The NeOn Toolkit is a state-of-the-art, eclipse based, open source multi-platform ontology engineering environment, which provides comprehensive support for the ontology engineering life-cycle

It takes advantage of some paradigms introduced by Eclipse including:

Using workspaces, projects, folders and files as containers to organize and store development artifacts.

Using workbench, editors, views and perspectives to provide functionality to the user by means of GUI.

Therefore, most of the functionality provided by SAS Engineering Environment is provided as editors, views and perspectives

Page 19: The FI-WARE Project – Base Platform for Future Service Infrastructures FI-WARE: Semantic Application Support Generic Enabler FI-PPP Webinars Ivan Martinez

The FI-WARE Project – Base Platform for Future Service Infrastructures

19

SAS GE – Main Interactions

Ontology navigation perspective allows users to manage their projects and ontologies, creating or removing projects, loading or creating new ontologies, etc

In the scope of a given ontology, users are able to manage (adding, removing, etc) main ontology contents such as classes, object properties and data properties. Once selected, ontology contents can be edited by means of a proper editor

Page 20: The FI-WARE Project – Base Platform for Future Service Infrastructures FI-WARE: Semantic Application Support Generic Enabler FI-PPP Webinars Ivan Martinez

The FI-WARE Project – Base Platform for Future Service Infrastructures

20

SAS GE – Main Interactions

Class editor is composed of four tabs:

Class restrictions tab that allow the user to modify restrictions applicable to the class.

Taxonomy tabs that allow the user to modify the class ancestors, successors or siblings.

Annotation tab that allows the user to annotate the class con textual descriptions.

Source tab that presents the user the OWL code generated for the described class.

Page 21: The FI-WARE Project – Base Platform for Future Service Infrastructures FI-WARE: Semantic Application Support Generic Enabler FI-PPP Webinars Ivan Martinez

The FI-WARE Project – Base Platform for Future Service Infrastructures

21

SAS GE – Main Interactions

Views present additional information about the items selected in the ontology navigation perspective.

Range view presents for each class, the set of object properties that has the selected class as range

Page 22: The FI-WARE Project – Base Platform for Future Service Infrastructures FI-WARE: Semantic Application Support Generic Enabler FI-PPP Webinars Ivan Martinez

The FI-WARE Project – Base Platform for Future Service Infrastructures

22

SAS GE – Open Specification

SAS Engineering Environment functionality is based on the functionality provided by the baseline asset NeOn Toolkit.

NeOn Toolkit is an outcome of the NeOn Project (2006 – 2010) and nowadays is maintained by the NeOn Foundation…

So the best way to figure out what it can provide is… to download it and start working: http://neon-toolkit.org/

Page 23: The FI-WARE Project – Base Platform for Future Service Infrastructures FI-WARE: Semantic Application Support Generic Enabler FI-PPP Webinars Ivan Martinez

The FI-WARE Project – Base Platform for Future Service Infrastructures

23

SAS GE – SAS Next Steps

SAS Next Steps:Semantic Repository Component providing:

Application workspace management

RDF Schema + RDF Data storing

Synchronization with Ontology Registry

Frontend Functionality based on NeOn Toolkit framework. Most of the functionality provided by SAS Engineering Environment will be provided as editors, views and perspectives.

Under Ontology Navigation perspective users are able to manage their projects and ontologies, creating or removing projects, loading or creating new ontologies, etc.

In the scope of a given ontology, users are able to manage (adding, removing, etc) main ontology contents such as classes, object properties and data properties. Once selected, ontology contents can be edited by means of a proper editor.

Page 24: The FI-WARE Project – Base Platform for Future Service Infrastructures FI-WARE: Semantic Application Support Generic Enabler FI-PPP Webinars Ivan Martinez

The FI-WARE Project – Base Platform for Future Service Infrastructures

24

Summary

Semantic Web Application Support GE has been presented, including objectives, basic principles and architecture.

A concrete description of the functionalities that will be available for the first FI-WARE release has been made.

We are wiling to collaborate with UC Projects so let me remind that there is a tracker system so you can suggest functionality, ask for implementation order and interact with the team developing SAS GE.Data Tracker

Page 25: The FI-WARE Project – Base Platform for Future Service Infrastructures FI-WARE: Semantic Application Support Generic Enabler FI-PPP Webinars Ivan Martinez

The FI-WARE Project – Base Platform for Future Service Infrastructures

25

Hands On: Using SAS GE in your applications.

SAS Service Endpoint (URL):

http://semanticas.lab.fi-ware.eu:8180/ontology-registry-service/webresources/ontology-registry

Demos:Demo1: Register an ontology in the Registry

Demo 2: List the ontologies contained in the repository and their versions.

Demo 3: List the versions of a given ontology contained in the repository.

Demo 4: Get the metadata related to the latest version of an ontology.

Demo 5:Get the latest version of the ontology from the repository.

Demo 6:Get a specific version of an ontology from the repository.

Page 26: The FI-WARE Project – Base Platform for Future Service Infrastructures FI-WARE: Semantic Application Support Generic Enabler FI-PPP Webinars Ivan Martinez

The FI-WARE Project – Base Platform for Future Service Infrastructures

26

Q&A Session

@fiware_semapp

Send us your questions through Twitter

Page 27: The FI-WARE Project – Base Platform for Future Service Infrastructures FI-WARE: Semantic Application Support Generic Enabler FI-PPP Webinars Ivan Martinez

The FI-WARE Project – Base Platform for Future Service Infrastructures

Thank You !!

Page 28: The FI-WARE Project – Base Platform for Future Service Infrastructures FI-WARE: Semantic Application Support Generic Enabler FI-PPP Webinars Ivan Martinez

The FI-WARE Project – Base Platform for Future Service Infrastructures

28

SAS GE – Main Interactions

GONTT

Label Translator