Semantic Web Ontologies & Data Models

Slides:



Advertisements
Similar presentations
CH-4 Ontologies, Querying and Data Integration. Introduction to RDF(S) RDF stands for Resource Description Framework. RDF is a standard for describing.
Advertisements

Semantic Web Thanks to folks at LAIT lab Sources include :
An Introduction to RDF(S) and a Quick Tour of OWL
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.
1 Ontology Language Comparisons doug foxvog 16 September 2004.
1 Semantic Web Technologies: The foundation for future enterprise systems Okech Odhiambo Knowledge Systems Research Group Strathmore University.
Ontology Notes are from:
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.
Descriptions Robert Grimm New York University. The Final Assignment…  Your own application  Discussion board  Think: Paper summaries  Web cam proxy.
Semantic Web Ontologies CS 431 – April 4, 2005 Carl Lagoze – Cornell University Acknowledgements: Alun Preece.
Dr. Alexandra I. Cristea RDF.
COMP 6703 eScience Project Semantic Web for Museums Student : Lei Junran Client/Technical Supervisor : Tom Worthington Academic Supervisor : Peter Strazdins.
Cornell CS Semantic Web Ontologies & Data Models CS 502 – Carl Lagoze – Cornell University Acknowledgements: Eric Miller Dieter Fensel.
More RDF CS 431 – Carl Lagoze – Cornell University Acknowledgements: Eric Miller Dieter Fensel.
Resource Description Framework Building the Semantic Web CS 431 – Carl Lagoze – Cornell University Acknowledgements: Eric Miller Dieter Fensel.
From SHIQ and RDF to OWL: The Making of a Web Ontology Language
Cornell CS 502 Resource Description Framework Building the Semantic Web CS 502 – Carl Lagoze – Cornell University Acknowledgements: Eric Miller.
Semantic Web Ontologies (continued) Expressing, Querying, Building CS 431 – April 6, 2005 Carl Lagoze – Cornell University.
Aidministrator nederland b.v. Adding formal semantics to the Web Jeen Broekstra, Michel Klein, Stefan Decker, Dieter Fensel,
Chapter 6 Understanding Each Other CSE 431 – Intelligent Agents.
Okech Odhiambo Faculty of Information Technology Strathmore University
Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the.
1 Representing Data with XML September 27, 2005 Shawn Henry with slides from Neal Arthorne.
OWL and SDD Dave Thau University of Kansas
OWL Capturing Semantic Information using a Standard Web Ontology Language Aditya Kalyanpur Jennifer Jay Banerjee James Hendler Presented By Rami Al-Ghanmi.
Dept. Computer Science, Korea Univ. Intelligent Information System Lab. 1 Sohn Jong-Soo Intelligent Information System lab. Department of Computer Science.
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.
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 Modularization Concepts and Tools Carl Lagoze CS
Michael Eckert1CS590SW: Web Ontology Language (OWL) Web Ontology Language (OWL) CS590SW: Semantic Web (Winter Quarter 2003) Presentation: Michael Eckert.
Advanced topics in software engineering (Semantic web)
EEL 5937 Ontologies EEL 5937 Multi Agent Systems Lecture 5, Jan 23 th, 2003 Lotzi Bölöni.
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.
Artificial Intelligence 2004 Ontology
DAML+OIL: an Ontology Language for the Semantic Web.
The future of the Web: Semantic Web 9/30/2004 Xiangming Mu.
Semantic Web Ontologies CS 431 – Carl Lagoze – Cornell University Acknowledgements: Alun Preece.
OIL and DAML+OIL: Ontology Languages for the Semantic Web Sungshin Lim TOWARDS THE SEMANTIC WEB: Ontology-driven Knowledge.
Organization of the Lab Three meetings:  today: general introduction, first steps in Protégé OWL  November 19: second part of tutorial  December 3:
PRACTICAL KNOWLEDGE REPRESENTATION FOR THE WEB Frank van Harmelen Dieter Fensel AIFB Kim Kangil Structural Complexity Laboratory.
Representing Data with XML February 26, 2004 Neal Arthorne.
Practical RDF Chapter 12. Ontologies: RDF Business Models Shelley Powers, O’Reilly SNU IDB Lab. Taikyoung Kim.
Of 38 lecture 6: rdf – axiomatic semantics and query.
CS621 : Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 12 RDF, OWL, Minimax.
The Semantic Web and Ontology. The Semantic Web WWW: –syntactic transmission of information –only processible by human – no semantic conservation of the.
A Portrait of the Semantic Web in Action Jeff Heflin and James Hendler IEEE Intelligent Systems December 6, 2010 Hyewon Lim.
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 (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.
DOMAIN ONTOLOGY DESIGN
Information Organization
Resource Description Framework Building the Semantic Web
ece 627 intelligent web: ontology and beyond
Ontologies.
Grid Computing 7700 Fall 2005 Lecture 18: Semantic Grid
Ontology.
ece 720 intelligent web: ontology and beyond
ece 720 intelligent web: ontology and beyond
Grid Computing 7700 Fall 2005 Lecture 18: Semantic Grid
RDA Community and linked data
Semantic Web Basics (cont.)
Presentation transcript:

Semantic Web Ontologies & Data Models CS 502 – 20030303 Carl Lagoze – Cornell University Acknowledgements: Eric Miller Dieter Fensel Cornell CS 502 20020307

Components of the Semantic Web Cornell CS 502 20020307

Knowledge Representation and AI meeting the Web Knowledge representation is not new Formalisms Semantic networks Frame systems Frames (objects) Slots (attributes and properties) Languages LOOM Classic Cyc-L Logics Description Logics (DLs) Cornell CS 502 20020307

So why re-invent it for the Web Not re-invention Same underlying formalisms (frames, slots, description logic) But new factors Lack of central control Inconsistency, lies, re-interpretations, duplications Continue change New facts appear and modify constantly Massive scale Tractability Knowledge expressiveness must be limited or reasoning must be incomplete Open world context Contrast to most reasoning systems that assume anything absent from knowledge base is not true Need to build on existing standards URI, XML, RDF Cornell CS 502 20020307

Why aren’t XML schema good enough? XML schema is designed to primarily describe structure and constraints on documents Rich datatypes Grammar for describing structure of elements (and attributes) Incomplete modeling of is-a relationships Top-down inheritance of attributes from superclasses to subclasses with extension and restriction is clumsy E.g., student as person with a student # and age<28 Bottom-up inheritance of instances to superclasses is not automatic Multiple inheritance is missing Cornell CS 502 20020307

From modeling to implementation Modeling primitives: Class; Slot ERmodel OWLspecification Modeling Implementation Relational Model XMLschema Data- base XML documents Cornell CS 502 20020307

Data model for defining machine-processible semantics of data Brief review of RDF Data model for defining machine-processible semantics of data Three main object types: Resources Primitive metadata is URI Properties Sub-class of resource Statements (:s :p :o) Graph model that is serializable in XML Cornell CS 502 20020307

RDF Schemas A building block for assembling ontology languages Declaration of vocabularies Classes and class hierarchies properties defined by a particular community characteristics of properties and/or constraints on corresponding values Provides substructure for inferences based on existing triples Schema language is an expression of basic RDF model Schema Type System - Basic Types Property, Class, SubClassOf, Domain, Range Minimal (but extensible) at this time Expressible in the RDF model and syntax Cornell CS 502 20020307

Schema Vocabularies Enables communities to share machine readable tokens and locally define human readable labels. dc:Creator “Nom” rdfs:label “Author” rdfs:label “$100 $a” rdfs:label Cornell CS 502 20020307

Relationships among vocabularies dc:Creator marc:100 ms:director bib:Author Cornell CS 502 20020307

Relationships among vocabulary elements dc:Creator ms:director rdfs: subPropertyOf rdfs:label “Director” dc:Creator URI:R ms:director “John Smith” Cornell CS 502 20020307

RDF Schema: Specializing Properties rdfs:subPropertyOf – allows specialization of relations E.g., the property “father” is a subPropertyOf the property parent subProperty semantics Cornell CS 502 20020307

Sub-Property Semantics Cornell CS 502 20020307

Constraints on Properties Force objects to be of a certain type rdfs:domain Restricts the type of resources that may have a specific property rdfs:range Restricts the type of resources that may be the value of a specific property range Cornell CS 502 20020307

Inferences from Constraints doris betty eve alice charles Cornell CS 502 20020307

Inferences from Constraints Cornell CS 502 20020307

Class Hierarchy rdfs:Class rdfs:subClassOf Resources denoting a set of resources; range of rdf:type rdfs:subClassOf Create class hierarchy rdf:type rdf:type rdfs:class rdfs:subClassOf rdf:type rdf:type rdf:class rdf:class Cornell CS 502 20020307

Sub-Class Inferencing Cornell CS 502 20020307

Sub-class Inferencing Example Cornell CS 502 20020307

A formal specification of conceptualization shared in a community What is an Ontology? A formal specification of conceptualization shared in a community Vocabulary for defining a set of things that exist in a world view Formalization allows communication across application systems and extension Parallel concepts in other areas: Domains: database theory Types: AI Classes: OO systems Types/Sorts: Logic Global vs. Domain-specific Cornell CS 502 20020307

XML and RDF are ontologically neutral No standard vocabulary just primitives Resource, Class, Property, Statement, etc. Compare to classic first order logic Conjunction, disjunction, implication, existential, universal quantifier Cornell CS 502 20020307

Components of an Ontology Vocabulary (concepts) Structure (attributes of concepts and hierarchy) Logical characteristics of concepts & attributes Domain and range restrictions Properties of relations (symmetry, transitivity) Cornell CS 502 20020307

On-line lexical reference system, domain-independent Wordnet On-line lexical reference system, domain-independent >100,000 word meanings organized in a taxonomy with semantic relationships Synonymy, meronymy, hyponymy, hypernymy Useful for text retrieval, etc. http://www.cogsci.princeton.edu/~wn/online/ Cornell CS 502 20020307

Effort in AI community to accommodate all of human knowledge!!! CYC Effort in AI community to accommodate all of human knowledge!!! Formalizes concepts with logical axioms specifying constraints on objects and classes Associated reasoning tools Contents are proprietary but there is OpenCyc http://www.opencyc.org/ Cornell CS 502 20020307

Lots of Participants and $$$ Ontologies for the Web Lots of Participants and $$$ Web Ontology Working Group Distributed Agent Markup Language Ontology Inference Layer OntoWeb Schemas Project OWL (Web Ontology Language) – develop standard for encoding ontologies on top of RDF Schema Cornell CS 502 20020307

Extending RDF(S) with OWL Class definition: Conjunction, disjunction, negation Property constraints: universality, existence, cardinality Properties of properties: transitivity, symmetry Class, sub-class definition Property (attribute), sub-property definition Domain, range constraints Cornell CS 502 20020307

DAML class building operations disjointWith No vegetarians are carnivores sameClassAs (equivalence) Enumerations (on instances) The Ivy League is Cornell, Harvard, Yale, …. Boolean set semantics (on classes) Union (logical disjunction) Intersection (logical conjunction) complimentOf (logical negation) All non-carnivores are vegetarians Cornell CS 502 20020307

DAML property building operations & restrictions Transitive Property P(x,y) and P(y,z) -> P(x,z) SymmetricProperty P(x,y) iff P(y,x) Functional Property P(x,y) and P(x,z) -> y=z inverseOf P1(x,y) iff P2(y,x) InverseFunctional Property P(y,x) and P(z,x) -> y=z Cardinality Cornell CS 502 20020307

Full use of XML schema data type definitions Examples DAML+OIL DataTypes Full use of XML schema data type definitions Examples Define a type age that must be a non-negative integer Define a type clothing size that is an enumeration “small” “medium” “large” Cornell CS 502 20020307

DAML+OIL Instance Creation Create individual objects filling in slot/attribute/property definitions <Person ref:ID=“William Arms”> <rdfs:label>Bill</rdfs:label> <age><xsd:integer rdf:value=“57”/></age> <shoesize><xsd:decimal rdf:value=“10.5”/></shoesize> </Person> Cornell CS 502 20020307

Language Comparison DTD XSD RDF(S) OWL Bounded lists (“X is known to have exactly 5 children”) X Cardinality constraints (Kleene operators) Class expressions (unionOf, complementOf) Data types Enumerations Equivalence (properties, classes, instances) Formal semantics (model-theoretic & axiomatic) Inheritance Inference (transitivity, inverse) Qualified contraints (“all children are of type person” Reification Cornell CS 502 20020307

JENA toolkit for manipulating RDF models Some useful RDF tools JENA toolkit for manipulating RDF models http://www.hpl.hp.com/semweb/jena-top.html RDFSviz for visualizing ontologies expressed as RDF schema http://www.dfki.uni-kl.de/frodo/RDFSViz/ W3C RDF validation service for parsing and view RDF instances http://www.w3.org/RDF/Validator/ Cornell CS 502 20020307