1 Berendt: Advanced databases, 1ste semester 2010/2011, 1 Advanced databases – The Semantic Web (1) Bettina.

Slides:



Advertisements
Similar presentations
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.
Advertisements

CH-4 Ontologies, Querying and Data Integration. Introduction to RDF(S) RDF stands for Resource Description Framework. RDF is a standard for describing.
RDF Schemata (with apologies to the W3C, the plural is not ‘schemas’) CSCI 7818 – Web Technologies 14 November 2001 Van Lepthien.
The Semantic Web – WEEK 4: RDF
RDF and XML tutorial. 2 Talk Overview Semantic Web XML RDF DAML + OIL ( Time permitting)
CS570 Artificial Intelligence Semantic Web & Ontology 2
RDF Tutorial.
1 Berendt: Advanced databases, winter term 2007/08, 1 Advanced databases – Defining and combining.
Semantic Web Tim Berner Lee’s Vision: Web as a means of collaboration for people Web as a means of collaboration for machines 1 Semantic Web is a web of.
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.
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.
Chapter 7: Resource Description Framework (RDF) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley,
RDF: Building Block for the Semantic Web Jim Ellenberger UCCS CS5260 Spring 2011.
The RDF meta model: a closer look Basic ideas of the RDF Resource instance descriptions in the RDF format Application-specific RDF schemas Limitations.
1 Berendt: Advanced databases, 1st semester 2011/2012, 1 Advanced databases – The Semantic Web Bettina Berendt.
Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web.
Nancy Ide Vassar College USA Resource Definition Framework A Tutorial EUROLAN 2003 July 28 - August 8 Bucharest - Romania.
1 Berendt: Knowledge and the Web, 1st semester 2014/2015, 1 Knowledge and the Web – The Semantic Web Bettina.
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.
Aidministrator nederland b.v. Adding formal semantics to the Web Jeen Broekstra, Michel Klein, Stefan Decker, Dieter Fensel,
Practical RDF Chapter 1. RDF: An Introduction
The Semantic Web Service Shuying Wang Outline Semantic Web vision Core technologies XML, RDF, Ontology, Agent… Web services DAML-S.
Logics for Data and Knowledge Representation
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?
The LOM RDF binding – update Mikael Nilsson The Knowledge Management.
Metadata. Generally speaking, metadata are data and information that describe and model data and information For example, a database schema is the metadata.
Of 41 lecture 4: rdf – basics and language. of 41 RDF basic ideas the fundamental concepts of RDF  resources  properties  statements ece 720, winter.
Towards a semantic web Philip Hider. This talk  The Semantic Web vision  Scenarios  Standards  Semantic Web & RDA.
Semantic Web - an introduction By Daniel Wu (danielwujr)
1 Berendt: Knowledge and the Web, 1st semester 2015/2016, 1 Knowledge and the Web – The.
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 7: Resource Description Framework (RDF) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley,
EEL 5937 Ontologies EEL 5937 Multi Agent Systems Lecture 5, Jan 23 th, 2003 Lotzi Bölöni.
RDF & RDF Schema Machine Understandable Metadata for the Web Semantic Web - Spring 2006 Computer Engineering Department Sharif University of Technology.
It’s all semantics! The premises and promises of the semantic web. Tony Ross Centre for Digital Library Research, University of Strathclyde
The future of the Web: Semantic Web 9/30/2004 Xiangming Mu.
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.
Introduction to the Semantic Web and Linked Data
Chapter 7: Resource Description Framework (RDF) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley,
User Profiling using Semantic Web Group members: Ashwin Somaiah Asha Stephen Charlie Sudharshan Reddy.
Dr. Lowell Vizenor Ontology and Semantic Technology Practice Lead Alion Science and Technology Semantic Technology: A Basic Introduction.
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.
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.
1cs The Need “Most of the Web's content today is designed for humans to read, not for computer programs to manipulate meaningfully.” Berners-Lee,
Doc.: IEEE /0169r0 Submission Joe Kwak (InterDigital) Slide 1 November 2010 Slide 1 Overview of Resource Description Framework (RFD/XML) Date:
Presented by: Yuhana 12/17/2007 Context Aware Group - Intelligent Agent Laboratory Computer Science and Information Engineering National Taiwan University.
THE SEMANTIC WEB By Conrad Williams. Contents  What is the Semantic Web?  Technologies  XML  RDF  OWL  Implementations  Social Networking  Scholarly.
USB for Audio There are also several USB Audio chips. You install a custom driver on the host computer, and the USB sound device appears as a Windows (or.
EEL 5937 Ontologies EEL 5937 Multi Agent Systems Lotzi Bölöni.
Semantic Web COMS 6135 Class Presentation Jian Pan Department of Computer Science Columbia University Web Enhanced Information Management.
Semantic web course – Computer Engineering Department – Sharif Univ. of Technology – Fall RDF & RDF Schema Machine Understandable Metadata for the.
Knowledge Technologies Manolis Koubarakis 1 Some Other Useful Features of RDF.
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.
1 Berendt: Knowledge and the Web, 1st semester 2015/2016, 1 Knowledge and the Web – The.
1 Berendt: Advanced databases, 1st semester 2012/2013, 1 Advanced databases – The Semantic Web Bettina Berendt.
Linked Data & Semantic Web Technology The Semantic Web Part 5. Resource Description Framework (2) Dr. Myungjin Lee.
Setting the stage: linked data concepts Moving-Away-From-MARC-a-thon.
1 Berendt: Knowledge and the Web, 1st semester 2016/2017, 1 Knowledge and the Web – The Semantic.
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.
Service-Oriented Computing: Semantics, Processes, Agents
Grid Computing 7700 Fall 2005 Lecture 18: Semantic Grid
RDF For Semantic Web Dhaval Patel 2nd Year Student School of IT
Grid Computing 7700 Fall 2005 Lecture 18: Semantic Grid
Semantic Web Basics (cont.)
Presentation transcript:

1 Berendt: Advanced databases, 1ste semester 2010/2011, 1 Advanced databases – The Semantic Web (1) Bettina Berendt Katholieke Universiteit Leuven, Department of Computer Science Last update: 8 October 2010

2 Berendt: Advanced databases, 1ste semester 2010/2011, 2 Agenda The Semantic Web: Motivation and overview Very brief recap of XML (& why it’s not semantic) RDF and RDFS RDF+RDFS+OWL explained using FOAF

3 Berendt: Advanced databases, 1ste semester 2010/2011, 3 The original vision The entertainment system was belting out the Beatles' "We Can Work It Out" when the phone rang. When Pete answered, his phone turned the sound down by sending a message to all the other local devices that had a volume control. His sister, Lucy, was on the line from the doctor's office: "Mom needs to see a specialist and then has to have a series of physical therapy sessions. Biweekly or something. I'm going to have my agent set up the appointments." Pete immediately agreed to share the chauffeuring. At the doctor's office, Lucy instructed her Semantic Web agent through her handheld Web browser. The agent promptly retrieved information about Mom's prescribed treatment from the doctor's agent, looked up several lists of providers, and checked for the ones in-plan for Mom's insurance within a 20-mile radius of her home and with a rating of excellent or very good on trusted rating services. It then began trying to find a match between available appointment times (supplied by the agents of individual providers through their Web sites) and Pete's and Lucy's busy schedules. (The emphasized keywords indicate terms whose semantics, or meaning, were defined for the agent through the Semantic Web.) Tim Berners-Lee, James Hendler and Ora Lassila (2001). The Semantic Web. A new form of Web content that is meaningful to computers will unleash a revolution of new possibilities. Scientific American. 84A9809EC588EF21http:// 84A9809EC588EF21

4 Berendt: Advanced databases, 1ste semester 2010/2011, 4 Questions 1. [concrete] What (meta-)data & procedures would be needed to solve this problem? 2. [general] What do you find works poorly on the Web today when you look for information?

5 Berendt: Advanced databases, 1ste semester 2010/2011, 5 Your answers [green: this problem is one of the motivations of the Semantic Web, and we will discuss its solution approaches; purple: other remarks] #1: n meta-data: l word + category ("medication")  need to go beyond natural language & individual data schemas l Geographic map + certification ("a reliable map provider")  trust n user authentification [  we won’t treat that here] #2: n A search query is often “not enough”: l too many irrelevant search results  want autonomous query expansion that respects my context l an overly specific query may yield zero results  want autonomous query generalisation that respects my context l  need background knowledge, including knowledge about users’ contexts and about concepts and how to generalise them: –Such background knowledge must exist –Such background knowledge must be machine-processable n Information is often spread over several pages l & even if one keeps clicking, the information may still not be there [  if the info really is not on the Web, we can’t do anything about that as computer scientists; if it just hasn’t been found, we need to build better search engines  more about this later] n old information is often ranked (too) high [  we’ll talk about that later]

6 Berendt: Advanced databases, 1ste semester 2010/2011, 6 The Semantic Web: overview n The semantic web is an evolving extension of the World Wide Web in which web content can be expressed not only in natural language, but also in a format that can be read and used by software agents, thus permitting them to find, share and integrate information more easily.World Wide Web web contentnatural languagereadsoftware agentsintegrate n It derives from W3C director Sir Tim Berners-Lee's vision of the Web as a universal medium for data, information, and knowledge exchange.W3CSir Tim Berners-Leedatainformationknowledge n At its core, the semantic web comprises a philosophy, a set of design principles, collaborative working groups, and a variety of enabling technologies.working groups n Some elements of the semantic web are expressed as prospective future possibilities that have yet to be implemented or realized. n Other elements of the semantic web are expressed in formal specifications. n Some of these include Resource Description Framework (RDF), a variety of data interchange formats (e.g. RDF/XML, N3, Turtle, N-Triples), and notations such as RDF Schema (RDFS) and the Web Ontology Language (OWL), all of which are intended to provide a formal description of concepts, terms, and relationships within a given knowledge domain.Resource Description FrameworkRDF/XMLN3TurtleN-TriplesRDF SchemaWeb Ontology Languageformal descriptionconcepts termsrelationshipsknowledge domain

7 Berendt: Advanced databases, 1ste semester 2010/2011, 7 The Semantic Web layer cake (T. Berners-Lee talk at XML 2000) RDF: W3C Rec OWL: W3C Rec OWL2: W3C Rec. 2009

8 Berendt: Advanced databases, 1ste semester 2010/2011, 8 BTW: Semantic non-interoperability has real consequences...

9 Berendt: Advanced databases, 1ste semester 2010/2011, 9 Working example: People and their relations

10 Berendt: Advanced databases, 1ste semester 2010/2011, 10 Approach 1: Centralised

11 Berendt: Advanced databases, 1ste semester 2010/2011, 11 Approach 2: Decentralised / open

12 Berendt: Advanced databases, 1ste semester 2010/2011, 12 FOAF (Friend of a Friend) n a machine-readable ontology describing persons, their activities and their relations to other people and objects.machine-readableontologypersons n Anyone can use FOAF to describe him or herself. n FOAF is an extension to RDF and is defined using OWL.RDFOWL n Computers may use these FOAF profiles to find, for example, all people living in Europe, or to list all people both you and a friend of you know. n This is accomplished by defining relationships between people. n Each profile has a unique identifier (such as the person's addresses, a Jabber ID, or a URI of the homepage or weblog of the person), which is used when defining these relationships. addressesJabberURI n The FOAF project, which defines and extends the vocabulary of a FOAF profile, was started in 2000 by Libby Miller and Dan Brickley.2000Libby MillerDan Brickley l n „possibly the single most prevalent use of Semantic Web technologies so far“ – blog software exporting FOAF + RSS (Paolillo et al., 2005)

13 Berendt: Advanced databases, 1ste semester 2010/2011, 13 FOAF example (1) <rdf:RDF xmlns:rdf=" xmlns:foaf=" xmlns:rdfs=" Jimmy Wales Jimbo

14 Berendt: Advanced databases, 1ste semester 2010/2011, 14 FOAF example (2) Angela Beesley Social-web inferences

15 Berendt: Advanced databases, 1ste semester 2010/2011, 15 FOAF extensions (1) <rdf:RDF xmlns:rdf=" xmlns:foaf=" xmlns:rel=" Spiderman Green Goblin

16 Berendt: Advanced databases, 1ste semester 2010/2011, 16 FOAF extensions (2) Peter Parker Harry Osborn Norman Osborn

17 Berendt: Advanced databases, 1ste semester 2010/2011, 17 FOAF multimedia (1) <rdf:RDF xmlns:rdf=" xmlns:foaf=" xmlns:dc=" Peter Parker Spiderman

18 Berendt: Advanced databases, 1ste semester 2010/2011, 18 FOAF multimedia (2) Green Goblin Battle on the Statue Of Liberty

19 Berendt: Advanced databases, 1ste semester 2010/2011, 19 What inferences? Ex.: A social-network analysis of LiveJournal FOAF entries (Paolillo et al., 2005) n Interests over time remain similar n Friends over time remain similar n But: the manner in which people elect friends and interests in their LiveJournal profiles is sharply different.... [These differences] represent fundamentally different social behaviors. n What does this mean for recommender systems?

20 Berendt: Advanced databases, 1ste semester 2010/2011, 20 Agenda The Semantic Web: Motivation and overview Very brief recap of XML (& why it’s not semantic) RDF and RDFS RDF+RDFS+OWL explained using FOAF

21 Berendt: Advanced databases, 1ste semester 2010/2011, 21 You have data … How should you structure it? medium-altitude, long-endurance unmanned aerial vehicle 14.7 meters 512 kilograms 70 knots Here's some data about an aircraft: 400 nautical miles

22 Berendt: Advanced databases, 1ste semester 2010/2011, 22 The XML approach is to "wrap" each data item in start/end tags 14.8 meters 512 kilograms 70 knots 400 nautical miles medium-altitude, long-endurance unmanned aerial vehicle RQ-1.xml and define this data schema, e.g. in a DTD

23 Berendt: Advanced databases, 1ste semester 2010/2011, 23 XML Terminology 14.8 meters Start tag End tag Data Element

24 Berendt: Advanced databases, 1ste semester 2010/2011, 24 Why use XML? n It is a universally accepted standard way of structuring data (syntax). n It is a W3C recommendation (W3C = World Wide Web Consortium) n The marketplace supports it with a lot of free/inexpensive tools. n 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).

25 Berendt: Advanced databases, 1ste semester 2010/2011, 25 But: What is this XML snippet talking about, i.e., what are the semantics? … What is a Predator?

26 Berendt: Advanced databases, 1ste semester 2010/2011, 26 Predator - which one? n Predator: a medium-altitude, long-endurance unmanned aerial vehicle system. n Predator : one that victimizes, plunders, or destroys, especially for one's own gain. n Predator : an organism that lives by preying on other organisms. n Predator: a company which specializes in camouflage attire. n Predator: a video game. n Predator: software for machine networking. n Predator: a chain of paintball stores.

27 Berendt: Advanced databases, 1ste semester 2010/2011, 27 A little more flexibility through namespaces <myThings xmlns:h= xmlns:f=" OL231-b 14.8 metres Panthera antelopes

28 Berendt: Advanced databases, 1ste semester 2010/2011, But this doesn‘t solve the fundamental problems 1. What does nesting mean? 2. What do syntactical variations mean? 3. What do linguistic variations mean? 4. How can we extend our knowledge?

29 Berendt: Advanced databases, 1ste semester 2010/2011, What does nesting mean? Schema 1 allows for expressions like: Peter Parker...  name being an XML-element of Person means: the person HAS-A... Schema 2 allows for expressions like: Comic-book hero...  type being an XML-element of Person means: the person IS-A... Problems: a) we don‘t know what nesting means, b) even if we do know, we can‘t express this in a machine-readable way (at most build it into an application that uses these XML statements, but that would bury meaning in procedures!)

30 Berendt: Advanced databases, 1ste semester 2010/2011, What do syntactical variations mean? Schema 1 allows for expressions like: Peter Parker Schema 2 allows for expressions like: Comic-book hero... Problems: a) what does it mean for some information to be an XML- element vs. an XML-attribute? b) even if we do know that they are the same, we can‘t express this in a machine-readable way, for example to combine the information from the two sources (same remark about applications as in 1.)

31 Berendt: Advanced databases, 1ste semester 2010/2011, What do linguistic variations mean? Schema 1 allows for expressions like: Peter Parker... Schema 2 allows for expressions like: Peter Parker... Problems: a) we do not know whether elements from different data sources that differ by, e.g. natural, language, are the same or not b) even if we do know that they are the same, we can‘t express this in a machine-readable way, for example to combine the information from the two sources (same remark about applications as in 1.)

32 Berendt: Advanced databases, 1ste semester 2010/2011, How can we extend our knowledge? Schema 1 allows for expressions like: Picture Peter Parker... Schema 2 allows for expressions like: CreativeCommons... Problems: a) we cannot refine our schema information by that provided by another source b) even if we can be sure about principal linkability (here: via the URL), we can‘t express this in a machine-readable way, for example to combine the information from the two sources (same remark about applications as in 1.)

33 Berendt: Advanced databases, 1ste semester 2010/2011, 33 Summary: XML not well-suited for conceptual modelling and therefore not suited for truly semantic markup XML makes no commitment on:  Domain-specific ontological vocabulary  Ontological modeling primitives Requires pre-arranged agreement on  &  Only feasible for closed collaboration n agents in a small & stable community n pages on a small & stable intranet Not suited for sharing Web-resources

34 Berendt: Advanced databases, 1ste semester 2010/2011, 34 Solution approach of the „higher levels“ of the Semantic Web 1. Break down information into atomic statements: subject-predicate-object 2. Define (in a formal-semantics way) what each component of each statement means a. Give it a URI (uniform resource identifier) to enable uniform meaning specification b. Define languages to say more about (specify) the meaning (by relating it to other units of meaning – cf. a dictionary in which each word is explained by other words) c. (exception: some components may be literals / strings – these are not defined further) 3. The languages mentioned in 2.b. each add more expressivity: 1. RDF: subject-predicate-object statements (in RDF terminology: a resource has a property with a certain value. 2. RDFS: simple ontology building blocks: class, subclass-of relation, use RDF‘s type to denote that (e.g.) an individual is a instance of a class (= make it possible to define a schema and its instances), OWL: more advanced ontology building blocks: a class (= concept) is disjoint with another one, is the same as another one; a property is functional, symmetric, the inverse of another one;...

35 Berendt: Advanced databases, 1ste semester 2010/2011, 35 Semantic Web vs. Database Advantages of using RDF/RDFS/OWL to define an Ontology: n Extensible: much easier to add new properties. Contrast with a database - adding a new column may break a lot of applications n Portable: much easier to move an OWL document than to move a database. Advantages of using a Database to define an Ontology: n Mature: the database technology has been around a long time and is very mature.

36 Berendt: Advanced databases, 1ste semester 2010/2011, 36 Agenda The Semantic Web: Motivation and overview Very brief recap of XML (& why it’s not semantic) RDF and RDFS RDF+RDFS+OWL explained using FOAF

37 Berendt: Advanced databases, 1ste semester 2010/2011, 37 What is RDF ? RDF is a data model l the model is domain-neutral, application-neutral l the model can be viewed as directed, labeled graphs or as an object-oriented model (object/attribute/value) RDF data model is an abstract, conceptual layer independent of XML l consequently, XML is a transfer syntax for RDF, not a component of RDF l RDF data might never occur in XML form

38 Berendt: Advanced databases, 1ste semester 2010/2011, 38 RDF model RDF “statements” consist of resources (= nodes) which have properties which have values (= nodes,strings) “Ora Lassila” author = subject = predicate = object “ has the author Ora Lassila” resource value property

39 Berendt: Advanced databases, 1ste semester 2010/2011, 39 RDF Model Example “Ora Lassila” dc:Creator “ ” dc:Date “W3C” dc:Publisher

40 Berendt: Advanced databases, 1ste semester 2010/2011, 40 Complex values So far, values of properties have been strings A graph node (corresponding to a resource) also can be the value of a property n arbitrarily complex tree and graph structures are possible n syntactically, values can be embedded (i.e. lexically in-line) or referenced (linked) Example: “Ora Lassila” dc:Creator p: p:Name

41 Berendt: Advanced databases, 1ste semester 2010/2011, 41 Complex values (continued) Corresponding triples { “ dc:Creator, x } { x, p:Name, “Ora Lassila” } { x, p: , } “Ora Lassila” dc:Creator p: p:Name

42 Berendt: Advanced databases, 1ste semester 2010/2011, 42 Containers Containers are collections n they allow grouping of resources (or literal values) It is possible to make statements about the container (as a whole) or about its members individually Different types of containers exist n bag - unordered collection n seq - ordered collection (= “sequence”) n alt - represents alternatives It is also possible to create collections based on URI patterns n for example, all files in a particular web site Duplicate values are permitted n there is no mechanism to enforce unique value constraints

43 Berendt: Advanced databases, 1ste semester 2010/2011, 43 Containers (continued) “Ora Lassila” rdf:_1 rdf:Seq dc:Creator rdf:Type “Ralph Swick” rdf:_2

44 Berendt: Advanced databases, 1ste semester 2010/2011, 44 Higher-order statements One can make RDF statements about other RDF statements n example: “Ralph believes that the web contains one billion documents” Higher-order statements n allow us to express beliefs (and other modalities) n are important for trust models, digital signatures,etc. n also: metadata about metadata n are represented by modeling RDF in RDF itself

45 Berendt: Advanced databases, 1ste semester 2010/2011, 45 Reification n RDF is not really second-order n But it does provide a built-in predicate vocabulary for reification Lassila” dc:Creator “Library of Congress” dc:Creator The dotted box corresponds to the following statements { x, rdf:predicate, “dc:creator” } { x, rdf:subject, “ } { x, rdf:object, “Ora Lassila” } { x, rdf:type, “rdf:statement” }

46 Berendt: Advanced databases, 1ste semester 2010/2011, 46 Reification pers05 ISBN... Author-of NYT claims ISBN... Any statement can be an object graphs can be nested - reification

47 Berendt: Advanced databases, 1ste semester 2010/2011, 47 RDF Schema Defines small vocabulary for RDF: Class, subClassOf, type Property, subPropertyOf domain, range Vocabulary can be used to define other vocabularies for your application domain Person StudentResearcher subClassOf Jeen type hasSuperVisor domain range Frank type hasSuperVisor

48 Berendt: Advanced databases, 1ste semester 2010/2011, 48 RDF Schema syntax in XML

49 Berendt: Advanced databases, 1ste semester 2010/2011, 49 Ontologies and concepts n An ontology is a conceptual model. n An Ontology is the collection of semantic definitions for a domain. n Example: an Aircraft Ontology is the set of semantic definitions for the Aircraft domain, e.g., Predator is a subClassOf Aircraft. sensorID is a FunctionalProperty. Platform is an equivalentClass to Aircraft. n Predator, Aircraft etc. are concepts.

50 Berendt: Advanced databases, 1ste semester 2010/2011, 50 Basic idea of conceptual modelling (not only in SW): The semiotic triangle

51 Berendt: Advanced databases, 1ste semester 2010/2011, 51 What is an ontology? (A commonly accepted informal definition and one formal definition) An ontology is „an explicit specification of a shared conceptualisation.“ (Gruber, 1993)

52 Berendt: Advanced databases, 1ste semester 2010/2011, 52 Ontologies, decentralization, and bottom-up engineering Communities of users (application builders,...) can n Re-use existing ontologies l Established domain-specific ontologies (e.g., real-estate, medicine, bioinformatics) l All kinds: see the Semantic Web search engine l „The big one“: Cyc, see n Link to existing ontologies (  Ontology matching / alignment) n Extend existing ontologies

53 Berendt: Advanced databases, 1ste semester 2010/2011, 53 Ontologies as conceptual models / schemas; or: Database (knowledge base) = Ontology + Instances My Life and Times Illusions First and Last Freedom Paul McCartney Richard Bach J. Krishnamurti June, title author date BookCatalogue My Life and Times Paul McCartney June, 1998

54 Berendt: Advanced databases, 1ste semester 2010/2011, 54 Agenda The Semantic Web: Motivation and overview Very brief recap of XML (& why it’s not semantic) RDF and RDFS RDF+RDFS+OWL explained using FOAF

55 Berendt: Advanced databases, 1ste semester 2010/2011, 55 The FOAF specification Textual form: RDF: An older version that integrated the WordNet ontology: n Tabular: n as RDF:

56 Berendt: Advanced databases, 1ste semester 2010/2011, 56 OWL: more details Not that new, but excellent tutorial: Roger L. Costello & David B. Jacobs (2003). OWL Web Ontology Language. (please note: the other tutorials referenced on slide 3 of that slide set are not available) (please spot the French-language typos ;-) )

57 Berendt: Advanced databases, 1ste semester 2010/2011, 57 Agenda The Semantic Web: Motivation and overview Very brief recap of XML (& why it’s not semantic) RDF and RDFS RDF+RDFS+OWL explained using FOAF The Semantic Web (2): Linked Data

58 Berendt: Advanced databases, 1ste semester 2010/2011, 58 Used sources (From or based on): p. 6: pp , 49: Costello, R.L. & Jacobs, D.B. (2003). A Two Minute Intro to XML. p. 33, pp : Unnamed (no date). RDF and XML tutorial. p. 35, 53: Costello, R.L. & Jacobs, D.B. (2003). OWL Web Ontology Language. pp : pp : Dodds, L. (2004). An Introduction to FOAF. Picture credits: see PPT „comments“ field

59 Berendt: Advanced databases, 1ste semester 2010/2011, 59 Further references, background reading; acknowledgements J. C. Paolillo, S. Mercure, and E. Wright. (2005). The social semantics of Livejournal FOAF: Structure and change from 2004 to In G. Stumme, B. Hoser, C. Schmitz, and H. Alani, editors, Proceedings of the 1st Workshop on Semantic Network Analysis at the ISWC 2005 Conference, pages 69 – Specifications: RDF: OWL: OWL2: FOAF: