1 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. A Five Minute Intro to XML Roger L. Costello The MITRE Corporation.

Slides:



Advertisements
Similar presentations
Exploiting ebXML Registry Semantics in the eHealth Domain*
Advertisements

1 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. A Two Minute Intro to XML Roger L. Costello David B. Jacobs The MITRE Corporation (The.
Schema Matching and Query Rewriting in Ontology-based Data Integration Zdeňka Linková ICS AS CR Advisor: Július Štuller.
CH-4 Ontologies, Querying and Data Integration. Introduction to RDF(S) RDF stands for Resource Description Framework. RDF is a standard for describing.
The Semantic Web – WEEK 4: RDF
OWL Web Ontology Language
CS570 Artificial Intelligence Semantic Web & Ontology 2
RDF Tutorial.
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.
Dr. Alexandra I. Cristea RDF.
Semantic Web Tools for Authoring and Using Analysis Results Richard Fikes Robert McCool Deborah McGuinness Sheila McIlraith Jessica Jenkins Knowledge Systems.
1 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. The Robber and the Speeder Roger L. Costello David B. Jacobs The MITRE Corporation.
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.
ReQuest (Validating Semantic Searches) Norman Piedade de Noronha 16 th July, 2004.
1 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. Examples Using the OWL Camera Ontology Roger L. Costello David B. Jacobs The MITRE.
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
Semantic Web Technologies Lecture # 2 Faculty of Computer Science, IBA.
RDF (Resource Description Framework) Why?. XML XML is a metalanguage that allows users to define markup XML separates content and structure from formatting.
1 Berendt: Advanced databases, first semester 2009, 1 Conceptual Modelling: ER, UML and OWL - and the Semantic.
Chapter 16 The World Wide Web. 2 The Web An infrastructure of information combined and the network software used to access it Web page A document that.
Practical RDF Chapter 1. RDF: An Introduction
1 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. A Quick Introduction to OWL Web Ontology Language Roger L. Costello David B. Jacobs.
Protege OWL Plugin Short Tutorial. OWL Usage The world wide web is a natural application area of ontologies, because ontologies could be used to describe.
An Introduction to the Resource Description Framework Eric Miller Online Computer Library Center, Inc. Office of Research Dublin, Ohio 元智資工所 系統實驗室 楊錫謦.
The Semantic Web Service Shuying Wang Outline Semantic Web vision Core technologies XML, RDF, Ontology, Agent… Web services DAML-S.
Hydrologic Vocabularies Thursday, April 14. Discussion questions (and some answers… more below) What vocabularies are available and in what formats. Which.
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.
By: Dan Johnson & Jena Block. RDF definition What is Semantic web? Search Engine Example What is RDF? Triples Vocabularies RDF/XML Why RDF?
Meta Tagging / Metadata Lindsay Berard Assisted by: Li Li.
1 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. A Quick Introduction to OWL Web Ontology Language Roger L. Costello David B. Jacobs.
1 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. OWL Web Ontology Language Roger L. Costello David B. Jacobs The MITRE Corporation (The.
Metadata. Generally speaking, metadata are data and information that describe and model data and information For example, a database schema is the metadata.
1 Metadata –Information about information – Different objects, different forms – e.g. Library catalogue record Property:Value: Author Ian Beardwell Publisher.
RQL: RDF Query language Jianguo Lu University of Windsor The following slides are from Grigoris Antoniou, Frank van Harmelen, “A Semantic Web Primer”
EEL 5937 Ontologies EEL 5937 Multi Agent Systems Lecture 5, Jan 23 th, 2003 Lotzi Bölöni.
Ontology Mapping in Pervasive Computing Environment C.Y. Kong, C.L. Wang, F.C.M. Lau The University of Hong Kong.
Oreste Signore- Quality/1 Amman, December 2006 Standards for quality of cultural websites Ministerial NEtwoRk for Valorising Activities in digitisation.
Advanced Technical Writing 2006 Session #4. Today in Class… ► Meet with your editorial team, refine/post deliverables ► Send URL for deliverables to Bill.
The future of the Web: Semantic Web 9/30/2004 Xiangming Mu.
1 OWL Application The following slides are from Roger L. Costello and David B. Jacobs, The MITRE Corporation.
OWL Representing Information Using the Web Ontology Language.
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.
Metadata : an overview XML and Educational Metadata, SBU, London, 10 July 2001 Pete Johnston UKOLN, University of Bath Bath, BA2 7AY UKOLN is supported.
Semantic Phyloinformatic Web Services Using the EvoInfo Stack Speaker: John Harney LSDIS Lab, Dept. of Computer Science, University of Georgia Mentor(s):
Issues in Ontology-based Information integration By Zhan Cui, Dean Jones and Paul O’Brien.
Dictionary based interchanges for iSURF -An Interoperability Service Utility for Collaborative Supply Chain Planning across Multiple Domains David Webber.
Description of Information Resources: RDF/RDFS (an Introduction)
THE BIBFRAME EDITOR AND THE LC PILOT Module 3 – Unit 1 The Semantic Web and Linked Data : a Recap of the Key Concepts Library of Congress BIBFRAME Pilot.
Metadata and Meta tag. What is metadata? What does metadata do? Metadata schemes What is meta tag? Meta tag example Table of Content.
References [1] D:\My Documents\SemanticWebWorkshop\kaynak\Ian Horrocks - CS646\intro-2004.pptD:\My Documents\SemanticWebWorkshop\kaynak\Ian Horrocks -
EEL 5937 Ontologies EEL 5937 Multi Agent Systems Lotzi Bölöni.
1 1 1 Berendt: Advanced databases, first semester 2008, Advanced databases – Semantic Web Mining.
The Semantic Web. What is the Semantic Web? The Semantic Web is an extension of the current Web in which information is given well-defined meaning, enabling.
Semantic Data Extraction for B2B Integration Syntactic-to-Semantic Middleware Bruno Silva 1, Jorge Cardoso 2 1 2
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.
PART 1 XML Basics. Slide 2 Why XML Here? You need to understand the basics of XML to do much with Android All of they layout and configuration files are.
Resources of a Resource By, Anupama Atmakur Pooja Adudodla.
Connecting to External Data. Financial data can be obtained from a number of different data sources.
Of 24 lecture 11: ontology – mediation, merging & aligning.
Semantic Web. P2 Introduction Information management facilities not keeping pace with the capacity of our information storage. –Information Overload –haphazardly.
Setting the stage: linked data concepts Moving-Away-From-MARC-a-thon.
The Semantic Web By: Maulik Parikh.
Building the Semantic Web
Searching Business Data with MOSS 2007 Enterprise Search
Searching Business Data with MOSS 2007 Enterprise Search
Presentation transcript:

1 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. A Five Minute Intro to XML Roger L. Costello The MITRE Corporation

2 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. You have data … How should you structure it? Canon-Sure-Shot-Z mm zoom $318 USD Here's some data about a Canon camera:

3 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. The XML approach is to "wrap" each data item in start/end tags Canon-Sure-Shot-Z mm zoom $318 USD Canon.xml

4 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. XML Terminology Canon-Sure-Shot-Z155 Start tag End tag Data Element

5 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. What's the date? The XML tags are generally very useful in describing properties of the data. However, in this case more is needed. That is, more data about the data (metadata) is needed.

6 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. XML Attributes attribute Things to note: 1. Attributes are "bundled" in with the start tag. 2. Attributes take this form: attribute-name="attribute-value"

7 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. Common Design Pattern: IDentify classes Canon-Sure-Shot-Z mm zoom $318 USD Instead of this: mm zoom $318 USD Design like this:

8 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. The General Design Pattern data value... data value Things to note: 1. Names of Classes by convention begin with uppercase. 2. Names of properties by convention begin with lowercase.

9 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. Example Malden, MA mm zoom $318 USD mm $178 USD... Hunts.xml

10 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. With OWL you can define the Camera Class (which is used in the XML document) Elements and attributes provided by OWL Elements and attributes provided by RDF "Qualify" the element (Class) to indicate that it is provided by OWL "Qualify" the attribute (ID) to indicate that it is provided by RDF

11 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. Why use XML? It is a universally accepted standard way of structuring data (syntax). It is a W3C recommendation (W3C = World Wide Web Consortium) The marketplace supports it with a lot of free/inexpensive tools. The alternative to using XML is to define your own proprietary data syntax, and then build your own proprietary tools to support the proprietary syntax (Not a very appealing idea).

12 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. A Quick Introduction to OWL Web Ontology Language Roger L. Costello David B. Jacobs The MITRE Corporation (The creation of this tutorial was sponsored by DARPA)

13 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. What is OWL? Answer: OWL is a set of XML elements and attributes, with standardized meaning, that are used to define terms and their relationships. subClassOf resource ID... Class equivalentProperty sameIndividualAs... OWL elements and attributes (i.e., OWL Vocabulary) OWL extends RDF Schema: RDF Schema OWL

14 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. Example of using OWL to define two terms and their relationship Example: Define the terms "Camera" and "SLR". State that SLRs are a type of Camera. Here's how these two terms (classes) and their relationship is defined using the OWL vocabulary:

15 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. Quick Intro Contents In this quick intro we present an example to demonstrate one of the utilities of OWL: –The example shows how OWL can be used to bridge terminology differences and thus enhance interoperability.

16 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. Example: Bridging the Terminology Gap using OWL A key problem in achieving interoperability is to be able to recognize that two pieces of data are talking about the same thing, even though different terminology is being used. The following slides presents an example to show how OWL may be used to bridge the "terminology gap".

17 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. Interested in Purchasing a Camera Scenario: –I am interested in purchasing a camera with a mm zoom lens size, that has an aperture of , and a shutter speed that ranges from 1/500 sec. to 1.0 sec. –I launch my personal "Web Bot" which crawls the Web looking for Web sites that can fulfill my request. –Assume that there exists an OWL Camera Ontology, which the Web Bot can "consult" upon its travels across the Web.

18 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. Is this document relevant? <PhotographyStore rdf:ID="Hunts" xmlns:rdf=" Malden, MA <SLR rdf:ID="Olympus-OM-10" xmlns=" mm zoom seconds 325 USD The Web Bot finds this document at a Web site: Is it relevant? (Note: SLR = Single Lens Reflex)

19 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. A Match? Match? To determine if there is a match, these questions must be answered: 1. What's the relationship between "SLR" and "Camera"? 2. What's the relationship between "focal-length" and "size"? 3. What's the relationship between "f-stop" and "aperture"? <PhotographyStore rdf:ID="Hunts" xmlns:rdf="&rdf;#"> Malden, MA <SLR rdf:ID="Olympus-OM-10" xmlns=" mm zoom seconds 325 USD I am interested in purchasing a camera with a mm zoom lens size, that has an aperture of , and a shutter speed that ranges from 1/500 sec. to 1.0 sec.

20 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. Relationship between SLR and Camera? The Web Bot "consults" the OWL Camera Ontology. This OWL statement tells the Web Bot that a SLR is a type of Camera: <PhotographyStore rdf:ID="Hunts" … Hunts.xml Web Bot Camera.owl "Relationship between Camera and SLR?" "SLR is a type of Camera."

21 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. Relationship between focal-length and lens size? This OWL statement tells the Web Bot that focal-length is equivalent to lens size: "focal-length is synonymous with (lens) size. focal-length is to be used within a Lens. focal-length has a value that is a string."

22 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. Relationship between f-stop and aperture? This OWL statement tells the Web Bot that f-stop is equivalent to aperture: The Web Bot now recognizes that the XML document it found at the Web site - is talking about Cameras, and it - does show the lens size, and it - does show the aperture for the camera, and - the values for lens size, aperture, and shutter speed are met. Thus, the Web Bot recognizes that the XML document is a match!

23 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. Semantic Definitions Separate from Application! <SLR rdf:ID="Olympus-OM-10" xmlns=" mm zoom seconds 325 USD Hunts.xml Web Bot (application) "Relationship between Camera and SLR?" "SLR is a type of Camera." "Relationship between aperture and f-stop?" "f-stop is synonymous with aperture." "Relationship between size and focal-length?" "focal-length is synonymous with size." Camera.owl See the article "Why use OWL?" for a discussion of why it is good practice to separate the semantic definitions from the application. Semantic Definitions

24 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. Summary: Interoperability despite terminology differences! The example demonstrated how a Web Bot application was able to dynamically process an XML document from a Web site, despite the fact that the XML document used terminology different than was used to express the request. This interoperability was achieved by using the OWL Camera Ontology! This example also demonstrated the architectural design principle of cleanly separating the application code (e.g., Web Bot) from the semantic definitions (e.g., Camera.owl).

25 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. Demo of interoperability in a heterogeneous data environment Camera.owl Camera Application Hunts.xml What do you know about SLR? SLR is a type of Camera.

26 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. Demo - searching for Camera, lens size, aperture info The Camera Application is searching for documents that meet this desire: –I am interested in purchasing a Camera with a mm zoom lens size, that has an aperture of , and a shutter speed that ranges from 1/500 sec. to 1.0 sec. The Camera Application understands the terms (i.e., elements) Camera, lens size, and aperture. If a document uses terms that it does not understand, then the Camera application "consults" the Camera Ontology.

27 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. Hunts.xml - uses unfamiliar terminology <SLR rdf:ID="Olympus-OM-10" xmlns=" mm zoom seconds ? Need to consult the Camera Ontology!

28 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. QuikPhoto.xml - uses familiar terminology mm zoom seconds No need to consult the Camera Ontology.

29 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. Lesson Learned The Camera Application is able to process documents that uses unfamiliar terminology. Community A uses terms SLR, f-stop, focal-length Community B uses terms Camera, aperture, lens size OWL Camera Ontology Interoperates!

30 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. Who's Using Ontologies? Real estate investment agencies are using Ontologies to exchange data with regulatory agencies (Data Consortium - Real Estate Data Standards). Reuter's Health is using Ontologies to describe the content of articles and sort them into various news feeds (using SNOMED Ontology). Electric utilities describe their networks using Ontologies for exchange purposes (CIM/XML). SUN has a large knowledge management initiative called swoRDfish that uses Ontologies.

31 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. Related Articles "Why use OWL?" by Adam Pease "Using OWL to Avoid Syntactic Rigor Mortis" by Roger L. Costello "Why use OWL?" by Roger L. Costello

32 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. The OWL Camera Ontology is Online! Here is the URL to a pictorial view of the Camera Ontology: Here is the URL to the camera.owl document: Here are the URLs to 7 physical expressions (instance documents):

33 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. The Robber and the Speeder Roger L. Costello David B. Jacobs The MITRE Corporation (The creation of this tutorial was sponsored by DARPA)

34 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. An OWL Ontology can be used to answer questions that are implicit in your data ABCD ZXYZXY How many guns can have this serial number? How many people can have this driver's license number? Can this gun be registered in other gun licenses? How many guns/people are registered in a gun license?

35 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. The OWL Gun License Ontology answers the questions! ABCD ZXYZXY Only one gun can have this serial number. Only one person can have this driver's license number. A gun can be registered in only one gun license. A gun license registers one gun to one person

36 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. The Robber and the Speeder On the next few slides is an example that shows how an OWL Ontology provides the necessary information to link a robber and a speeder. Thanks to Ian Davis for this example!

37 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. Robber drops gun while fleeing! First of all a robbery takes place. The robber drops his gun while fleeing. This report is filed by the investigating officers:... ABCD

38 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. Speeder stopped Subsequently a car is pulled over for speeding. The traffic officer files this report electronically while issuing a ticket:... Fred Blogs ZXYZXY

39 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. The speeder owns a gun with the same serial number as the robbery gun! At police headquarters (HQ), a computer analyzes each report as it is filed. The computer uses the driver's license information to look up any other records it has about Fred Blogs (the speeder) and discovers this gun license: ABCD ZXYZXY

40 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. Case Solved? Not yet! These questions must be answered before the speeder can be arrested as the robbery suspect: –Can multiple guns have the same serial number? If so, then just because Fred Blogs owns a gun with the same serial number as the robbery gun does not mean it was his gun that was used in the robbery. –Can multiple people have the same driver's license number? If so, then the gun license information may be for someone else. –Can a gun be registered in multiple gun licenses? If so, then the other gun licenses may show the holder of the gun to be someone other than Fred Blogs. –Can a gun license have multiple holders of a registered gun? If so, then there may be another gun license document (not available at the police HQ) which shows the same registered gun but with a different holder. The OWL Gun License Ontology provides the information needed to answer these questions!

41 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. Can multiple guns have the same serial number? This OWL statement tells the computer at police HQ that each gun is uniquely identified by its serial number: ABCD Only one gun can have this serial number. 1

42 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. Can multiple people have the same driver's license number? The following OWL statement tells the computer that a driver's license number is unique to a Person: Only one person can have this driver's license number. 2 ZXYZXY

43 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. Can a gun be registered in multiple gun licenses? The next OWL statement tells the computer that the registeredGun property uniquely identifies a GunLicense, i.e., each gun is associated with only a single GunLicense: ABCD... A gun can be registered in only one gun license. 3

44 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. Can a gun license have multiple holders of a registered gun? The police computer uses the following OWL statement to determine that the gun on the license is the same gun used in the robbery. This final statement seals the speeder's fate. It tells the computer that each GunLicense applies to only one gun and one person. So, there is no doubt that the speeder is the person who owns the gun: A gun license registers one gun to one person. 4

45 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. Summary An OWL Ontology provides additional information about your data. –Example: The Gun License Ontology provided the data needed for the police computer to link the Robber and the Speeder! OWL is intended to be used when processing Web documents. Thus, OWL enables an ad-hoc exploitation of Web documents, i.e., the Semantic Web!