Semantic Services. Michael Wollowski

Similar documents
OWL a glimpse. OWL a glimpse (2) requirements for ontology languages. requirements for ontology languages

Web Ontology Language: OWL

Linked data basic notions!

Web Ontology Language: OWL

Web Ontology Language: OWL by Grigoris Antoniou Frank van Harmelen

Chapter 4 Web Ontology Language: OWL

KDI OWL. Fausto Giunchiglia and Mattia Fumagallli. University of Trento

Table of Contents. iii

Web Ontology Language: OWL

Contents. G52IWS: The Semantic Web. The Semantic Web. Semantic web elements. Semantic Web technologies. Semantic Web Services

Short notes about OWL 1

Description Logic. Eva Mráková,

Main topics: Presenter: Introduction to OWL Protégé, an ontology editor OWL 2 Semantic reasoner Summary TDT OWL

Semantic Web Technologies: Web Ontology Language

Publishing OWL ontologies with Presto

Introduction to OWL. Marco Ronchetti Università di Trento Italy

Deep integration of Python with Semantic Web technologies

Living in a Transparent Future: Search in a Wired World

Extracting knowledge from Ontology using Jena for Semantic Web

Semantic Technologies

For return on 19 January 2018 (late submission: 2 February 2018)

Chapter 2 AN INTRODUCTION TO THE OWL WEB ONTOLOGY LANGUAGE 1. INTRODUCTION. Jeff Heflin Lehigh University

CHAPTER 4 Semantic Web Technologies

Knowledge Representations. How else can we represent knowledge in addition to formal logic?

Today: RDF syntax. + conjunctive queries for OWL. KR4SW Winter 2010 Pascal Hitzler 3

Chapter 4 OWL. Outline. A Brief History of OWL: SHOE. The OWL Family Tree

SADI Semantic Web Services

Mustafa Jarrar: Lecture Notes on RDF Schema Birzeit University, Version 3. RDFS RDF Schema. Mustafa Jarrar. Birzeit University

RDF. Dr. Mustafa Jarrar. Knowledge Engineering (SCOM7348) University of Birzeit

An Introduction to the Semantic Web. Jeff Heflin Lehigh University

BUILDING THE SEMANTIC WEB

FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES

Helmi Ben Hmida Hannover University, Germany

08 OWL SEMANTIC WEB ONTOLOGY WEB LANGUAGE IMRAN IHSAN ASSISTANT PROFESSOR, AIR UNIVERSITY, ISLAMABAD

Ontological Modeling: Part 7

The P2 Registry

The OWL API: An Introduction

Semantic Web. Tahani Aljehani

DEVELOPING AN OWL ONTOLOGY FOR E- TOURISM

Efficient Querying of Web Services Using Ontologies

GraphOnto: OWL-Based Ontology Management and Multimedia Annotation in the DS-MIRF Framework

The Semantic Web. Mansooreh Jalalyazdi

H1 Spring C. A service-oriented architecture is frequently deployed in practice without a service registry

Knowledge Representation for the Semantic Web

INF3580 Semantic Technologies Spring 2012

Chapter 4 OWL. Outline. The OWL Family Tree. A Brief History of OWL: SHOE

The Semantic Web. Web Programming. Uta Priss ZELL, Ostfalia University. The Semantic Web RDF and OWL Ontologies

Adding formal semantics to the Web

INF3580/4580 Semantic Technologies Spring 2017

Semantic Web. Ontology and OWL. Morteza Amini. Sharif University of Technology Fall 95-96

An Argument For Semantics

Outline RDF. RDF Schema (RDFS) RDF Storing. Semantic Web and Metadata What is RDF and what is not? Why use RDF? RDF Elements

Ontologies and OWL. Riccardo Rosati. Knowledge Representation and Semantic Technologies

Limitations of the WWW

RDF Schema. Mario Arrigoni Neri

SEMANTIC WEB 05 RDF SCHEMA MODELLING SEMANTICS IMRAN IHSAN ASSISTANT PROFESSOR, AIR UNIVERSITY, ISLAMABAD

Semantic Web KM: A Knowledge Machine for Semantic Webs

The Semantic Web RDF, RDF Schema, and OWL (Part 2)

The ISO D approach

RDF Graph Data Model

SHACL (Shapes Constraint Language) An Introduction

Reasoning with the Web Ontology Language (OWL)

Semantic Web. RDF and RDF Schema. Morteza Amini. Sharif University of Technology Spring 90-91

Web Science & Technologies University of Koblenz Landau, Germany. RDF Schema. Steffen Staab. Semantic Web

H1 Spring B. Programmers need to learn the SOAP schema so as to offer and use Web services.

Linked data and its role in the semantic web. Dave Reynolds, Epimorphics

TMCL and OWL. Lars Marius Garshol. Bouvet, Oslo, Norway

Genea: Schema-Aware Mapping of Ontologies into Relational Databases

TRIPLE An RDF Query, Inference, and Transformation Language

OSM Lecture (14:45-16:15) Takahira Yamaguchi. OSM Exercise (16:30-18:00) Susumu Tamagawa

Comparison of Semantic Web serialization syntaxes

What is the Semantic Web?

Reasoning with Rules SWRL as Example. Jan Pettersen Nytun, UIA

13. The Semantic Web. Plan for INFO Lecture #13. INFO October Bob Glushko. Overview of the Semantic Web RDF OWL

Querying Data through Ontologies

1 Introduction ). [Fensel et al., 2000b]

Semantic Web Ontologies

OWL and tractability. Based on slides from Ian Horrocks and Franz Baader. Combining the strengths of UMIST and The Victoria University of Manchester

The Semantic Web Revisited. Nigel Shadbolt Tim Berners-Lee Wendy Hall

9 The Ontology UML Profile

Interoperability of Protégé using RDF(S) as Interchange Language

Semantics. Matthew J. Graham CACR. Methods of Computational Science Caltech, 2011 May 10. matthew graham

Personal Health Assistant: Final Report Prepared by K. Morillo, J. Redway, and I. Smyrnow Version Date April 29, 2010 Personal Health Assistant

CC LA WEB DE DATOS PRIMAVERA Lecture 4: Web Ontology Language (I) Aidan Hogan

LECTURE 09 RDF: SCHEMA - AN INTRODUCTION

Orchestrating Music Queries via the Semantic Web

RDF /RDF-S Providing Framework Support to OWL Ontologies

JENA: A Java API for Ontology Management

12th ICCRTS. On the Automated Generation of an OWL Ontology based on the Joint C3 Information Exchange Data Model (JC3IEDM)

Semantic Web Technologies: RDF + RDFS

An RDF-based Distributed Expert System

An Approach for Composing Web Services through OWL Kumudavalli.N Mtech Software Engineering

Semantic Web and Ontologies

The Semantic Web. What is the Semantic Web?

Enabling knowledge representation on the Web by extending RDF Schema

COMP9321 Web Application Engineering

Scaling the Semantic Wall with AllegroGraph and TopBraid Composer. A Joint Webinar by TopQuadrant and Franz

Advanced Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras

Forward Chaining Reasoning Tool for Rya

Intelligent Agents. Pınar Yolum Utrecht University. Spring 2018 Pınar Yolum

Transcription:

Semantic Services Michael Wollowski

Overview Motivation Web services RDF RDFS/OWL Inference Seamless web

Motivation Consider the future scenario of a wired world described in the next three slides. How many and what kind of databases did we access?

In Search of a Juicy Burger A guy, let s call him Bob, has high cholesterol. His doctor strictly prohibits him from eating foods high in cholesterol. One day, while Bob goes about his daily business, he starts to have this nagging desire for a juicy hamburger. After much agonizing, he cannot resist his urges any longer and drives over to the nearest Burger King. Not one who is prone to exercise, Bob cruises down the drive-through lane to order a burger with fries. In the process of wirelessly deducting the cost of the meal from Bob s E-Z Pass account, Bob s computer realizes that the bill comes from a fast food establishment. The computer quickly studies the bill to notice that the order is for a hamburger and fries and promptly refuses payment and the order is cancelled. Bob s health insurance company made him install a piece of software which monitors his purchases of high-cholesterol foods. Muttering to himself inaudibly, Bob drives home.

In Search of a Juicy Burger Pulling into the garage, he suddenly has a bright idea; let s take the old Triumph TR 6 out for a spin. It doesn t have an E-Z Pass system! He heads to the local burger joint, where cash is still accepted. Waiting in line and chatting to the people around him, he suddenly gets shoed away by an off-duty paramedic. The paramedic received an alarm from a centralized system which was able to pinpoint Bob s location based on the health monitor implanted in his body. The health monitor includes a GPS system so as to alert paramedics to his location, in case of emergency. Bob s location was pinpointed to be in a high-cholesterol zone, alerting the medic. After receiving an admonition from the medic, Bob heads home again.

In Search of a Juicy Burger His friendly neighbor, noticing him all dejected, shouts: Hey Neighbor! Have a beer, I just turned on the grill, interested in joining me for a cookout? Teary eyed and weak-legged, Bob agrees. While the hamburgers are sizzling on the grill, an alarm goes off in the central system. Bob had to agree that as part of a lower rate on his health insurance, the insurance company would get access to the images which his digital camera takes of his point of view every few seconds. The advanced image analysis software recognized flames, smoke, and juicy hamburgers on the grill. This time however, no one will keep Bob from his hamburger, as the personnel monitoring the alarms are socializing outside, over tofu burgers.

Web Services Websites like Autotrader.com are a database with a web-based GUI. A web-service is a database with an API. An application is meant to be see by people. A service is meant to be seen by software. A service acts behind the scene of the human readable web to accomplish tasks.

Web Services Web front end Database API

Towards the Semantic Web Service A Service A Service Z Bot

Exporting to XML <cd> <title>empire Burlesque</title> <artist>bob Dylan</artist> <country>usa</country> </cd>

XML Dialects

Solution Proposal: Semantics

RDF Statements A Statement consists of a subject, predicate and object Example: The author of http://www.w3schools.com/rdf is Jan Egil Refsnes Subject: http://www.w3schools.com/rdf Predicate: author Object: Jan Egil Refsnes

RDF Statements In technical terms, we have a Resource, a Property, and a Property value corresponding to subject, predicate and object of a Statement. Example: The author of http://www.w3schools.com/rdf is Jan Egil Refsnes. Resource: http://www.w3schools.com/rdf Property: author Property value: Jan Egil Refsnes

Resources We can think of a resource as an object, a thing we want to talk about E.g. authors, books, publishers, places, people, hotels Every resource has a URI, a Universal Resource Identifier A URI can be a URL (Web address) or some other kind of unique identifier

Properties Properties are a special kind of resources They describe relations between resources E.g. written by, age, title, etc. Properties are also identified by URIs Advantages of using URIs: Α global, worldwide, unique naming scheme Reduces the homonym problem of distributed data representation

RDF Example XML based <?xml version="1.0"?> <rdf:rdf > <rdf:description rdf:about="http://www.recshop.fake/cd/empire Burlesque"> <cd:artist>bob Dylan</cd:artist> <cd:country>usa</cd:country> </rdf:rdf>

Semantic Net http://www.recshop.fake/ cd/empire Burlesque artist Bob Dylan A directed graph with labeled nodes and arcs from the resource (the subject of the statement) to the value (the object of the statement) Known in AI as a semantic net The value of a statement may be a resource Ιt may be linked to other resources

Example Evaluated How to avoid the Tower of Babel? All services use same namespace May as well agree on the same syntax for XML In other words, develop a single standard At least, develop a very small set of standards Alternatively, facilitate matching of namespace elements.

RDFS RDFS stands for RDF Schema It enables the definition of classes and class hierarchies Additionally, we can define property hierarchies

RDFS Example <rdfs:class rdf:id= recordingmedium" /> <rdfs:class rdf:id= cd"> <rdfs:subclassof rdf:resource="#recordingmedium"/> </rdfs:class> <rdfs:property rdf:id= artist /> <rdfs:property rdf:id= starvingartist"> <rdfs:subpropertyof rdf:resource="#artist"/> </rdfs:class>

OWL More sophisticated relationships Disjointness of classes Sometimes we wish to say that classes are disjoint (e.g. male and female) Boolean combinations of classes Sometimes we wish to build new classes by combining other classes using union, intersection, and complement E.g. person is the disjoint union of the classes male and female

OWL Cardinality restrictions E.g. a person has exactly two parents, a course is taught by at least one lecturer Special characteristics of properties Transitive property (like greater than ) Unique property (like is mother of ) A property is the inverse of another property (like eats and is eaten by )

Owl Example <owl:ontology rdf:about="xml:base"/> <owl:class rdf:id="animal"> <rdfs:comment>animals form a class</rdfs:comment> </owl:class> <owl:class rdf:id="plant"> <rdfs:comment>plants are disjoint from animals. </rdfs:comment> <owl:disjointwith rdf:resource="#animal"/> </owl:class> <owl:class rdf:id="tree"> <rdfs:comment>trees are a type of plant. </rdfs:comment> <rdfs:subclassof rdf:resource="#plant"/> </owl:class>

Owl Example <owl:class rdf:id="branch"> <rdfs:comment>branches are parts of trees. </rdfs:comment> <rdfs:subclassof> <owl:restriction> <owl:onproperty rdf:resource="#is-part-of"/> <owl:allvaluesfrom rdf:resource="#tree"/> </owl:restriction> </rdfs:subclassof> </owl:class> <owl:class rdf:id="leaf"> <rdfs:comment>leaves are parts of branches. </rdfs:comment> <rdfs:subclassof> <owl:restriction> <owl:onproperty rdf:resource="#is-part-of"/> <owl:allvaluesfrom rdf:resource="#branch"/> </owl:restriction> </rdfs:subclassof> </owl:class>

Owl Example <owl:class rdf:id="carnivore"> <rdfs:comment>carnivores are exactly those animals that eat also animals.</rdfs:comment> <owl:intersectionof rdf:parsetype="collection"> <owl:class rdf:about="#animal"/> <owl:restriction> <owl:onproperty rdf:resource="#eats"/> <owl:somevaluesfrom rdf:resource="#animal"/> </owl:restriction> </owl:intersectionof> </owl:class>

Owl Example <owl:class rdf:id="lion"> <rdfs:comment>lions are animals that eat only herbivores.</rdfs:comment> <rdfs:subclassof rdf:type="#carnivore"/> <rdfs:subclassof> <owl:restriction> <owl:onproperty rdf:resource="#eats"/> <owl:allvaluesfrom rdf:resource="#herbivore"/> </owl:restriction> </rdfs:subclassof> </owl:class>

Owl Example <lion rdf:id= 22789" /> <lion rdf:id= Simba" />

Inference The richer the language is, the more inefficient the reasoning support becomes Sometimes it crosses the border of noncomputability We need a compromise: A language supported by reasonably efficient reasoners A language that can express large classes of ontologies and knowledge.

Inference Class membership If x is an instance of a class C, and C is a subclass of D, then we can infer that x is an instance of D Equivalence of classes If class A is equivalent to class B, and class B is equivalent to class C, then A is equivalent to C, too

Inference Consistency X instance of classes A and B, but A and B are disjoint This is an indication of an error in the ontology Classification Certain property-value pairs are a sufficient condition for membership in a class A; if an individual x satisfies such conditions, we can conclude that x must be an instance of A

Inference Many reasoners Few that work Jena (Java based) Some python libraries that would facilitate building a reasoner

Evaluation of Semantic Services A lot of technology Few semantic web applications Applications are typically an ontology on top of a web service Reasoning is expensive We have not covered key technology such as: service discovery, matching and execution

Seamless Web What we want to accomplish is what I would call a seamless web I believe it requires engineered solutions The less semantics, the more reliable The more reliable, the more satisfying to use

Student Work JP Verkamp and Brenon Smith FlickrFM Nic Hudson and Christine Price Restaurant Bot Bobby Bennett and Isaac Heyveld Shopping for Electronics Bot

References Book: A Semantic Web Primer, by Antoniou & van Harmelen Website for book: http://www.ics.forth.gr/isl/swprimer/ RDF/S Tutorial: http://www.w3schools.com/rdf/default.asp OWL Guide: http://www.w3.org/tr/owl-guide/ OWL Reference: http://www.w3.org/tr/owl-ref/ Jena: http://jena.sourceforge.net/