Knowledge Representation Part VI

Slides:



Advertisements
Similar presentations
The Semantic Web – WEEK 4: RDF
Advertisements

CS570 Artificial Intelligence Semantic Web & Ontology 2
Chapter 3 RDF Syntax 1. Topics Basic concepts of RDF resources, properties, values, statements, triples URIs and URIrefs RDF graphs Literals and Qnames.
More RDF CS 431 – Carl Lagoze – Cornell University Acknowledgements: Eric Miller Dieter Fensel.
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.
1 Resource Description Framework (RDF) Presented by Igor Tatarinov.
Dr. Jim Bowring Computer Science Department College of Charleston CSIS 690 (633) May Evening 2009 Semantic Web Principles and Practice Class 3: 18 May.
LDK R Logics for Data and Knowledge Representation Resource Description Framework (RDF) Fausto Giunchiglia and Biswanath Dutta Fall’2011.
Nancy Ide Vassar College USA Resource Definition Framework A Tutorial EUROLAN 2003 July 28 - August 8 Bucharest - Romania.
RDF Semantics by Patrick Hayes W3C Recommendation Presented by Jie Bao RPI Sept 4, 2008 Part 1 of RDF/OWL Semantics Tutorial.
RDF: Concepts and Abstract Syntax W3C Recommendation 10 February Michael Felderer Digital Enterprise.
Visual Models for Knowledge Engineering Madalina Croitoru
RDF (Resource Description Framework) Why?. XML XML is a metalanguage that allows users to define markup XML separates content and structure from formatting.
Logics for Data and Knowledge Representation Resource Description Framework (RDF) Feroz Farazi.
The Semantic Web Service Shuying Wang Outline Semantic Web vision Core technologies XML, RDF, Ontology, Agent… Web services DAML-S.
RDF Query language The following slides are from Grigoris Antoniou, Frank van Harmelen, “A Semantic Web Primer” Dean Allemang, Jim Hendler, “Semantic Web.
Logics for Data and Knowledge Representation
© Copyright 2008 STI INNSBRUCK RDF and RDF Schema Semantic Web Lecture Lecture III – xx 2009 Dieter Fensel Slides.
Of 41 lecture 4: rdf – basics and language. of 41 RDF basic ideas the fundamental concepts of RDF  resources  properties  statements ece 720, winter.
Chapter 3 RDF and RDFS Semantics. Introduction RDF has a very simple data model But it is quite liberal in what you can say Semantics can be given using.
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.
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.
Introduction The Resource Description Framework (RDF) is recommended by the World Wide Web Consortium (W3C) to model meta-data about the resources of the.
The future of the Web: Semantic Web 9/30/2004 Xiangming Mu.
Understanding RDF. 2/30 What is RDF? Resource Description Framework is an XML-based language to describe resources. A common understanding of a resource.
Chapter 7: Resource Description Framework (RDF) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley,
Semantic Web for the Working Ontologist Dean Allemang Jim Hendler SNU IDB laboratory.
Important Concepts from the W3C RDF Vocabulary/Schema Sungtae Kim SNU OOPSLA Lab. August 19, 2004.
RDF/RDFS Tutorial. Introduction The Resource Description Framework (RDF) is recommended by the World Wide Web Consortium (W3C) to model meta-data about.
Practical RDF Ch.4 Specialized RDF Relationships: Reification, Containers, and Collections Kim, Jong-Nam SNU OOPSLA Lab. August 12, 2004.
EEL 5937 Ontologies EEL 5937 Multi Agent Systems Lotzi Bölöni.
Chapter 3 RDF. Introduction Problem: What does an XML document mean? – XML is about data structures – Their meaning (semantics) is not apparent to a machine.
Knowledge Technologies Manolis Koubarakis 1 Some Other Useful Features of RDF.
Semantic Web for the Working Ontologist Dean Allemang Jim Hendler SNU IDB laboratory.
Other RDF Capabilities. Exercise: Write the following information into a set of statements (triples) and then draw them into and RDF graph The article.
Linked Data & Semantic Web Technology The Semantic Web Part 5. Resource Description Framework (2) Dr. Myungjin Lee.
Semantic Web In Depth Resource Description Framework Dr Nicholas Gibbins –
Linked Data & Semantic Web Technology The Semantic Web Part 7. RDF Semantics Dr. Myungjin Lee.
Linked Data & Semantic Web Technology The Semantic Web Part 4. Resource Description Framework (1) Dr. Myungjin Lee.
1 Knowledge Representation XI – IKT437 Knowledge Representation XI – IKT437 Part I RDF Jan Pettersen Nytun, UiA Apache Jena.
Knowledge Representation Part I Ontology Jan Pettersen Nytun Knowledge Representation Part I, JPN, UiA1.
1 RDF Storage and Retrieval Systems Jan Pettersen Nytun, UiA.
Jan Pettersen Nytun, UIA, page 1 Knowledge Representation Part IV The Semantics Web Starting with XML Jan Pettersen Nytun, UiA.
Knowledge Representation Part IV The Semantics Web Starting with XML
Service-Oriented Computing: Semantics, Processes, Agents
Knowledge Representation Part V RDF
Charlie Abela Department of Intelligent Computer Systems
Knowledge Representation Part II Description Logic & Introduction to Protégé Jan Pettersen Nytun.
Knowledge Representation Part I Ontology
Service-Oriented Computing: Semantics, Processes, Agents
Knowledge Representation Part VI
Resource Description Framework
Service-Oriented Computing: Semantics, Processes, Agents
Some Other Useful Features of RDF
Jan Pettersen Nytun, UiA
Grid Computing 7700 Fall 2005 Lecture 18: Semantic Grid
Ontology.
Department of Artificial Intelligence
CC La Web de Datos Primavera 2016 Lecture 2: RDF Model & Syntax
RDF 1.1 Concepts and Abstract Syntax
ece 720 intelligent web: ontology and beyond
Grid Computing 7700 Fall 2005 Lecture 18: Semantic Grid
Knowledge Representation (Part I)
Chapter 3 RDF and RDFS Semantics
Ontology.
Semantic Web Basics (cont.)
Knowledge Representation Part VII Protégé / RDFS / OWL / ++
Knowledge Representation Part III
Presentation transcript:

Knowledge Representation Part VI Some more details when it comes to RDF, etc. Jan Pettersen Nytun, UiA

Merging Graphs [3]: When is a node in one graph the same node as a node in another graph? In RDF, this is solved through the use of Uniform Resource Identifiers (URIs).

URIs Identify Web Resources Web addresses are the most common URIs, i.e., uniform Resource Locators (URLs). RDF resources are usually named by URI references (URIrefs). URIref = URI + optional fragment identifier at the end. E.g., http://www.example.org/people#tom were http://www.example.org/people = URL tom = fragment identifier http://www.example.org/people# = namespace

Graph Merging The application is quite simple: A node from one graph is merged with a node from another graph—exactly, if they have the same URI. [ref. emanueledellavalle.org]: Propranolol (INN) is a sympatholytic nonselective beta blocker. It is used to treat high blood pressure, a number of heart dysrhythmias, thyrotoxicosis, and essential tremors.[1] It is used to prevent migraine headaches, and to prevent further heart problems in those with angina or previous heart attacks.[1] It comes in both oral and intravenous forms. An anxiolytic (also antipanic or antianxiety agent)[1] is a medication or other intervention that inhibits anxiety.

Standard Namespace For RDF Predefined Terms rdf: Indicates identifiers used in RDF. The set of RDF identifiers is small. The global URI for the rdf namespace is: http://www.w3.org/1999/02/22-rdf-syntax-ns# If you open http://www.w3.org/1999/02/22-rdf-syntax-ns (e.g., in Internet Explorer) you may see the list of RDF identifiers.

RDF Identifier rdf:type [Ref. http://www.w3.org/TR/2014/REC-rdf-schema-20140225/]:

rdf:type in http://www.w3.org/1999/02/22-rdf-syntax-ns rdf:type is mostly being described by RDFS contructs, e.g., rdfs:domain.

Reification In general: Taking an abstract concept and making it concrete by having a proxy representing the abstract concept. Reification (computer science) from Wikipedia: …process …abstract idea about a computer program is turned into an explicit data model or other object created in a programming language. …By means of reification, something that was previously implicit, unexpressed,… is explicitly formulated and made available to conceptual (logical or computational) manipulation.

Reification Example 1 Many languages (e.g., Lisp) provide an eval that effectively reifies the language interpreter.

Reification Example 2 [ref Wikipedia]: Reification is widely used in conceptual modeling. Reifying a relationship means viewing it as an entity. The purpose of reifying a relationship is to make it explicit, when additional information needs to be added to it.

Reification In RDF - 1 Making an assertion (statement) about an assertion. Example [4]: «Wikipedia says Shakespeare wrote Hamlet» Which express information about the statement: “Shakespeare wrote Hamlet”. The following triple does not cover this: :Shakespeare :wrote :Hamlet. How to do this? Higher-order relationships may be used to solve this.

HIGHER-ORDER RELATIONSHIPS rdf:statement: a triple with properties: rdf:subject, rdf:predicate, rdf:object rdf:subject, rdf:predicate, rdf:object : relate elements of statement tuple to a resource of type statement.

Reification In RDF - 2 “Wikipedia says Shakespeare wrote Hamlet.” Using the RDF standard, we can refer to a triple as follows: q:n1 rdf:subject lit:Shakespeare; rdf:predicate lit:wrote; rdf:object lit:Hamlet. web:Wikipedia m:says q:n1. What is missing? Statement

Reification In RDF - 3 [4]: This kind of metadata about statements often takes the form of provenance (information about the source of a statement, as in this example), likelihood (expressed in some quantitative form like probability, such as It is 90 percent probable that Shakespeare wrote Hamlet), context, or time frame… In such cases, it is useful to explicitly make a statement about a statement. This process is called explicit reification. provenance pronunciation: pråvenens

Another Example [ref. http://franz.com/agraph/cresources/white_papers/SemWeb-Language-Primer.pdf]: Explicit reification uses three properties,rdf:subject, rdf:predicate, and rdf:object, to define the three elements of a triple, and then assigns a URI to the triple. For example, news:12345 rdf:subject bb:WhiteyFord; rdf:predicat ebb:playsPosition; rdf:object bb:Pitcher. news:NewYorkTimes news:reports news:12345. Reification is an important concept, since assertions often need to be made as to the source, date, confidence, etc. of assertions in the domain of discourse.

Ordered information in RDF [4]: RDF provides a facility for ordering elements in a list format. E.g., In Turtle: lit:Shakespeare b:hasChild (b:Susanna b:Judith b:Hamnet). This translates into the following triples, where _:a, _:b, and _:c are bnodes: lit:Shakespeare b:hasChild _:a. _:a rdf:first b:Susanna. _:a rdf:rest _:b. _:b rdf:first b:Judith. _:b rdf:rest _:c. _:c rdf:rest rdf:nil. _:c rdf:first b:Hamnet.

References [1] David Poole and Alan Mackworth, Artificial Intelligence: Foundations of Computational Agents, Cambridge University Press, 2010, http://artint.info/ [2] http://www.w3.org/TR/swbp-n-aryRelations/ [3] RDF 1.1 Primer, W3C Working Group Note, 24 June 2014 [4] Semantic Web for the Working Ontologist, Second Edition: Effective Modeling in RDFS and OWL, May 20, 2011, by Dean Allemang, James Hendler