Copyright (c) 2006 Essential Strategies, Inc. 1 1 Eyesight check: Can you read this? If not, you may want to move closer to the screen...

Slides:



Advertisements
Similar presentations
Ontology-Based Computing Kenneth Baclawski Northeastern University and Jarg.
Advertisements

CH-4 Ontologies, Querying and Data Integration. Introduction to RDF(S) RDF stands for Resource Description Framework. RDF is a standard for describing.
Chronos: A Tool for Handling Temporal Ontologies in Protégé
An Introduction to RDF(S) and a Quick Tour of OWL
April 15, 2004SPIE1 Association in Level 2 Fusion Mieczyslaw M. Kokar Christopher J. Matheus Jerzy A. Letkowski Kenneth Baclawski Paul Kogut.
CS570 Artificial Intelligence Semantic Web & Ontology 2
Presented by Amr Ali AL-Hossary (M.B.,B.Ch)
Of 27 lecture 7: owl - introduction. of 27 ece 627, winter ‘132 OWL a glimpse OWL – Web Ontology Language describes classes, properties and relations.
OWL TUTORIAL APT CSA 3003 OWL ANNOTATOR Charlie Abela CSAI Department.
ISBN Chapter 3 Describing Syntax and Semantics.
Using the Semantic Web to Construct an Ontology- Based Repository for Software Patterns Scott Henninger Computer Science and Engineering University of.
1 An Introduction To The Semantic Web. 2 Information Access on the Web Find an mp3 of a song that was on the Billboard Top Ten that features a cowbell.
Chapter 8: Web Ontology Language (OWL) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley, 2005.
Dr. Alexandra I. Cristea RDF.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 8 The Enhanced Entity- Relationship (EER) Model.
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 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
Describing Syntax and Semantics
Module 2b: Modeling Information Objects and Relationships IMT530: Organization of Information Resources Winter, 2007 Michael Crandall.
A Really Brief Crash Course in Semantic Web Technologies Rocky Dunlap Spencer Rugaber Georgia Tech.
Nancy Ide Vassar College USA Resource Definition Framework A Tutorial EUROLAN 2003 July 28 - August 8 Bucharest - Romania.
RDF (Resource Description Framework) Why?. XML XML is a metalanguage that allows users to define markup XML separates content and structure from formatting.
Ontology Development Kenneth Baclawski Northeastern University Harvard Medical School.
Practical RDF Chapter 1. RDF: An Introduction
Applying Semantics in SOA – OWL, WSDL-S. 指導教授:吳秀陽 報告人:陳建博 學號:
1 MASWS Multi-Agent Semantic Web Systems: OWL Stephen Potter, CISA, School of Informatics, University of Edinburgh, Edinburgh, UK.
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.
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.
OWL and SDD Dave Thau University of Kansas
Department of Computer Science and Engineering
Logics for Data and Knowledge Representation
A Z Approach in Validating ORA-SS Data Models Scott Uk-Jin Lee Jing Sun Gillian Dobbie Yuan Fang Li.
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.
Building an Ontology of Semantic Web Techniques Utilizing RDF Schema and OWL 2.0 in Protégé 4.0 Presented by: Naveed Javed Nimat Umar Syed.
SQL Databases are a Moving Target Juan F. Sequeda – Syed Hamid Tirmizi –
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.
OWL Representing Information Using the Web Ontology Language 1.
Michael Eckert1CS590SW: Web Ontology Language (OWL) Web Ontology Language (OWL) CS590SW: Semantic Web (Winter Quarter 2003) Presentation: Michael Eckert.
Metadata. Generally speaking, metadata are data and information that describe and model data and information For example, a database schema is the metadata.
Dimitrios Skoutas Alkis Simitsis
Semantic Web - an introduction By Daniel Wu (danielwujr)
EEL 5937 Ontologies EEL 5937 Multi Agent Systems Lecture 5, Jan 23 th, 2003 Lotzi Bölöni.
RELATORS, ROLES AND DATA… … similarities and differences.
Data Structure: Data Modeling or XML? Metatopia 2007 Washington, D.C. November 6, 2007 David C. Hay Essential Strategies, Inc. 13 Hilshire Grove Lane,
Ontology-Based Computing Kenneth Baclawski Northeastern University and Jarg.
Artificial Intelligence 2004 Ontology
The future of the Web: Semantic Web 9/30/2004 Xiangming Mu.
Organization of the Lab Three meetings:  today: general introduction, first steps in Protégé OWL  November 19: second part of tutorial  December 3:
The RDF meta model Basic ideas of the RDF Resource instance descriptions in the RDF format Application-specific RDF schemas Limitations of XML compared.
OWL & Protege Introduction Dongfang Xu Ph.D student, School of Information, University of Arizona Sept 10, 2015.
The Semantic Web Riccardo Rosati Dottorato in Ingegneria Informatica Sapienza Università di Roma a.a. 2006/07.
Representing Data with XML February 26, 2004 Neal Arthorne.
OWL Web Ontology Language Overview. The OWL Web Ontology Language is designed for use by applications that need to process the content of information.
Practical RDF Chapter 12. Ontologies: RDF Business Models Shelley Powers, O’Reilly SNU IDB Lab. Taikyoung Kim.
ONTOLOGY ENGINEERING Lab #3 – September 15,
CS621 : Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 12 RDF, OWL, Minimax.
EEL 5937 Ontologies EEL 5937 Multi Agent Systems Lotzi Bölöni.
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.
W3C’s (world wide web consortium) Semantic Web: - RDF and metadata markup efforts to represent data in a machine understandable form. DARPA started the.
OWL Web Ontology Language Summary IHan HSIAO (Sharon)
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.
Linked Data & Semantic Web Technology The Semantic Web Part 4. Resource Description Framework (1) Dr. Myungjin Lee.
OWL (Ontology Web Language and Applications) Maw-Sheng Horng Department of Mathematics and Information Education National Taipei University of Education.
Building Trustworthy Semantic Webs
ece 720 intelligent web: ontology and beyond
Presentation transcript:

Copyright (c) 2006 Essential Strategies, Inc. 1 1 Eyesight check: Can you read this? If not, you may want to move closer to the screen...

Data Modeling and OWL David C. Hay Metatopia Washington, DC November 6, 2007 Essential Strategies, Inc. 13 Hilshire Grove Lane, Houston, TX  (713)  

Copyright (c) 2006 Essential Strategies, Inc. 3 How we use language is important...

Copyright (c) 2006 Essential Strategies, Inc. 4 Challenges We are drowning in information From databases in our companies From the World-wide Web in our education This calls for more effective systems: Provide more (the right?) information In spite of Ambiguous human descriptions Software that demands specificity

Copyright (c) 2006 Essential Strategies, Inc. 5 Agendums Definitions About Data Models About Ontology Languages The Foundation: The Semantic Web RDF: Resource Description Framework RDF Schema OWL: Web Ontology Language Converting a Sample Data Model What’s different

Copyright (c) 2006 Essential Strategies, Inc. 6 Agendums Definitions About Data Models About Ontology Languages The Foundation: The Semantic Web RDF: Resource Description Framework RDF Schema OWL: Web Ontology Language Converting a Sample Data Model What’s different

Copyright (c) 2006 Essential Strategies, Inc. 7 Theory of meaning; study of the signification of signs or symbols, as opposed to their formal relations (syntactics). Different parts of an organization use language in different ways. Different systems manage data With the same name that mean different things With different names that mean the same things. For systems (or departments, for that matter) to communicate, semantics must be addressed. The company’s ontology must be created. What is semantics? 1 1.G. Kemmerling. Philosophical Dictionary

Copyright (c) 2006 Essential Strategies, Inc. 8  From philosophy: “The Branch of metaphysics concerned with identifying, in the most general terms, the kinds of things that actually exist.”  A catalog of the types of things that are assumed to exist...  …in a domain of interest  …with rules governing how those terms can be combined to make valid statements  …and “sanctioned inferences” that can be made. What is an ontology? 2 2.G. Kemmerling. Philosophical Dictionary Knowledge Based Systems, Inc., Information Integration For Concurrent Engineering. Prepared for Armstrong Laboratory AL/HRGA

Copyright (c) 2006 Essential Strategies, Inc. 9 What is an ontology? A data model is an example of an ontology. Other approaches to building ontologies are being developed.

Copyright (c) 2006 Essential Strategies, Inc. 10 In summary... Ontology tells us what exists. Semantics tells us how to describe it.

Copyright (c) 2006 Essential Strategies, Inc. 11 Agendums Definitions About Data Models About Ontology Languages The Foundation: The Semantic Web RDF: Resource Description Framework RDF Schema OWL: Web Ontology Language Converting a Sample Data Model What’s different

Copyright (c) 2006 Essential Strategies, Inc. 12 Modeling Techniques: What is a data model? Commonly equivalent to database design. Not here. Model of an organization’s semantics—The structure of its information. Describes: Things of significance to the business. What characteristics describe those things. How the things are related to each other. We’re talking about the conceptual data model, here.

Copyright (c) 2006 Essential Strategies, Inc. 13 Objectives of Data Model Capture the semantics of the organization. Communicate these to the business without requiring technical skills. Provide an architecture to use as the basis for database and system design. Now: Provide the basis for designing Service Oriented Architectures.

Copyright (c) 2006 Essential Strategies, Inc. 14 A Sample Data Model... Definitions of things of significance... Definitions of relationships among those things... Definitions of information about those things...

Copyright (c) 2006 Essential Strategies, Inc. 15 The Semantics of a Data Model CITYSTATE located in the location of Each [or] [or] one or more must be <relationship name> primarily about <first entity> BOOK <second entity> TOPIC one and only one Each CITY must be located in one and only one STATE. Each STATE may be the location of one or more CITIES. may be

Copyright (c) 2006 Essential Strategies, Inc. 16 ( Yes, most people don’t name relationships like that in data models) The only approach that reveals the semantics of the relationship. Specific approach to data modeling naming, developed in the 1980’s. Promoted by Oracle Corporation in its CASE tools and training. Used in the European System Specification and Design Methodology (SSADM). The use of this approach is finally being vindicated!!

Copyright (c) 2006 Essential Strategies, Inc. 17 Data Models and Business Rules... Data models describe structure. What can be done? They are designed to represent what is permanent about the organization. Business rules are about constraints on that structure. What cannot be or must be done? Except for cardinality, business rules cannot be represented on a data model. Which is good, since business rules can change.

Copyright (c) 2006 Essential Strategies, Inc. 18 Data modeling, database design, and business rule specification are very different Note... Today we are going to discover a completely different mindset. They are, however, part of a particular mindset.

Copyright (c) 2006 Essential Strategies, Inc. 19 Something new is coming...

Copyright (c) 2006 Essential Strategies, Inc. 20 Something new is coming... If you come to this presentation as a data modeler... Hold onto your seats... There really is a new world out there... Well, maybe not that new......but you definitely have an opportunity to broaden your horizons today.

Copyright (c) 2006 Essential Strategies, Inc. 21 Agendums Definitions About Data Models About Ontology Languages The Foundation: The Semantic Web RDF: Resource Description Framework RDF Schema OWL: Web Ontology Language Converting a Sample Data Model What’s different

Copyright (c) 2006 Essential Strategies, Inc. 22 From philosophy: The study of that which exists. Now: Collections of facts about an organization In a domain With automatable rules for inference Ontologies Again, about ontologies...

Copyright (c) 2006 Essential Strategies, Inc. 23 Ontology languages Data models (and the databases based on them)... …are a kind of ontology …are about defining categories of data …establish (directly or indirectly) rules for collecting data in those categories. …and are defined by humans New ontology languages... …begin with instances of actual data …classify them …so computers can make inferences from them.

Copyright (c) 2006 Essential Strategies, Inc. 24 Data models and relational databases are based on the closed world assumption: An ontology language is based on the open world assumption: The assumptions behind them are completely different... Only that which is asserted to be true is true. All assertions are assumed to be true until proven otherwise.

Copyright (c) 2006 Essential Strategies, Inc. 25 This means... In a relational database, You can only enter data that you know to be true. You are “encouraged” to enter complete information. There are no other data. Data model entity classes are templates. In an ontologogical database, You can enter what you know to be true. You can enter incomplete information. You (and the computer) can infer other things. Ontology classes are sets of things

Copyright (c) 2006 Essential Strategies, Inc. 26 Agendums Definitions About Data Models About Ontology Languages The Foundation: The Semantic Web RDF: Resource Description Framework RDF Schema OWL: Web Ontology Language Converting a Sample Data Model What’s different

Copyright (c) 2006 Essential Strategies, Inc. 27 What is the Semantic Web? A World-wide web of interconnected machine-understandable information A single, virtual gigantic database of machine- understandable information Not just linking documents, but having software recognize the contents of those documents. Previously, search by names, keys—or SQL. Now search by semantic constructs.

Copyright (c) 2006 Essential Strategies, Inc. 28 Semantic Web Layered Architecture Applications Implementation Layer Ontology Languages (OWL) Logical Layer IndividualsRDF Schema Ontological Primitive Layer RDF and RDF/XML Basic Relational Language Layer XML and XMLS Datatypes How data are communicated URI’s and Namespaces The names of things

Copyright (c) 2006 Essential Strategies, Inc. 29 URI’s and Namespaces Uniform Resource Identifier – Portrays the identity of anything (abstract or physical). Structure: Scheme name: Scheme-specific name Not controlled: You can name a resource anything you want. E.g., hay:dave Applications Ontology Languages IndividualsRDF Schema RDF and RDF/XML XML and XMLS Datatypes URI’s and Namespaces

Copyright (c) 2006 Essential Strategies, Inc. 30 URI’s and Namespaces Applications Ontology Languages IndividualsRDF Schema RDF and RDF/XML XML and XMLS Datatypes URI’s and Namespaces Uniform Resource Locator – A Uniform Resource Identifier that identifies a primary network access mechanism (acts as a locator) Used to locate resources on the World-wide Web Controlled: Stem assigned by the Internet Corporation For Assigned Names and Numbers (ICANN). E.g.,

Copyright (c) 2006 Essential Strategies, Inc. 31 Namespaces XML Namespace – a URI that describes an ontology from which terms are taken. A prefix is usually assigned to each namespace to simplify refering to terms. For example, the OWL namespace is: xmlns:owl=" In the OWL namespace, the term “class” would be shown thus: xmlns:owl= " Once the namespace is declared, this can be abbreviated: Owl:Class Applications Ontology Languages IndividualsRDF Schema RDF and RDF/XML XML and XMLS Datatypes URI’s and Namespaces

Copyright (c) 2006 Essential Strategies, Inc. 32 XML and XMLS Datatypes (1 Minute XML tutorial)... XML is a language for data communications. It is used to express RDF and OWL constructs. Based on “tags” defined by the creator. For example: BlackBerry Notes: Each tag provides a label for that which follows it. Each tag must be accompanied by an end tag (</…) Applications Ontology Languages IndividualsRDF Schema RDF and RDF/XML XML and XMLS Datatypes URI’s and Namespaces

Copyright (c) 2006 Essential Strategies, Inc. 33 XML and XMLS Datatypes XML Schema is an XML document that configures other documents. RDF and OWL are defined in XML Schema. Applications Ontology Languages IndividualsRDF Schema RDF and RDF/XML XML and XMLS Datatypes URI’s and Namespaces 1/4

Copyright (c) 2006 Essential Strategies, Inc. 34 <rdf:RDF xmlns:rdf=" xmlns:contact=" Dave Hay Mr. URIs show up in XML as follows: RDF namespace Contact namespace Contact terminology (term is concatenated to Contact namespace for full URI) person fullname mailbox personalTitle Applications Ontology Languages IndividualsRDF Schema RDF and RDF/XML XML and XMLS Datatypes URI’s and Namespaces The tags are equivalent to this:

Copyright (c) 2006 Essential Strategies, Inc. 35 And note: Applications Ontology Languages IndividualsRDF Schema RDF and RDF/XML XML and XMLS Datatypes URI’s and Namespaces This structure Dave Hay Mr. Asserts that person is described by fullName (Dave Hay), mailbox and personalTitle (Mr).

Copyright (c) 2006 Essential Strategies, Inc. 36 Agendums Definitions About Data Models About Ontology Languages The Foundation: The Semantic Web RDF: Resource Description Framework RDF Schema OWL: Web Ontology Language Converting a Sample Data Model What’s different Applications Ontology Languages IndividualsRDF Schema RDF and RDF/XML XML and XMLS Datatypes URI’s and Namespaces

Copyright (c) 2006 Essential Strategies, Inc. 37 RDF and RDF/XML The Resource Description Framework is the basic language layer of data representation. Used as metadata to describe, for example, documents and images. Used to make simple statements of the form Rendered in XML. RDF consists of a set of pre-defined tags in XML. Applications Ontology Languages IndividualsRDF Schema RDF and RDF/XML XML and XMLS Datatypes URI’s and Namespaces

Copyright (c) 2006 Essential Strategies, Inc. 38 Example of RDF... Kleenex brand tissues are sold by Kimberly Clark Corporation Applications Ontology Languages IndividualsRDF Schema RDF and RDF/XML XML and XMLS Datatypes URI’s and Namespaces NOTE: There is no distinction between classes and instances.

Copyright (c) 2006 Essential Strategies, Inc. 39 RDF and “Data modeling” Entity class = Relationship = + Attribute = an attribute of Applications Ontology Languages IndividualsRDF Schema RDF and RDF/XML XML and XMLS Datatypes URI’s and Namespaces NOTE: There is no distinction between classes and instances.

Copyright (c) 2006 Essential Strategies, Inc. 40 RDF Tags Tags for statements Plus tags for collecting instances Applications Ontology Languages IndividualsRDF Schema RDF and RDF/XML XML and XMLS Datatypes URI’s and Namespaces

Copyright (c) 2006 Essential Strategies, Inc. 41 Agendums Definitions About Data Models About Ontology Languages The Foundation: The Semantic Web RDF: Resource Description Framework RDF Schema OWL: Web Ontology Language Converting a Sample Data Model What’s different

Copyright (c) 2006 Essential Strategies, Inc. 42 RDF Schema... Extends RDF Adds resource, class, sub-class, range, domain, etc. RDF is actually specified using RDFS tags. Applications Ontology Languages IndividualsRDF Schema RDF and RDF/XML XML and XMLS Datatypes URI’s and Namespaces

Copyright (c) 2006 Essential Strategies, Inc. 43 RDFS and Data Modeling Applications Ontology Languages IndividualsRDF Schema RDF and RDF/XML XML and XMLS Datatypes URI’s and Namespaces Entity class = Attribute = Relationship = Instance = For example: Product Party

Copyright (c) 2006 Essential Strategies, Inc. 44 Note: In RDF all relationships are optional many-to-many. There are no cardinality constraints. Applications Ontology Languages IndividualsRDF Schema RDF and RDF/XML XML and XMLS Datatypes URI’s and Namespaces

Copyright (c) 2006 Essential Strategies, Inc. 45 RDF Schema tags... About Resources Documentation Extent of properties Applications Ontology Languages IndividualsRDF Schema RDF and RDF/XML XML and XMLS Datatypes URI’s and Namespaces Definitions Containers <rdfs: containerMembershipProperty> Miscellaneous

Copyright (c) 2006 Essential Strategies, Inc. 46 Agendums Definitions About Data Models About Ontology Languages The Foundation: The Semantic Web RDF: Resource Description Framework RDF Schema OWL: Web Ontology Language Converting a Sample Data Model What’s different

Copyright (c) 2006 Essential Strategies, Inc. 47 Ontology Languages... RDF constructs are not rich enough: Few descriptors support inferencing Not expressive enough to support the WWW. Web Ontology Language (OWL) adds tags. Three species: OWL Full OWL Lite OWL DL NOTE: IDEF5, from the federal government also addressed this. Applications Ontology Languages IndividualsRDF Schema RDF and RDF/XML XML and XMLS Datatypes URI’s and Namespaces * * In Winnie the Pooh, Owl imagines that his name is spelled “WOL”, until his friends correct him. Here, the W3C decided to start with the correct spelling.

Copyright (c) 2006 Essential Strategies, Inc. 48 Open world assertion: All may be true unless asserted otherwise Two airports with different names could be the same airport. Instance AA243 may be a flight or an airport. Must explicitly declare instances and classes to be disjoint. (If “AA243” is a flight, it cannot be an airport.) Begin with instances; then classify by properties Class of red things Multiple inheritance Attributes and attribute values can be used to define multiple classes. About OWL... Applications Ontology Languages IndividualsRDF Schema RDF and RDF/XML XML and XMLS Datatypes URI’s and Namespaces

Copyright (c) 2006 Essential Strategies, Inc. 49 The OWL parts of a data model Entity class = Attribute = Relationship = NOTE:  Both attributes and relationships are properties  They are defined first, then attached to one or more classes.

Copyright (c) 2006 Essential Strategies, Inc. 50 For example...  Define class:  Add attribute:  Add Relationship: Actually, it’s more complicated than this, but this will get you started...

Copyright (c) 2006 Essential Strategies, Inc. 51 Identifying Instances... Identify individual instances:

Copyright (c) 2006 Essential Strategies, Inc. 52 OWL Tags... Classes Ontology Nothing Thing (complement of Nothing) Class AllDifferent Restriction DeprecatedClass DeprecatedProperty DataRange Rdf: Property ObjectProperty TransitiveProperty SymmetricProperty InverseFunctionalProperty DatatypeProperty OntologyProperty FunctionalProperty AnnotationProperty

Copyright (c) 2006 Essential Strategies, Inc. 53 OWL Tags, continued Properties (Domain, Range) equivalentClass (Class 1, Class 2) equivalentProperty (Property 1, Property 2) disjointWith (Class 1, Class 2) sameAs (Thing 1, Thing 2) differentFrom (Thing 1, Thing 2) distinctMembers (AllDifferent, &rdf;List) unionOf (Class, &rdf;List) intersectionOf (Class, &rdf;List) complementOf (Class 1, Class 2) oneOf (&rdfs;Class, &rdf;List) onProperty (Restriction, &rdf;Property) allValuesFrom (Restriction, &rdfs;Class) hasValue (Restriction) someValuesFrom (Restriction, &rdfs;Class) minCardinality (Restriction, &xsd;nonNegativeInteger) maxCardinality (Restriction, &xsd;nonNegatieInteger Cardinality (Restriction, &xsd;nonNegativeInteger

Copyright (c) 2006 Essential Strategies, Inc. 54 OWL Tags, continued Properties (Domain, Range) inverseOf (ObjectProperty 1, ObjectProperty 2) imports (Ontology 1, Ontology 2) versionInfo priorVersion (Ontology 1, Ontology 2) backwardCompatibleWith (Ontology 1, Ontology 2) incompatibleWith (Ontology 1, Ontology 2)

Copyright (c) 2006 Essential Strategies, Inc. 55 Agendums Definitions About Data Models About Ontology Languages The Foundation: The Semantic Web RDF: Resource Description Framework RDF Schema OWL: Web Ontology Language Converting a Sample Data Model What’s different 1/2

Copyright (c) 2006 Essential Strategies, Inc. 56 Converting a data model to OWL Both are about the structure of data It is (mostly) mechanical to translate one to another. The implications, however, are profound.

Copyright (c) 2006 Essential Strategies, Inc. 57 A Sample Data model (Begin with a taxonomy)...

Copyright (c) 2006 Essential Strategies, Inc. 58 Defining Classes in Protégé...

Copyright (c) 2006 Essential Strategies, Inc. 59 The Generated XML – Introduction (Namespaces) <rdf:RDF xmlns:Geo=" xmlns:protege= " xmlns:rdf=" xmlns:xsd=" xmlns:rdfs=" xmlns:owl=" xmlns:daml=" xmlns:dc=" xmlns=" xml:base="

Copyright (c) 2006 Essential Strategies, Inc. 60 The Generated XML – Geographic Location... NOTE: Every class is at least a sub-type of “Thing”.

Copyright (c) 2006 Essential Strategies, Inc. 61 The Generated XML – Geopolitical Area... Note two (equivalent) approaches...

Copyright (c) 2006 Essential Strategies, Inc. 62 <owl:Class rdf:ID=" GEOGRAPHIC_TELEPHONE_AREA “ The Generated XML – Remaining Geographic Locations...

Copyright (c) 2006 Essential Strategies, Inc. 63 First Consraint – “disjoint”

Copyright (c) 2006 Essential Strategies, Inc. 64 The OWL version of disjointedness... <rdfs:comment rdf:datatype=" /XMLSchema#string"> A GEOGRAPHICAL_AREA whose boundaries are set by law or treaty.

Copyright (c) 2006 Essential Strategies, Inc. 65 Adding Attributes to the Data Model...

Copyright (c) 2006 Essential Strategies, Inc. 66 The OWL version... “Attribute” becomes “datatype property” Datatype properties are defined first, and then assigned to a class. Domain means the class that the datatype property is an attribute of. Range specifies a URL to describe the format. Note: Once a datatype property is assigned to a particular class, the name cannot be re-used with any other. (More about this constraint, later.)

Copyright (c) 2006 Essential Strategies, Inc. 67 The Protégé and Properties...

Copyright (c) 2006 Essential Strategies, Inc. 68 Protégé Assigns Properties to Classes...

Copyright (c) 2006 Essential Strategies, Inc. 69 XML/OWL statements about properties...

Copyright (c) 2006 Essential Strategies, Inc. 70 <rdfs:range rdf:datatype= <rdfs:range rdf:datatype=" XML/OWL statements about properties...

Copyright (c) 2006 Essential Strategies, Inc. 71 Adding relationships to the Data Model...

Copyright (c) 2006 Essential Strategies, Inc. 72 Two versions of Relationships... Version 1 Object property, e.g., “located in state” Domain: first class Range: second class May only be used to define relationships from the first class Version 2 Object property, e.g., “located in” Makes first class a subtype of class that defines a restriction The restriction is the specified property …in terms of some or all values of second class. May be used with any first class

Copyright (c) 2006 Essential Strategies, Inc. 73 About relationships in OWL (Version 1) Define classes Then define object property in terms of: Domain – The class being related Range – The class being related to Must have unique name in namespace E.g. “locatedInSTATE” and “locatedInCOUNTRY” must be different. Can use union of classes for Domain E.g., instances of COUNTY and CITY may be located in STATE.

Copyright (c) 2006 Essential Strategies, Inc. 74 The Cerebra View (Version 1)... Note: Union

Copyright (c) 2006 Essential Strategies, Inc. 75 Version 1 of an object property in OWL... [Define City, State, and County…]

Copyright (c) 2006 Essential Strategies, Inc. 76 Version 1 of an object property in OWL... “FunctionalProperty” means that only one value of the range is permitted (and one is required) for each value of the domain.

Copyright (c) 2006 Essential Strategies, Inc. 77 Relationship as ObjectProperty (Protégé)...

Copyright (c) 2006 Essential Strategies, Inc. 78 Version 1 of an object property in OWL...  Since the first object property (“located_in_state”) was tied to the range (“STATE”), it can only be used in cases where that is the range.  “Located_in_country” must have different name.  Can make it “functional” meaning “…must be no more than one…”  Or can explicitly add cardinality.

Copyright (c) 2006 Essential Strategies, Inc. 79 About relationships in OWL, version 2 For each “from” class Define restriction as super-class of the “from” class onProperty = “located in” someValuesFrom = Can re-use “located in” 3/4

Copyright (c) 2006 Essential Strategies, Inc. 80 The Cerebra View (Version 2)...

Copyright (c) 2006 Essential Strategies, Inc Version 2 of an object property in OWL... [continued on next page] First define an object property... Then assign it to a STATE to put it in a COUNTRY...

Copyright (c) 2006 Essential Strategies, Inc. 82 Version 2 of an object property in OWL... 1 [continued from last page] [continued on next page]

Copyright (c) 2006 Essential Strategies, Inc. 83 Version 2 of an object property in OWL... [continued from last page] 1

Copyright (c) 2006 Essential Strategies, Inc. 84 Version 2 of an object property in OWL...  Restriction can be reused to be “located in Country”.  Cannot be “functional”, but can be “transitive”.  Can use cardinality restriction.

Copyright (c) 2006 Essential Strategies, Inc. 85 Note: More About Datatype Properties... The approach described above: <rdfs:range rdf:datatype= " Has the same limitations as the approach to relationships Cannot duplicate the name.

Copyright (c) 2006 Essential Strategies, Inc. 86 Version 2 is also available for Datatype Properties... 1 No t e

Copyright (c) 2006 Essential Strategies, Inc Version 2 is also available for Datatype Properties... No t e

Copyright (c) 2006 Essential Strategies, Inc. 88 Agendums Definitions About Data Models About Ontology Languages The Foundation: The Semantic Web RDF: Resource Description Framework RDF Schema OWL: Web Ontology Language Converting a Sample Data Model What’s different

Copyright (c) 2006 Essential Strategies, Inc. 89 What’s Different... Audience... Purpose... Premises... Constructing Classes... Approach to Constraints...

Copyright (c) 2006 Essential Strategies, Inc. 90 What’s different: Audience... Data Modeling... Human beings Ontology Languages... Computers We’re still waiting for the utility that allows us to automate the conversion of a conceptual (semantic) data model to an OWL script.

Copyright (c) 2006 Essential Strategies, Inc. 91 What’s Different: Purpose Data Modeling: Control data when entered Only accept “correct” data Ontology Languages Use existing data as extensively as possible Analyze existing data to see what’s true

Copyright (c) 2006 Essential Strategies, Inc. 92 What’s Different: Premise Data Modeling: Closed world Only what is asserted is the case Ontology Languages Open world Anything is possible if it is consistent with assertions

Copyright (c) 2006 Essential Strategies, Inc. 93 What’s Different: Constructing Classes Data Modeling Begin with class definitions of fundamental categories Define attributes Identify instances Ontology Languages Begin with instances Identify attributes Define classes based on attributes (Accept multiple inheritance)

Copyright (c) 2006 Essential Strategies, Inc. 94 What’s Different: Approach to Constraints Data Modeling (plus Business Rules) Determine what data are acceptable Reject data that do not conform Ontology Languages Assert what is true Infer what else may be true

Copyright (c) 2006 Essential Strategies, Inc. 95 For example, in data modeling... Each CITY must be located in one and only one STATE. If “Portland” is entered as a CITY without a STATE then it is not accepted. If “Portland” is entered as a CITY and linked to STATE “Maine”, then a record with the CITY “Portland” linked to STATE “Oregon” is not accepted.

Copyright (c) 2006 Essential Strategies, Inc. 96 For example, in ontology languages Each CITY must be located in one and only one STATE. 1. “Portland” may be entered without a STATE 2. If “Portland” is entered “located in” “Maine” And “Portland” is identified as a CITY Then “Maine” must be a STATE (inference) 3. If “Portland is then entered “located in” “Oregon” And “Portland” is identified as a CITY Then “Oregon” must be a STATE (Inference) And either: “Oregon” and “Maine” must be the same state (Inference) Or “Portland” in “Oregon” and “Portland” in “Maine” must be different cities. (Inference)

Copyright (c) 2006 Essential Strategies, Inc. 97 Note that OWL is much more subtle in being able to distinguish between the name of something and what is being referred to by that name.

Copyright (c) 2006 Essential Strategies, Inc. 98 Synopsis Both data modeling and ontology languages represent the structure of business data (ontologies) Data modeling represents data being collected, and filters according to rules Ontology languages represent data being used, with ability to have computer make inferences.

Copyright (c) 2006 Essential Strategies, Inc. 99 Ok, one commercial... An article based on this paper was published as a Cutter Consortium Executive Report. You can download it at Also: And Data Model Patterns: Conventions of Thought. Dorset House, Requirements Analysis: From Business Views to Architecture. Prentice Hall, Data Model Patterns: A Metadata Map. Morgan Kaufmann, 2006.