1 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil Semantic Markup Languages: A Gentle Introduction Yolanda Gil USC/Information Sciences Institute

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

What is XML? a meta language that allows you to create and format your own document markups a method for putting structured data into a text file; these.
XML: Extensible Markup Language
CS570 Artificial Intelligence Semantic Web & Ontology 2
1 Web Data Management XML Schema. 2 In this lecture XML Schemas Elements v. Types Regular expressions Expressive power Resources W3C Draft:
By Ahmet Can Babaoğlu Abdurrahman Beşinci.  Suppose you want to buy a Star wars DVD having such properties;  wide-screen ( not full-screen )  the extra.
RDF Tutorial.
An Introduction to XML Based on the W3C XML Recommendations.
SIG2: Ontology Language Standards WebOnt Briefing Ian Horrocks University of Manchester, UK.
Using the Semantic Web to Construct an Ontology- Based Repository for Software Patterns Scott Henninger Computer Science and Engineering University of.
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.
Dr. Alexandra I. Cristea RDF.
Review Writing XML  Style  Common errors 1XML Technologies David Raponi.
XML Schemas Lecture 10, 07/10/02. Acknowledgements A great portion of this presentation has been borrowed from Roger Costello’s excellent presentation.
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.
Sunday, June 28, 2015 Abdelali ZAHI : FALL 2003 : XML Schemas XML Schemas Presented By : Abdelali ZAHI Instructor : Dr H.Haddouti.
From SHIQ and RDF to OWL: The Making of a Web Ontology Language
Introducing XHTML: Module B: HTML to XHTML. Goals Understand how XHTML evolved as a language for Web delivery Understand the importance of DTDs Understand.
Introduction to XML This material is based heavily on the tutorial by the same name at
Introducing HTML & XHTML:. Goals  Understand hyperlinking  Understand how tags are formed and used.  Understand HTML as a markup language  Understand.
Introduction to XML: Part I By Sandeep Jangity CS 157B, Section 2 Dr. Lee.
XP New Perspectives on XML Tutorial 4 1 XML Schema Tutorial – Carey ISBN Working with Namespaces and Schemas.
RDF (Resource Description Framework) Why?. XML XML is a metalanguage that allows users to define markup XML separates content and structure from formatting.
XML Anisha K J Jerrin Thomas. Outline  Introduction  Structure of an XML Page  Well-formed & Valid XML Documents  DTD – Elements, Attributes, Entities.
Why XML ? Problems with HTML HTML design - HTML is intended for presentation of information as Web pages. - HTML contains a fixed set of markup tags. This.
CREATED BY ChanoknanChinnanon PanissaraUsanachote
1Computer Sciences Department Princess Nourah bint Abdulrahman University.
Practical RDF Chapter 1. RDF: An Introduction
Dr. Azeddine Chikh IS446: Internet Software Development.
XML Language Family Detailed Examples Most information contained in these slide comes from: These slides are intended.
1 © Netskills Quality Internet Training, University of Newcastle Introducing XML © Netskills, Quality Internet Training University.
XHTML1 Building Document Structure Chapter 2. XHTML2 Objectives In this chapter, you will: Learn how to create Extensible Hypertext Markup Language (XHTML)
XML 1 Enterprise Applications CE00465-M XML. 2 Enterprise Applications CE00465-M XML Overview Extensible Mark-up Language (XML) is a meta-language that.
What is XML?  XML stands for EXtensible Markup Language  XML is a markup language much like HTML  XML was designed to carry data, not to display data.
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.
 XML is designed to describe data and to focus on what data is. HTML is designed to display data and to focus on how data looks.  XML is created to structure,
Chapter 27 The World Wide Web and XML. Copyright © 2004 Pearson Addison-Wesley. All rights reserved.27-2 Topics in this Chapter The Web and the Internet.
Processing of structured documents Spring 2002, Part 2 Helena Ahonen-Myka.
XML A web enabled data description language 4/22/2001 By Mark Lawson & Edward Ryan L’Herault.
1 Chapter 10: XML What is XML What is XML Basic Components of XML Basic Components of XML XPath XPath XQuery XQuery.
Of 33 lecture 3: xml and xml schema. of 33 XML, RDF, RDF Schema overview XML – simple introduction and XML Schema RDF – basics, language RDF Schema –
Copyrighted material John Tullis 10/17/2015 page 1 04/15/00 XML Part 3 John Tullis DePaul Instructor
Resource Description Framework (RDF) Course: Electronic Document Team member: Ding Feng Ding Wei Wang Ling Date:
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.
Chapter 27 The World Wide Web and XML. Copyright © 2004 Pearson Addison-Wesley. All rights reserved.27-2 Topics in this Chapter The Web and the Internet.
EEL 5937 Ontologies EEL 5937 Multi Agent Systems Lecture 5, Jan 23 th, 2003 Lotzi Bölöni.
Tutorial 13 Validating Documents with Schemas
Artificial Intelligence 2004 Ontology
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.
COMP9321 Web Application Engineering Semester 2, 2015 Dr. Amin Beheshti Service Oriented Computing Group, CSE, UNSW Australia Week 4 1COMP9321, 15s2, Week.
Metadata : an overview XML and Educational Metadata, SBU, London, 10 July 2001 Pete Johnston UKOLN, University of Bath Bath, BA2 7AY UKOLN is supported.
Problems with XML & XML Schemas XML falls apart on the Scalability design goal. 1.The order in which elements appear in an XML document is significant.
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,
Representing Data with XML February 26, 2004 Neal Arthorne.
EEL 5937 Ontologies EEL 5937 Multi Agent Systems Lotzi Bölöni.
Motivation Dynamically identify and understand information sources Provide interoperability between agents in a semantic manner Enable distributed extensible.
W3C’s (world wide web consortium) Semantic Web: - RDF and metadata markup efforts to represent data in a machine understandable form. DARPA started the.
Chapter 5 The Semantic Web 1. The Semantic Web  Initiated by Tim Berners-Lee, the inventor of the World Wide Web.  A common framework that allows data.
 XML derives its strength from a variety of supporting technologies.  Structure and data types: When using XML to exchange data among clients, partners,
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.
1 Extensible Stylesheet Language (XSL) Extensible Stylesheet Language (XSL)
OWL (Ontology Web Language and Applications) Maw-Sheng Horng Department of Mathematics and Information Education National Taipei University of Education.
The Semantic Web By: Maulik Parikh.
XML QUESTIONS AND ANSWERS
RDF (Resource Description Framework)
Data Modeling II XML Schema & JAXB Marc Dumontier May 4, 2004
New Perspectives on XML
Presentation transcript:

1 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil Semantic Markup Languages: A Gentle Introduction Yolanda Gil USC/Information Sciences Institute

2 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil Outline I: The Big Picture  The Semantic Web II: A Gentle Introduction  XSD, RDFS, DAML III: The Big Picture Revisited  W3C’s Semantic Web principles  How this is changing our research in Knowledge Bases

3 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil I: THE BIG PICTURE

4 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil The Semantic Web W3C’s Tim Berners-Lee: “Weaving the Web”: “I have a dream for the Web… and it has two parts.” The first Web enables communication between people  The Web shows how computers and networks enable the information space while getting out of the way The new Web will bring computers into the action  Step 1 -- Describe: putting data on the Web in machine- understandable form -- a Semantic Web –RDF (based on XML) –Master list of terms used in a document (RDF schema) –Each document mixes global standards and local agreed-upon terms (namespaces)  Step 2 -- Infer and reason: apply logic inference –Operate on partial understanding –Answering why –Heuristics

5 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil Semantics and Meaning according to TBL “In the extreme view, the world can be seen as only connections, nothing else. … I like the idea that a piece of information is really defined only by what it’s related to, and how it’s related. There really is little else to meaning. The structure is everything.” “What matters is in the connections. It isn’t the letters, it’s the way they are strung together into words. […] into phrases. […] into a document. For the people, by the people: the right to link “Once [… something…] was made available, it should be accesible to anyone […]. And it should be possible to make a link to that thing.”

6 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil And There You Have It: XML RDF RDF(S) XSD PICS DAML OIL DAML+OIL N3 DAML-S WSDL RSS KIF MELD OKBC CYCL XLink XPath ? ? ? ? ? ? FOL ? XTM XQUERY SMIL XSLT LOOM

7 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil II: THE GENTLE INTRODUCTION

8 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil The Layer Cake [TBL,XML2000]

9 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil The Layer Cake [TBL,XML2000]

10 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil URIs: Uniform Resource Identifiers (aka URLs) ftp:// The Web is an information space. URIs are the points in that space. Short strings that identify resources in the web: documents, images, downloadable files, services, electronic mailboxes, and other resources. They make resources addressable in the same simple way. They reduce the tedium of "log in to this server, then issue this magic command..." down to a single click.

11 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil

12 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil Unicode A character encoding system, like ASCII, designed to help developers who want to create software applications that work in any language in the world Unicode provides a unique number for every character, no matter what the platform, no matter what the program, no matter what the language

13 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil The Layer Cake [TBL,XML2000]

14 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil Why XML (eXtensible Markup Language) Problems with HTML HTML design - HTML is intended for presentation of information as Web pages. - HTML contains a fixed set of markup tags. This design is not appropriate for data: - Tags don’t convey meaning of the data inside the tags. - Tags are not extensible.

15 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil The Design of XML Tags can be used to represent the meaning of data/information  separates syntax (structural representation) from semantics => only syntax is considered in XML There is no fixed set of markup tags - new tags can be defined Underlying data model is a tree structure “XML is the new ASCII” -- Tim Bray

16 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil Simple XML Example John Doe Introduction to XML 12 June XYZ Foo Bar Introduction to XSL 12 June ABC XML by itself is just hierarchically structured text Make up your own tags Sub-elements

17 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil XSD: XML Schema Definition –Written in the same syntax as XML documents (unlike XML DTDs!) –Elements and attributes –Enhanced set of primitve datatypes. Wide range of primitive data types, supporting those found in databases (string, boolean, decimal, integer, date, etc.) Can create your own datatypes (complexType) - Can derive new type definitions on the basis of old ones (refinement) –Can have constraints on attributes Examples: maxlength, precision, enumeration, maxInclusive (upper bound), minInclusive (lower bound), etc.

18 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil An important diversion: Namespaces What is a Namespace ? The Namespace of an element, is the scope within which, it (and thus it’s name) is valid. (Ex. A basic block { … } in C) Why do we need Namespaces ?  If elements were defined within a global scope, it becomes a problem when combining elements from multiple documents. Name collision is hard to avoid. Modularity: If a markup vocabulary exists which is well understood and for which there is useful software available, it is better to reuse this rather than make it again. Namespaces in XML: An XML namespace is a collection of names, identified by a URI reference. Names from XML namespaces may appear as qualified names, which contain a single colon, separating the name into a prefix and a local part. The prefix, which is mapped to a URI reference, selects a namespace

19 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil XSD (XML Schema) Example <xsd:schema xmlns:xsd=“ targetNamespace=" xmlns=“ Prefix “xsd” refers to the XMLSchema namespace “xmlns” refers to the default namespace Defining the element “Bookstore” as a complex Type Containing a sequence of 1 or more “Book” elements When referring to another Element, use “ref” The Author can be 1 or more Element definitions Notice the use of more meaningful data types

20 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil XSL [XML Stylesheet Language] Title Author Date ISBN An Example: TitleAuthorDateISBN Introduction to XMLJohn Doe12 June Introduction to XSLFoo Bar12 June Result: (Notice, that some fields have been filtered out from the XML file) Match the Root Element What you print out when the root element matches Go through Each “Book” Element (inside a “Bookstore” Element) And, print out their Title, Author, Date, and ISBN “xsl” namespace

21 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil XML: Tools/Software XML Spy By far, the most comprehensive editor. Handles XML files, DTD’s, XSL files, as well as XSD (XML Schema). Unfortunately only a 30 day trial version. XML Notepad Microsoft XML Notepad is a simple application for building and editing small sets of XML-based data. Freeware. XML Pro XML Pro is a top-notch XML editor but it doesn’t include as many features as XML Spy. Shareware. You can also validate your XML files by just opening them with IE5.0 or above. It checks if the XML file is well-formed or not, and also validates against a DTD (if specified on the DOCTYPE declaration Some nice & short Tutorials on XML/XSL/DTD/XML Schemas can be found at:

22 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil Summary of the XML+ NS +XSD Layer The Power of Simplicity Keeps the principles of SGML in place but its spec is thin enough to wave “When I designed HTML, I chose to avoid giving it more power than it absolutely needed – a “principle of least power”, which I have stuck to ever since. I could have used a language like Knuth’s Tex but…” - - TBL To say you are “Using XML” is sort of like saying you are using ASCII Using XSD (XML Schema) makes a lot more sense

23 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil The Layer Cake [TBL,XML2000]

24 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil Where XML & XML Schemas Fail No semantics! Will XML scale in the metadata world? 1.The order in which elements appear in an XML document is often meaningful. This seems highly unnatural in the metadata world. Furthermore, maintaining the correct order of millions of data items is impractical. 2.XML allows constructions that mix up some text along with child elements, which are hard to handle. Ex. This is some character string data this is a child this is another child … …

25 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil RDF (Resource Description Framework) 1.RDF provides a way of describing resources via metadata (data about data) It restricts the description of resources to triplets (subject,predicate,object) 1.It provides interoperability between applications that exchange machine understandable information on the Web. 3.The broad goal of RDF is to define a mechanism for describing resources that makes no assumptions about a particular application domain, nor defines (a priori) the semantics of any application domain. Uses XML as the interchange syntax. Provides a lightweight ontology system. The formal specification of RDF is available at:

26 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil RDF Syntax Subject, Predicate and Object Triplets (Tuples) Subject: The resource being described. Predicate: A property of the resource Object: The value of the property A combination of them is said to be a Statement (or a rule) John Doe Author A web page being described [Subject] A property of the web page (author) [Predicate] The value of the predicate (here the author) [Object]

27 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil RDF Example <rdf:RDF xmlns:rdf=" xmlns:s=" John Doe Namespace for the RDF spec Namespace ‘s’, a custom namespace Subject Author (property of the subject) (Also a resource) Object. Can also point to a resource The above statement says : The Author of is “John Doe” In this way, we can have different objects (resources) pointing to other objects (resources), thus forming a DLG (Directed Line Graph) You can also make statements about statements – reification Ex: ‘xyz’ says that ‘ The Author of is John Doe’

28 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil RDF Schema A schema defines the terms that will be used in the RDF statements and gives specific meanings to them. Example: <rdf:RDF xml:lang="en" xmlns:rdf=" xmlns:rdfs=" <rdfs:subClassOf rdf:resource=" RDF Schema Namespace An “ID” attribute actually defines a new resource PassengerVehicle is a subclass of MotorVehicle “Resource” is the top level class

29 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil Example (cont..) Domain of a property Range of a property Multiple Inheritance

30 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil RDF: Tools/Resources SirPAC A Simple RDF Parser & Compiler. It parses the RDF, and validates it. It also generates the tuples and even draws a graph of the data model. Reggie A Nice Metadata Editor. Java based simple user interface to describe a web resource. Can mail the metadata file to yourself after finished editing. Protégé Editor of ontologies in practically any language you care about. Open source.

31 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil Summary: RDF & RDF Schema layer Minimalist model - (thing), Class, Property Subproperty, Subclass Domain & Range Still not a W3C recommendation Continues to change Other languages are being built on XML substrate: XQUERY, XTM

32 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil

33 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil The Layer Cake [TBL,XML2000]

34 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil -Cannot define properties of properties (unique, transitive) -No equivalence, disjointness, etc. -No mechanism of specifying necessary and sufficient conditions for class membership. Example: If it is given that ‘XYZ’ has a ‘car’ which is ‘7ft high’, has ‘wide wheels’ and ‘loading space is 4 cub.m’, then we should be able to reason that ‘XYZ’ has an ‘SUV’, as given by the necessary and sufficient conditions for being an ‘SUV’ : height > 4ft & wide wheels & loading space > 2 cub.m Limitations of RDF

35 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil W3C’s Semantic Web Activity: - RDF and metadata markup efforts to represent data in a machine understandable form. DARPA started the DARPA Agent Markup Language (DAML) program. possibly with “ARPANET -> Internet” in mind EC (European Commission) funding programs - Ontology Interchange Language (OIL) - logic based language. - brings logic and inference to the Semantic Web DAML+OIL: DAML+OIL’s History

36 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil DAML+OIL ( It builds on earlier W3C standards such as RDF and RDF Schema. DAML extends RDF and RDFS with richer modelling primitives.  disjointWith, intersectionOf, oneOf, cardinality Able to provide properties of properties  uniqueness, transitivity, etc. Current version DAML+OIL provides a semantic interpretation (model-theoretic semantics)

37 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil An Example (from <rdf:RDF xmlns:rdf =" xmlns:rdfs=" xmlns:daml=" xmlns =" > An example ontology Animal This class of animals is illustrative of a number of ontological idioms. Can explicitly specify the set of Females to be disjoint with the set of Males Start of an ontology (about = “” implies ‘this’ document) The label is not used for logical interpretation To be read conjunctively. A man is a sub-class of ‘Person’ and a ‘Male’ The Person class is defined later

38 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil Example (contd..) </daml:DatatypeProperty Restrictions on the property hasParent (only for the Person class – Local scope, as opposed to rdfs:range) A person can have only another Person as it’s parent An objectProperty relates objects to objects Describes the element which encloses this Property Describes the value of the Property Note: Contrary to RDF, DAML takes the ‘intersection’ of the domains/ranges if multiple domains/ranges are specified A datatype property relates an object to a primitive datatype value The XML Schema datatype is referenced here A Person can have only 1 Father The Restriction defines an anonymous class of all things that satisfy the restriction.

39 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil Example (contd..) Further constructs that the example doesn’t use : Properties: TransitiveProperty (hasAncestor), UniqueProperty (hasMother), inverseOf(hasChild -> hasParent), etc. Classes: intersectionOf (a daml:collection), unionOf (a daml:collection), sameClassAs, complementOf, etc. Restrictions on the property hasParent An animal can have exactly 2 parents Restrictions on the property hasSpouse A person can have only 1 spouse Addition to the Animal Class without modifying it -- “about”

40 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil DAML References/Tools DAML Viewer: It provides a means to view the instances found in a DAML document. DAML Crawler Results: A list of.daml files on the internet A DAML Validator A DAML example explained: It has the same example as in the slides, discussed in detail.

41 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil

42 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil The Layer Cake [TBL,XML2000]

43 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil The “Layer” Cake XMLHTML XHTMLRDF RDFS DAML-O OIL DAML+OIL WSD L NOTATION 3 XTM XQUER Y

44 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil To Learn More About These Languages... more detailed tutorial slides

45 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil The View from W3C  XML Schema Part 0: Primer XML Schema Part 0: Primer 02 May 2001, David C. Fallside  XML Schema Part 1: Structures XML Schema Part 1: Structures 02 May 2001, Henry S. Thompson, David Beech, Murray Maloney, N. Mendelsohn  XML Schema Part 2: Datatypes XML Schema Part 2: Datatypes 02 May 2001, Paul V. Biron, Ashok Malhotra  Extensible Markup Language (XML) 1.0 (Second Edition) Extensible Markup Language (XML) 1.0 (Second Edition) 6 October 2000, Tim Bray, Jean Paoli, C. M. Sperberg-McQueen, Eve Maler  Namespaces in XML Namespaces in XML 14 January 1999, Tim Bray, Dave Hollander, Andrew  Resource Description Framework (RDF) Model and Syntax Specification Resource Description Framework (RDF) Model and Syntax Specification 22 February 1999, Ora Lassila, Ralph R. Swick  Resource Description Framework (RDF) Schemas Resource Description Framework (RDF) Schemas 3 March 2000, Dan Brickley, R.V. Guha  RDF Model Theory RDF Model Theory 25 September 2001, Patrick Hayes  XML Schema: Formal Description XML Schema: Formal Description 25 September 2001, Allen Brown, Matthew Fuchs, Jonathan Robie, Philip Wadler

46 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil W3C Review Stages 1. A Working Draft represents work in progress and a commitment by W3C to pursue work in this area. A Working Draft does not imply consensus by a group or W3C. A Candidate Recommendation is work that has received significant review from its immediate technical community. It is an explicit call to those outside of the related Working Groups or the W3C itself for implementation and technical feedback. 2. A Proposed Recommendation is work that (1) represents consensus within the group that produced it and (2) has been proposed by the Director to the Advisory Committee for review. 3. A Recommendation is work that represents consensus within W3C and has the Director's stamp of approval. W3C considers that the ideas or technology specified by a Recommendation are appropriate for widespread deployment and promote W3C's mission.

47 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil III: THE BIG PICTURE REVISITED

48 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil W3C’s Semantic Web Principles 1. Everything identifiable is in the Semantic Web (URIs!) 2. Partial information Anyone can say anything about anything 3. Web of trust All statements on the Web occur in some context 4. Evolution Allow combining independent work done by different communities 5. Minimalist design Make the simple things simple, and the complex things possible Standardize no more than is necessary

49 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil Hypertext: Then and Now SOTA circa 1990: Dynatext’s electronic book  A book had to be compiled (like a program) in order to be displayed efficiently  A central link database, to make sure there were no broken links  Text that was fixed and consistent (a whole book) WWW:  Links can be added and used at any time  Distributed (must live with broken links!)  Decentralized

50 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil Knowledge Representation: Now and Tomorrow “To webize KR in general is, in many ways, the same as to webize hypertext. Replace identifiers with URIs. Remove any requirement for global consistency. Put any significant effort into getting critical mass. Sit back.” -- TBL

51 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil What’s Going On Out There: The Good, the Bad/Not-So-Good, and the Wacky Web services (WSDL, DAML-S, …) Query and Rule languages Web of trust

52 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil What’s Going On Out There: The Good, the Bad/Not-So-Good, and the Wacky Web services Query and Rules Web of trust Will the masses create semantic annotations?

53 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil What’s Going On Out There: The Good, the Bad/Not-So-Good, and the Wacky Web services Query and Rules Web of trust Will the masses create semantic annotations? Birds of a feather The Me Llamo link type The Wiki Wiki Web

54 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil Ongoing Work in Our Group EXPECT (k acquisition and problem solving)  No longer developing KBs, but importing schemas and data Electric Elves  Agents are more transparent and publish data & schemas, advertisements/assumptions TRELLIS (try it out at trellis.semanticweb.org!)  Users represent decisions and opinions -> Web of Trust [Gil & Ratnakar, ISWC 02] IKRAFT  Users turn text in progressively more formal representations (KB) -> semi-formal annotations

55 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil TRELLIS: Developing the Web of Trust One Citizen at a Time Capture decisions and opinions as the user finds, analyzes, and uses information  annotate the reasons, judgment, and purpose that make information meaningful  keep track of contradictory, related, and rejected information  annotate derivation of conclusions and formulation of hypotheses  add structure and formalization incrementally  semantic markup language Derive an assessment of info sources based on individual opinions Try it out at

56 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil

57 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil Notation 3 # Test filter in N3 # Use # cwm rules12.n3 -think -filter=filter12.n3 # should conclude that granpa is ancestor of bill rules:. # SimplifiedDanC challenge - simplied version of rules13.n3 this log:forAll. { a daml:TransitiveProperty. } log:implies { {.. } log:implies {. }. this log:forAll,,. }. a daml:TransitiveProperty..

58 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil (1 of 5)

59 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil (2 of 5)

60 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil (3 of 5)

61 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil (4 of 5)

62 USC INFORMATION SCIENCES INSTITUTE Yolanda Gil (5 of 5)