FP6-511513 OntoGrid: Paving the way for Knowledgeable Grid Services and Systems www.ontogrid.net WS-DAIOnt-RDF(S) Hands-on session OntoGrid Semantic Grid.

Slides:



Advertisements
Similar presentations
Numbers Treasure Hunt Following each question, click on the answer. If correct, the next page will load with a graphic first – these can be used to check.
Advertisements

Zhongxing Telecom Pakistan (Pvt.) Ltd
AP STUDY SESSION 2.
1
1 Copyright © 2002 Pearson Education, Inc.. 2 Chapter 2 Getting Started.
Distributed Systems Architectures
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 4 Computing Platforms.
Processes and Operating Systems
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 6 Author: Julia Richards and R. Scott Hawley.
Author: Julia Richards and R. Scott Hawley
Myra Shields Training Manager Introduction to OvidSP.
Properties Use, share, or modify this drill on mathematic properties. There is too much material for a single class, so you’ll have to select for your.
© 2006 Open Grid Forum Data Service Specification: RDF(S) Ontology Access Strawman Access Services for RDF Data Resources Miguel Esteban Gutiérrez Univ.
1 Hyades Command Routing Message flow and data translation.
David Burdett May 11, 2004 Package Binding for WS CDL.
Business Transaction Management Software for Application Coordination 1 Business Processes and Coordination. Introduction to the Business.
1 Introducing the Specifications of the Metro Ethernet Forum MEF 19 Abstract Test Suite for UNI Type 1 February 2008.
18 Copyright © 2005, Oracle. All rights reserved. Distributing Modular Applications: Introduction to Web Services.
J2EE Overview.
1 Preliminary results of the Environmental Data Exchange Network for Inland Waters (EDEN-IW) project Practical lessons. P. Haastrup.
1 RA I Sub-Regional Training Seminar on CLIMAT&CLIMAT TEMP Reporting Casablanca, Morocco, 20 – 22 December 2005 Status of observing programmes in RA I.
Properties of Real Numbers CommutativeAssociativeDistributive Identity + × Inverse + ×
Process a Customer Chapter 2. Process a Customer 2-2 Objectives Understand what defines a Customer Learn how to check for an existing Customer Learn how.
Custom Statutory Programs Chapter 3. Customary Statutory Programs and Titles 3-2 Objectives Add Local Statutory Programs Create Customer Application For.
1 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt BlendsDigraphsShort.
Dr. Alexandra I. Cristea CS 253: Topics in Database Systems: C3.
1 Click here to End Presentation Software: Installation and Updates Internet Download CD release NACIS Updates.
Alexey Miroshnikov InfoStroy Ltd. Locatioin: St.Petersburg, Russia Established: 1990 APL: since 1979 First APL conference: 1990, Copenhagen People: 42+
Written by Liron Blecher
Break Time Remaining 10:00.
ACT User Meeting June Your entitlements window Entitlements, roles and v1 security overview Problems with v1 security Tasks, jobs and v2 security.
PP Test Review Sections 6-1 to 6-6
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 31 Slide 1 Service-centric Software Engineering.
1 IMDS Tutorial Integrated Microarray Database System.
Bright Futures Guidelines Priorities and Screening Tables
EIS Bridge Tool and Staging Tables September 1, 2009 Instructor: Way Poteat Slide: 1.
Bellwork Do the following problem on a ½ sheet of paper and turn in.
XML and Databases Exercise Session 3 (courtesy of Ghislain Fourny/ETH)
CS 6143 COMPUTER ARCHITECTURE II SPRING 2014 ACM Principles and Practice of Parallel Programming, PPoPP, 2006 Panel Presentations Parallel Processing is.
Operating Systems Operating Systems - Winter 2011 Dr. Melanie Rieback Design and Implementation.
Operating Systems Operating Systems - Winter 2012 Dr. Melanie Rieback Design and Implementation.
Exarte Bezoek aan de Mediacampus Bachelor in de grafische en digitale media April 2014.
Sample Service Screenshots Enterprise Cloud Service 11.3.
Copyright © 2012, Elsevier Inc. All rights Reserved. 1 Chapter 7 Modeling Structure with Blocks.
12th EELA Tutorial, Lima, FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America.
1 RA III - Regional Training Seminar on CLIMAT&CLIMAT TEMP Reporting Buenos Aires, Argentina, 25 – 27 October 2006 Status of observing programmes in RA.
Basel-ICU-Journal Challenge18/20/ Basel-ICU-Journal Challenge8/20/2014.
1..
CONTROL VISION Set-up. Step 1 Step 2 Step 3 Step 5 Step 4.
Adding Up In Chunks.
MaK_Full ahead loaded 1 Alarm Page Directory (F11)
1 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt Synthetic.
1 hi at no doifpi me be go we of at be do go hi if me no of pi we Inorder Traversal Inorder traversal. n Visit the left subtree. n Visit the node. n Visit.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 12 View Design and Integration.
Chapter 12 Working with Forms Principles of Web Design, 4 th Edition.
Essential Cell Biology
ANSC644 Bioinformatics-Database Mining 1 ANSC644 Bioinformatics §Carl J. Schmidt §051 Townsend Hall §
Clock will move after 1 minute
PSSA Preparation.
Essential Cell Biology
Immunobiology: The Immune System in Health & Disease Sixth Edition
Physics for Scientists & Engineers, 3rd Edition
Energy Generation in Mitochondria and Chlorplasts
RefWorks: The Basics October 12, What is RefWorks? A personal bibliographic software manager –Manages citations –Creates bibliogaphies Accessible.
Introduction Peter Dolog dolog [at] cs [dot] aau [dot] dk Intelligent Web and Information Systems September 9, 2010.
South Dakota Library Network MetaLib User Interface South Dakota Library Network 1200 University, Unit 9672 Spearfish, SD © South Dakota.
Primer Taller en Grid Computing Universidad del Valle, Cali, Colombia January 2007 WS-DAIOnt-RDF(S): RDF(S) Ontology Access Oscar Corcho.
Ontology Access in Grids with WS-DAIOnt and the RDF(S) Realization Semantic Grid Workshop GGF16, Athens, 15th Feb 2006 Ontology Engineering Group, UPM.
Presentation transcript:

FP OntoGrid: Paving the way for Knowledgeable Grid Services and Systems WS-DAIOnt-RDF(S) Hands-on session OntoGrid Semantic Grid Tutorial Manchester, Feb 2007 Miguel Esteban Gutiérrez (U.P.M.)

2OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 Outline of the tutorial  Part I: Theoretical introduction  Part II: Hands-on exercises

3OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 Part I: Theoretical introduction

4OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 Outline of the tutorial Theoretical introduction  An introductory scenario  Ontology share/reuse problem  Possible solutions  Our approach  The specification  Foundations  Operational model  The implementation  Architecture  RDF(S) Storage support

5OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 ? ? Ontology share/reuse problem? ? ? ? ? ? 3Store Kowari

6OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 Possible solutions Access through proprietary interfaces  The client needs to know the specific APIs of every single source it has to connect to:  Operational model  Data model API > API >::methodXXX() result XXX THIN CLIENT

7OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 Possible solutions (II) Acquire the fulls contents  Download overhead: how big is the part of the ontology that will be used?  How often are the ontologies synchronized? HTTP (ontology_url) serialized ontology THICK CLIENT

8OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 Our approach  Standardise an RDF(S) ontology access mechanism that:  Provides an homogeneus access interface  Defines an operational model based on the model itself  Full CRUD (beyond SPARQL protocol)  Prevents the user from dealing directly with the physical resources (resource virtualization)

9OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 The specification WS-DAIOnt-RDF(S)– RDF(S) Access in Grids  Web Services Data Access and Integration – The Ontology Realization for RDF(S) Access  Specification of grid compliant ontology services, which  Defines a set of interfaces for accessing RDF(S) ontologies in a Grid environment  Provides two ways for accessing ontologies: Using model-based access functionalities Using RDF(S) querying languages  Is fully compliant with OGSA  Based on Grid (OGF) and Web Services (OASIS, W3C) standards WS-DAI, WS-RF, WS-Addressing  Is based on Semantic Web standards (W3C): RDF, RDFS, SPARQL

10OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 What is a Grid? License Printer A grid is a system consisting of  Distributed but connected resources and  Software and/or hardware that provides and manages logically seamless access to those resources to meet desired objectives A grid is a system consisting of  Distributed but connected resources and  Software and/or hardware that provides and manages logically seamless access to those resources to meet desired objectives R2AD Database Web server Data CenterCluster HandheldSupercomputer Workstation Server Taken from Hiro Kishimoto’s keynote in GGF17

11OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 The specification (II) The Grid as an ontology deployment playground  EGA Reference Model  De-facto standard grid architecture  Open Grid Services Architecture (OGSA)  SoA and web services based instantiation of EGA Reference Model  Infrastructure Services (i.e. transactions)  Execution Management Services(i.e. job management)  Data Services Security Data Description Data Access Storage Resource Management Cache Services Data Replication Data Federation Metadata Catalogue & Registries  Resource Management Services  Security Services (i.e. AAA)  Self-management Services  Information Services (i.e. provenance) WS-DAI Specification

12OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 The specification (III) How does the specification fit in WS-DAI WS-DAI WS-DAIRWS-DAIX Sets general pattern for realisations Possible Future Realisations Extensions for specific kinds of data resource Relational SQL XML XQuery/XPath WS-DAIOnt-RDF(S) Ontology Ops Query lang.

13OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 The specification (II) Data resources

14OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 The specification (III) Interface organization

15OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 RDFSRepositorySelectorService

16OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 RDFSRepositoryService

17OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 RDFSClassService

18OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 The Implementation Architecture  Two-tier architecture:  Web Service tier, d ifferent layers according access granularity Upper layer: management of multiple repositories Intermediate layer: management of a single repository Lower layer: management of knowledge elements of a given repository  RDF(S) access tier: Abstracts the interaction with specific RDF(S) storages

19OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 Part II: Hands-on exercises

20OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 Outline of the tutorial Hands-on exercises  Methodology  Introducing the players  The software distribution  The sample ontologies  Hands-on work lifecycle overview  Setting up the work environment  Pre-deployment configuration  Prototype services deployment  Post-deployment configuration  Using the services  The repository selector service  The repository service  The class service  Advanced use of the services  Cleaning up

21OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 Methodology  The software will be used in two ways:  Command line clients  Ad-hoc Java clients  The clients will be tested in a controlled scenario:  The scenario will be prepared as part of the practical The resources will be configured The services will be deployed in the container  When the practical ends, the alumni will clean up their computer The services will be undeployed from the container  Two console windows will be necessary:  Client window  Container window

22OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 Setting up the work environment (I) Preparing the resources  Download the resources:  Software: already downloaded yesterday  Ontologies: tutorial/software/backoffice.zip  Unpack the resources:  The directory where the software was unpacked to will be referred to as %DIST%  The directory where the ontologies will be unpacked to will be referred to as %BACKOFFICE%

23OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 Introducing the players (I) The software distribution  Software: ws-daio-rdfs.v0.5.zip(sg-tutorial-install.zip)  Structure:

24OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 Introducing the players (II) The sample ontologies  Sample ontologies: backoffice.zip  Main ontology used:  Insurance Grid Ontology (insurance_grid.rdfs)  Class hierarchy:

25OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 Hands-on work lifecycle overview

26OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 RDFSRepository log RDFSNamespace uri has RDFSSesameRepository SC RDFSSesameFileRepository file RDFSSesameMemoryRepositoryRDFSSesameRemoteRepository user password RDFSSesameHTTPRepository url RDFSSesameRMIRepository rmiuri SC Setting up the work environment (II) Pre-deployment configuration: How to configure the repositoy selector service More RDF(S) Repositories here to be added For example: Jena RDF(S) storage Oracle-RDF RDF distributed systems (ATLAS)

27OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 <rdf:Description rdf:about=" The Insurance Grid Ontology insurance_grid <rdfs_repos:has rdf:resource=" D:/2ndreview/backoffice/insurance_grid.rdfs <rdf:type rdf:resource=" RDFSRepository#RDFSSesameFileRepository"/> The Insurance Grid Ontology Namespace ig_ns <rdf:type rdf:resource=" " " RDFSRepository#RDFSSesameFileRepository" " D:/2ndreview/backoffice/insurance_grid.rdfs Setting up the work environment (III) Pre-deployment configuration: How to configure the repositoy selector service(II) " "

28OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 Setting up the work environment (III) Pre-deployment configuration: Configuring the repositories that are to be used (II)  Configure the repositories that will be managed by the selector service: (at least insurance_grid.rdfs)  Create a file named RDFSRepository.rdf in %DIST%/etc  Create a repository description for the default ontology that we will use: Name: insurance_grid File: insurance_grid.rdfs Log: > Namespace uri:  Include other repository descriptions for any extra repository that you want to use.

29OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 Setting up the work environment (IV) Build  Build the prototype: > ant all

30OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 Setting up the work environment (V) Deploy  Deploy the services: > ant deploy

31OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 Setting up the work environment (VI) Running the container & further configuration  Starting the container (Container window) > globus-start-container -nosec  Post-deployment configuration (Client window)  Set up some helpful environment variables > set %SELECTOR%=\ > set %REPOSITORY%=\ > set %CLASS%=\ > set %NS%=  Set up GT4 environment > globus-devel-env

32OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 Using the services (I) – The Repository Selector Service  Check out how many repositories are available > get-number-of-repositories -s %SELECTOR% There are n repositories available in the backoffice directory managed by the selector.  List the names of the available repositories > list-repositories -s %SELECTOR% The name of each of the repositories managed by the selector will be returned.  Retrieve an available repository > get-repository -s %SELECTOR% insurance_grid repository.rdfs The repository is retrieved and stored in the specified file in RDF/XML.  Load an available repository > load-repository -s %SELECTOR% insurance_grid The service returns the EPR of the repository service to which we have to contact in order to access to the specified repository. The EPR is serialized to a file that will be used in the following examples. It will be referred to as.

33OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 Using the services (II) – The Repository Service  List the available classes in the repository: > list-classes -e The service returns all the available classes defined in the repository, plus those predefined by RDFS.  Load an available class from the repository: > load-class -e %NS%#Company > load-class -e %NS%#PhysicalActor The service returns the EPR of the class service to which we have to contact in order to access to the specified classes. The EPR to access to the Company class will be referred to as, and the EPR to access the PhysicalActor class will be referred to as.

34OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 Using the services (III) – The Class Service (I)  List the direct subclasses of a class: > list-related-classes -e -lr subclasses The result is the direct subclasses of the class, that is, those which appear as subject in a rdfs:subClassOf relationship which has as object the class represented by the service.

35OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 Using the services (IV) – The Class Service (II)  List direct superclasses of a class: > list-related-classes -e -lr superclasses The result is the direct superclasses of the class, that is, those which appear as object in a rdfs:subClassOf relationship which has as subject the class represented by the service.

36OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 Using the services (V) – The Class Service (III)  List of the subclasses of a class: > list-related-classes -e -lr subclasses -chr The result is all the subclasses of the class, that is, those classes which are direct subclasses or have a subclass that is direct subclass of the class represented by the service

37OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 Using the services (VI) – The Class Service (IV)  List of the superclasses of a class: > list-related-classes -e -lr superclasses -chr The result is all the superclasses of the class, that is, those which are direct superclasses or have a superclass that is direct superclass of the class represented by the service

38OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 Using the services (VII) – The Class Service (V)  List of the siblings of the class: > list-related-classes -e -lr siblings The result is the sibling classes of the class, that is, those have the same direct superclasses than the class represented by the service.

39OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 Using the services (VIII) – The Class Service (VI)  List the direct subclasses of a class: > list-related-classes -e -lr subclasses The result is the direct subclasses of the class, that is, those which appear as subject in a rdfs:subClassOf relationship which has as object the class represented by the service.

40OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 Using the services (IX) – The Class Service (VII)  List direct superclasses of a class: > list-related-classes -e -lr superclasses The result is the direct superclasses of the class, that is, those which appear as object in a rdfs:subClassOf relationship which has as subject the class represented by the service.

41OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 Using the services (X) – The Class Service (VIII)  List of the subclasses of a class: > list-related-classes -e -lr subclasses -chr The result is all the subclasses of the class, that is, those classes which are direct subclasses or have a subclass that is direct subclass of the class represented by the service

42OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 Using the services (XI) – The Class Service (IX)  List of the superclasses of a class: > list-related-classes -e -lr superclasses -chr The result is all the superclasses of the class, that is, those which are direct superclasses or have a superclass that is direct superclass of the class represented by the service

43OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 Using the services (XII) – The Class Service (X)  List of the siblings of the class: > list-related-classes -e -lr siblings The result is the sibling classes of the class, that is, those have the same direct superclasses than the class represented by the service.

44OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 Using the services (XIII) – The Repository Service (III)  Execute a simple graph query defined different query languages: > execute-query -e -ql rql class_query.rql > execute-query -e -ql rdql class_query.rdql > execute-query -e -ql serql class_query.serql The simple query used selects the classes defined in the repository:  RQL: class  RDQL: SELECT ?x WHERE (?x )  SERQL: SELECT DISTINCT C FROM {C} rdf:type {rdfs:Class} As expected, the three queries have the same results: the classes defined in the repository plus the predefined by RDFS.

45OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 Using the services (XIV) – The Repository Service (IV)  Execute a simple construct query in SERQL The query creates an ad-hoc S ex:superclassOf C relationship between each two classes S and C such as C rdfs:subClassOf S holds: CONSTRUCT {S} ex:superClassOf {C} FROM {C} rdf:type {rdfs:Class}; rdfs:subClassOf {S} USING NAMESPACE ex =  Using the graph querying interface: > execute-query -e -ql serql construct.serql In this case the results are returned in a table, as happened with the previous queries.  Using the construct query interface: > execute-construct-query -e -ql serql construct.serql construct.result.rdfs In this case the results are stored serialized in RDF/XML in an specified file.

46OntoGrid Semantic Grid Tutorial - Manchester, Feb 2007 Cleaning up  Before moving to the next session, clean the container :-D > cd %DIST% > ant undeploy