1 G52IWS: The Semantic Web Chris Greenhalgh 2007-11-10.

Slides:



Advertisements
Similar presentations
Dr. Leo Obrst MITRE Information Semantics Information Discovery & Understanding Command & Control Center February 6, 2014February 6, 2014February 6, 2014.
Advertisements

CH-4 Ontologies, Querying and Data Integration. Introduction to RDF(S) RDF stands for Resource Description Framework. RDF is a standard for describing.
RDF Schemata (with apologies to the W3C, the plural is not ‘schemas’) CSCI 7818 – Web Technologies 14 November 2001 Van Lepthien.
An Introduction to RDF(S) and a Quick Tour of OWL
1 UIM with DAML-S Service Description Team Members: Jean-Yves Ouellet Kevin Lam Yun Xu.
CS570 Artificial Intelligence Semantic Web & Ontology 2
Shelley Powers, O’Reilly SNU IDB Lab. Hyewon Kim
SIG2: Ontology Language Standards WebOnt Briefing Ian Horrocks University of Manchester, UK.
Of 27 lecture 7: owl - introduction. of 27 ece 627, winter ‘132 OWL a glimpse OWL – Web Ontology Language describes classes, properties and relations.
1 Semantic Web Technologies: The foundation for future enterprise systems Okech Odhiambo Knowledge Systems Research Group Strathmore University.
Ontology Notes are from:
1 Introduction to XML. XML eXtensible implies that users define tag content Markup implies it is a coded document Language implies it is a metalanguage.
Descriptions Robert Grimm New York University. The Final Assignment…  Your own application  Discussion board  Think: Paper summaries  Web cam proxy.
Web Ontology Language for Service (OWL-S). Introduction OWL-S –OWL-based Web service ontology –a core set of markup language constructs for describing.
COMP 6703 eScience Project Semantic Web for Museums Student : Lei Junran Client/Technical Supervisor : Tom Worthington Academic Supervisor : Peter Strazdins.
RDF Kitty Turner. Current Situation there is hardly any metadata on the Web search engine sites do the equivalent of going through a library, reading.
The Semantic Web Week 12 Term 1 Recap Lee McCluskey, room 2/07 Department of Computing And Mathematical Sciences Module Website:
OWL-S: Semantic Markup for Web Services
RDF: Building Block for the Semantic Web Jim Ellenberger UCCS CS5260 Spring 2011.
The RDF meta model: a closer look Basic ideas of the RDF Resource instance descriptions in the RDF format Application-specific RDF schemas Limitations.
From SHIQ and RDF to OWL: The Making of a Web Ontology Language
1 Technologies and Modelling Frameworks XML ontology RDF taxonomy OWL thesaurus Semantic Web.
Nancy Ide Vassar College USA Resource Definition Framework A Tutorial EUROLAN 2003 July 28 - August 8 Bucharest - Romania.
RDF: Concepts and Abstract Syntax W3C Recommendation 10 February Michael Felderer Digital Enterprise.
RDF (Resource Description Framework) Why?. XML XML is a metalanguage that allows users to define markup XML separates content and structure from formatting.
Chapter 6 Understanding Each Other CSE 431 – Intelligent Agents.
Practical RDF Chapter 1. RDF: An Introduction
Okech Odhiambo Faculty of Information Technology Strathmore University
The Semantic Web Service Shuying Wang Outline Semantic Web vision Core technologies XML, RDF, Ontology, Agent… Web services DAML-S.
INF 384 C, Spring 2009 Ontologies Knowledge representation to support computer reasoning.
1 Representing Data with XML September 27, 2005 Shawn Henry with slides from Neal Arthorne.
Logics for Data and Knowledge Representation
Agent Model for Interaction with Semantic Web Services Ivo Mihailovic.
Bringing Semantics to Web Services with OWL-S. 指導教授:吳秀陽 報告人:陳建博 學號:
* * 0 OWL-S: Ontology Web Language For Services Reyhan AYDOĞAN Emre YILMAZ 21/12/2005OWL-S: Ontology Web Language for Services.
RDF and OWL Developing Semantic Web Services by H. Peter Alesso and Craig F. Smith CMPT 455/826 - Week 6, Day Sept-Dec 2009 – w6d21.
OWL-S. Web Services: OWL-S2 BPEL and WSDL : Messages.
OWL 2 in use. OWL 2 OWL 2 is a knowledge representation language, designed to formulate, exchange and reason with knowledge about a domain of interest.
Chapter 9. 9 RDFS (RDF Schema) RDFS Part of the Ontological Primitive layer Adds features to RDF Provides standard vocabulary for describing concepts.
Metadata. Generally speaking, metadata are data and information that describe and model data and information For example, a database schema is the metadata.
Resource Description Framework (RDF) Course: Electronic Document Team member: Ding Feng Ding Wei Wang Ling Date:
Towards a semantic web Philip Hider. This talk  The Semantic Web vision  Scenarios  Standards  Semantic Web & RDA.
Semantic Web - an introduction By Daniel Wu (danielwujr)
RDF and XML 인공지능 연구실 한기덕. 2 개요  1. Basic of RDF  2. Example of RDF  3. How XML Namespaces Work  4. The Abbreviated RDF Syntax  5. RDF Resource Collections.
EEL 5937 Ontologies EEL 5937 Multi Agent Systems Lecture 5, Jan 23 th, 2003 Lotzi Bölöni.
SKOS. Ontologies Metadata –Resources marked-up with descriptions of their content. No good unless everyone speaks the same language; Terminologies –Provide.
1 Artificial Intelligence Applications Institute Centre for Intelligent Systems and their Applications Stuart Aitken Artificial Intelligence Applications.
Of 35 lecture 5: rdf schema. of 35 RDF and RDF Schema basic ideas ece 627, winter ‘132 RDF is about graphs – it creates a graph structure to represent.
Introduction The Resource Description Framework (RDF) is recommended by the World Wide Web Consortium (W3C) to model meta-data about the resources of the.
DAML+OIL: an Ontology Language for the Semantic Web.
OIL and DAML+OIL: Ontology Languages for the Semantic Web Sungshin Lim TOWARDS THE SEMANTIC WEB: Ontology-driven Knowledge.
Introduction to the Semantic Web and Linked Data Module 1 - Unit 2 The Semantic Web and Linked Data Concepts 1-1 Library of Congress BIBFRAME Pilot Training.
Of 33 lecture 1: introduction. of 33 the semantic web vision today’s web (1) web content – for human consumption (no structural information) people search.
The RDF meta model Basic ideas of the RDF Resource instance descriptions in the RDF format Application-specific RDF schemas Limitations of XML compared.
Important Concepts from the W3C RDF Vocabulary/Schema Sungtae Kim SNU OOPSLA Lab. August 19, 2004.
1cs The Need “Most of the Web's content today is designed for humans to read, not for computer programs to manipulate meaningfully.” Berners-Lee,
Doc.: IEEE /0169r0 Submission Joe Kwak (InterDigital) Slide 1 November 2010 Slide 1 Overview of Resource Description Framework (RFD/XML) Date:
Practical RDF Chapter 12. Ontologies: RDF Business Models Shelley Powers, O’Reilly SNU IDB Lab. Taikyoung Kim.
Knowledge Technologies Manolis Koubarakis 1 Some Other Useful Features of RDF.
OWL Web Ontology Language Summary IHan HSIAO (Sharon)
Enable Semantic Interoperability for Decision Support and Risk Management Presented by Dr. David Li Key Contributors: Dr. Ruixin Yang and Dr. John Qu.
Semantic Interoperability in GIS N. L. Sarda Suman Somavarapu.
Semantic Web. P2 Introduction Information management facilities not keeping pace with the capacity of our information storage. –Information Overload –haphazardly.
OWL (Ontology Web Language and Applications) Maw-Sheng Horng Department of Mathematics and Information Education National Taipei University of Education.
Charlie Abela Department of Intelligent Computer Systems
The Semantic Web By: Maulik Parikh.
Web Ontology Language for Service (OWL-S)
Semantic Web Lecture Notes Prepared by Jagdish S. Gangolly
ece 720 intelligent web: ontology and beyond
Semantic Markup for Semantic Web Tools:
Presentation transcript:

1 G52IWS: The Semantic Web Chris Greenhalgh

2 Contents Introduction to the Semantic Web Semantic Web technologies –Overview –RDF –OWL Semantic Web Services Concluding comments See “Developing Semantic Web Services”, Alesso et al (eBook) And W3C semantic web activities

3 The Semantic Web Current web –HTML pages for human consumption (reading) –Not machine processable –Simple text searching only Semantic Web –“…allows software agents to analyze the Web on our behalf, making smart inferences that go beyond the simple linguistic analyses performed by today’s search engines.” Alesso, H. Peter. Developing Semantic Web Services, p.182 –E.g. “find me biographies for friends of Chris Greenhalgh”

4 Semantic web elements “For the Semantic Web to function, computers must have access to structured collections of information and sets of inference rules that they can use to conduct automated reasoning. … The objective of the Semantic Web, therefore, is to provide a framework that expresses both data and rules for reasoning from a Web based knowledge representation.” –Ibid. pp39-40 “The goal of the Semantic Web is to provide a machine- readable intelligence that would come from hyperlinked vocabularies that Web authors would use to explicitly define their words and concepts.” –Ibid. p166

5 Semantic Web Services Current Web services –XML documents as inputs and outputs –Syntax specified by XML Schema & WSDL –Still not directly “meaningful” to an application Programmer has the semantics in their head and writes the code to manipulate the information appropriately, e.g. what to use an “ ” element for Semantic Web Services –Allow web services to interoperate at a semantic level even if their detailed syntax/types differ –Allow software agents to (a) find and (b) make use of web services with no prior knowledge of their particular syntax/types

6 Semantic Web technologies Wikimedia commons. C.f. “Developing Semantic Web Services”, fig 6-1

7 Latest semantic web “layer cake”

8 Computational reasoning using semantic web technologies RDF encodes statements comparable to propositions in first order logic which can be reasoned about The ontology establishes the “meaning” (in some sense) of the statement elements The ontology may allow further statements to be inferred (are entailed by the ontology), e.g. class membership Equivalence relationships allow concepts in different ontologies to be related, supporting reasoning against new ontologies “Developing Semantic Web Services”, chapter 9

9 Resource Description Framework (RDF) W3C standard, Feb – –“The Resource Description Framework (RDF) is a general-purpose language for representing information in the Web.” Existed since 1997 “Developing Semantic Web Services”, chapter 7, p 187-

10 XML and meaning E.g. – War and Peace May well mean –“the book has the title ‘War and Peace’” –But this is not inherent in the XML or the XML schema A computational agent would not be able to work this out by itself and what is a “book” or a “title”, in any case

11 XML and structure Tree-structured document –Named elements –Optional cross-references Only syntactic relationships possible between element definitions –i.e. containment and specific type relationships

12 RDF model RDF is a simple knowledge representation language Comprising statements with exactly one –Subject – the resource about which the statement is made, which is identified by a URI or blank node ID –Predicate – identifies the property of the subject about which the statement is made by a URI –Object, which may be a Literal value, such as an simple XSD datatype value or another resource, identified by URI or Blank node ID

13 RDF statements E.g. –“A thing [subject] has property [predicate] with a specific value [object]” –“[subject] has [predicate] [object]” –(subject, predicate, object) Specific example: –“A thing has property with a specific value ‘War and Peace’” –“ has ‘War and Peace’” –(,, ‘War and Peace’)

14 RDF graph structure A set of RDF statements describe an information graph: –Nodes are subjects or objects, and are therefore URIs Blank (anonymous) nodes or Literal values (which are never subjects) –Arcs are statements, which are labelled by the predicate

15 Example The book‘War and Peace’ title

16 More examples

17 RDF/XML RDF/XML is an XML serialisation of RDF –Valid XML –Encodes a set of RDF statement E.g. – War and Peace Alesso, H. Peter. Developing Semantic Web Services, p.211 Subject Predicate Object

18 Other RDF serialisations Notations3 N3 N-triples E.g. – “War and Peace”.

19 rdf:type Property RDF defines a standard property rdf:type (rdf: is the namespace ) –It’s subject is any node –It’s object is the node which represents the class of the subject node E.g. –. => is a member of the class, i.e. is a

20 Vocabulary A set of agreed URIs to be used as predicates and classes in RDF E.g. Dublin core, a set of predicates for describing publication-related metadata –E.g. dc:title, dc:creator, dc:subject, dc:description, dc:public, dc:contributor, dc:type, dc:format, dc:identifier, dc:source, dc:language, dc:relation, dc:coverage, dc:rights –Unique namespace makes predicates unique xmlns:dc="

21 RDF Schema RDF encoding of definitions of classes and properties in terms of their relationships –rdfs:Class is the class of classes i.e. anything with of is a class –rdf:Property is the class of properties –rdfs:subClassOf is the property which relates a sub-class to its super-class (see over) –rdfs:subPropertyOf is the property which relates a sub-property to super-property

22 Sub-class example E.g. – i.e. Computer is a Class – i.e. Laptop is a subclass of Computer I.e. every thing which is a Laptop is also a Computer i.e. every Laptop is a Computer E.g. =>

23 Sub-property example E.g. – i.e. Size is a Property – i.e. Length is a sub-property of Size i.e. every Length value is also a Size value –E.g. “10cm” => “10cm”

24 Reification In RDF a statement can be re-ified, i.e. made into a thing in itself All the usual RDF facilities can then be used to describe this statement –E.g. ‘War and Peace’ => ‘War and Peace’ –And hence (for example): ‘ T211300Z’

25 RDF capabilities and limitations Syntax for representing semantics of data Means to describe relationships between resources Limited expressive power, e.g. –No properties of properties –No necessary & sufficient conditions for class membership –No equivalence or disjointness of classes

26 Web Ontology Language (OWL) W3C standard, Feb 2004 – –“The Web Ontology Language OWL is a semantic markup language for publishing and sharing ontologies on the World Wide Web. OWL is developed as a vocabulary extension of RDF (the Resource Description Framework) and is derived from the DAML+OIL Web Ontology Language.” i.e. builds on RDF Schema but has more expressiveness “Developing Semantic Web Services”, chapter 8, p 221-

27 Ontologies “An ontology defines the terms used to describe and represent concepts. Ontologies are used to describe concepts as well as their inter- relationships… For example… A paperback is a type of book. A book is a written document. Documents have writers. Writers are humans. Humans read paperbacks. –Alesso, H. Peter. Developing Semantic Web Services, p. 241.

28 Ontology concepts Classes Relationships between classes Properties of classes Constraints on relationships between classes and the properties of the classes

29 Information in an OWL document Class hierarchy – defines class/subclass relationships Synonym – identifies equivalent classes and equivalent properties Class association – maps classes to one another through use of a property (domain/range) Property metadata Class definition – specifies the composition of a class

30 OWL versions OWL Lite –Classification hierarchy and simple constraints, e.g. 0 or 1 cardinality OWL DL (Description Logic) –All constructs, but with some restrictions –Maximum expressiveness with computational completeness & decidability OWL Full –Maximum expressiveness but no guarantees of decidability –E.g. a class can be both a collection of individuals and an individual in its own right

31 OWL class descriptions Describe a class as one of –a class identifier (a URI reference) (the only option in OWL Lite) –an exhaustive enumeration of individuals that together form the instances of a classenumeration –a property restrictionproperty restriction –the intersection of two or more class descriptionsintersection –the union of two or more class descriptionsunion –the complement of a class descriptioncomplement

32 OWL and RDFS Share some common concepts –Classes, subclass relationships, properties OWL Lite/DL have some restrictions compared to RDFS –owl:Class is not rdfs:Class except in OWL Full OWL has extra expressiveness supporting additional reasoning –E.g. boolean combination of class expressions, property restrictions, property types (e.g. transitive, inverse)

33 Other semantic web technologies SPARQL –Query language for RDF Rules Interchange Format –Specifying inference rules for RDF

34 Semantic Web Services = Using ontologies and computational reasoning to support automated use of web services –In particular… “Developing Semantic Web Services”, chapter 10

35 Semantic web service possibilities for automation –Discovery - Locating Web Services. –Invocation - Execution of service by an agent or other service. –Interoperation - Breaking down interoperability barriers and automatic insertion of message parameter translations. –Composition - New services through automatic selection, composition and interoperation of existing services. –Verification - Verify service properties. –Execution Monitoring - Tracking the execution of composite tasks and identifying failure cases of different execution traces. Alesso, H. Peter. Developing Semantic Web Services. p.280

36 Semantic web service requirements Metadata in service descriptions that is sufficient and computational useful to e.g. –Map between semantically equivalent data types –Map between semantically equivalent operations –Map between semantically equivalent services –Manipulate and exploit descriptions of composite services

37 OWL-S OWL-S (Service): Semantic Markup for Web Services Submitted to W3C Nov 2004 but not standardised – Provides an ontology for this service- describing metadata

38 OWL-S top-level ontology of services

39 Service profile High-level description of service and provider Used to request advertise services Includes: –Human-readable description –Link to service provider –Specification of functionalities Process IOPEs (see later) –Functional attributes E.g. geographical location, quality, service type

40 Service profile

41 Process modelling Found in profile (for discovery) and model (for interaction) Has information transformation element: –Inputs –Outputs – both parameters Has state change element –Preconditions (NB not parameters as in text) –Effects Together referred to as “IOPEs”

42 Service Model Detailed view of service as a process Including option of decomposition through expanding composite (multi-part) services into their component parts –With various concurrency/choice structures

43

44 Notes Atomic processes typically correspond to single Web Service operations –See following notes Composite processes correspond to possible sequences of related operations –E.g. in an extended business process such as placing and tracking an order

45 Service Grounding Maps abstract service profile and model to protocol-specific details –E.g. to WSDL services, operations and messages, and to XML schema types and elements

46 Mapping between OWL-S and WSDL

47 Example: book ordering web service Suggested ontology development process: –Describe individual operations as atomic processes –Describe the groundings for each –Describe their composition as a composite book ordering process –Describe it as a simple overall process (optional, for profile) –Provide a declarative description for the profile “Developing Semantic Web Services”, chapter 11

48 Uses Service profile –Supports automatic discovery Service model –Supports automatic composition Service grounding –Supports automatic invocation

49 Example service composite process model “Developing Semantic Web Services” Figure 11-3

50 Semantic Annotations for WSDL and XML Schema (SAWSDL) W3C recommendation, August 2007 – –“defines a set of extension attributes for the Web Services Description Language and XML Schema definition language that allows description of additional semantics of WSDL components…using references to semantic models, e.g. ontologies. …does not specify a language for representing the semantic models.” (subsequent to the text and OWL-S)

51 Notes SAWSDL –gives mechanisms to associate semantic annotations (e.g. ontology classes) with WSDL elements –Allows XML schema data elements/types to be mapped to/from an more abstract “semantic” layer Sidesteps use of any particular ontology or ontology technology –Such as OWL or OWL-S –Presumes “less ambitious” local establishment of ontologies for specific purposes?! –And/or human-in-the-loop resolution of (e.g.) conflicts

52 General Note The “Developing Semantic Web Services” text presents a stongly “evangelistic” case for machine intelligence and semantic web services Practically achievable and useful automated support in relation to web services may be much simpler –see SAWSDL

53 Simpler examples of the semantic web… Without attempting to support extensive automated reasoning Semantic web technologies still allow useful distributed data integration –Ontologies are more easily extended and distributed than (e.g.) relational database schemas –RDF allows more flexible graph-oriented queries (and inference) than (e.g.) relational queries (such as SQL)

54 E.g. the Gene Ontology a simple (but large) ontology of concepts connected with gene products –Allows new levels of consistency and interoperability between gene-related biology databases

55 E.g. RDFa = “RDF attributes” W3C working draft – Approach to dual-purposing XHTML pages to also present an RDF interpretation of their contents –Achieved by including additional XML attributes in the page elements –Which add the “semantics” to the raw structure and information already present in an XHTML page by linking to ontology classes & properties