Semantic Web Basics (cont.)

Slides:



Advertisements
Similar presentations
W3C and RDF. Why OCLC is a W3C Member Access to networked information resources –the browser and online access –the breath and depth of networked information.
Advertisements

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
Semantic Web Ontologies CS 431 – April 4, 2005 Carl Lagoze – Cornell University Acknowledgements: Alun Preece.
Dr. Alexandra I. Cristea RDF.
Building the Semantic Web CS 431 – March 28, 2005 Carl Lagoze – Cornell University.
Chapter 3A Semantic Web Primer 1 Chapter 3 Describing Web Resources in RDF Grigoris Antoniou Frank van Harmelen.
Knowledge Technologies Manolis Koubarakis 1 An Introduction to RDF Schema.
Resource Description Framework (RDF) developed by World Wide Web Consortium (W3C) by Satya.
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,
Resource Description Framework Building the Semantic Web CS 431 – Carl Lagoze – Cornell University Acknowledgements: Eric Miller Dieter Fensel.
RDF, RDFS making the Web a better place Ir. Richard Vdovjak, MTD.
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.
LDK R Logics for Data and Knowledge Representation Resource Description Framework (RDF) Fausto Giunchiglia and Biswanath Dutta Fall’2011.
Resource Description Framework (RDF)
RDF Semantics by Patrick Hayes W3C Recommendation Presented by Jie Bao RPI Sept 4, 2008 Part 1 of RDF/OWL Semantics Tutorial.
RDF (Resource Description Framework) Why?. XML XML is a metalanguage that allows users to define markup XML separates content and structure from formatting.
Chapter 3 RDF Schema.
Logics for Data and Knowledge Representation Resource Description Framework (RDF) Feroz Farazi.
Logics for Data and Knowledge Representation
RDF – Resource Description Framework M. Missikoff – F. Taglino LEKS, IASI-CNR Una piattaforma inferenziale per il Web Semantico: Jena2 Roma, 2006 Web Semantico.
© Copyright 2008 STI INNSBRUCK RDF and RDF Schema Semantic Web Lecture Lecture III – xx 2009 Dieter Fensel Slides.
Metadata Modularization Concepts and Tools Carl Lagoze CS
Of 41 lecture 4: rdf – basics and language. of 41 RDF basic ideas the fundamental concepts of RDF  resources  properties  statements ece 720, winter.
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 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,
Semantic Web Exam 1 Review.
RDF & RDF Schema Machine Understandable Metadata for the Web Semantic Web - Spring 2006 Computer Engineering Department Sharif University of Technology.
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.
RDF Schema (RDFS) RDF user communities need to define the vocabularies (terms) to indicate that they  are describing specific kinds or classes of resources.
Introduction The Resource Description Framework (RDF) is recommended by the World Wide Web Consortium (W3C) to model meta-data about the resources of the.
OIL and DAML+OIL: Ontology Languages for the Semantic Web Sungshin Lim TOWARDS THE SEMANTIC WEB: Ontology-driven Knowledge.
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,
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.
Doc.: IEEE /0169r0 Submission Joe Kwak (InterDigital) Slide 1 November 2010 Slide 1 Overview of Resource Description Framework (RFD/XML) Date:
Of 38 lecture 6: rdf – axiomatic semantics and query.
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.
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.
Linked Data & Semantic Web Technology The Semantic Web Part 7. RDF Semantics Dr. Myungjin Lee.
Semantic Web in Depth RDF Schema Dr Nicholas Gibbins –
Setting the stage: linked data concepts Moving-Away-From-MARC-a-thon.
Service-Oriented Computing: Semantics, Processes, Agents
Charlie Abela Department of Intelligent Computer Systems
An Introduction to RDF Schema
The Semantic Web Part 6. RDF Vocabularies: RDF Schema
Service-Oriented Computing: Semantics, Processes, Agents
Resource Description Framework Building the Semantic Web
Introduction to the Semantic Web (tutorial) 2009 Semantic Technology Conference San Jose, California, USA June 15, 2009 Ivan Herman, W3C
Service-Oriented Computing: Semantics, Processes, Agents
Tutorial on Semantic Web
Some Other Useful Features of RDF
ece 720 intelligent web: ontology and beyond
Introduction to RDF and RDFS Editor: MR3
RDF 1.1 Concepts and Abstract Syntax
ece 720 intelligent web: ontology and beyond
RDF & RDF Schema Machine Understandable Metadata for the Web
Chapter 3 RDF and RDFS Semantics
Semantic Web Ontologies & Data Models
RDA Community and linked data
Resource Description Framework (RDF)
Semantic-Web, Triple-Strores, and SPARQL
Presentation transcript:

Semantic Web Basics (cont.) CS 431 – March 30, 2005 Carl Lagoze – Cornell University

Acknowledgements for various slides and ideas Ian Horrocks (Manchester U.K.) Eric Miller (W3C) Dieter Fensel (Berlin) Volker Haarslev (Montreal)

Semantic Web and the W3C http://www.w3.org/2001/sw/ http://www.w3.org/RDF/

RDF Data Model Directed Graph Primitives Other constructs resource property literal statement Other constructs container collection reification URI’s for everything except literals

RDF Model Primitives Resource Resource Property Value Statement

Typed Literals

RDF Containers Permit aggregation of several values for a property Different container semantics Bag unordered grouping (e.g., students in this class) Sequence ordered grouping (e.g., authors of a paper) Alternatives alternate values (e.g., measurement in different units)

RDF Collections Containers are not closed open world assumption in all of them Collections use lisp-like primitives (first, rest, nil) to express a close list.

RDF Reification Treat a statement as a first-class object (resource) It then can become a graph element (and be used as subject and object of statements)

Formalizing RDF There is a meta-model that bootstraps RDF Set of basic types and properties Allows basic inferencing

RDF meta-model basis elements All defined in rdf namespace http://www.w3.org/1999/02/22-rdf-syntax-ns# Properties rdf:type - subject is an instance of that category or class defined by the value rdf:subject, rdf:predicate, rdf:object – relate elements of statement tuple to a resource of type statement. Types (or classes) rdf:Resource – everything that can be identified (with a URI) rdf:Property – specialization of a resource expressing a binary relation between two resources rdf:statement – a triple with properties rdf:subject, rdf:predicate, rdf:object

Use of rdf:type “Resource named http://foo.org/inst is member of class http://foo.org/classes/cl1” <http://foo.org/inst> <rdf:type> <http://foo.org/classes/cl1>

Formalizing a statement An RDF statement is a triple consisting of: subject  rdf:type resource property  rdf:type property object  rdf:type resource | literal Examples <http://www.cs.cornell.edu/lagoze> <http://purl.org/dc/elements/creator> “Carl Lagoze” <http://www.cs.cornell.edu/lagoze> <http://purl.org/dc/elements/creator> <mailto:lagoze@cs.cornell> Expressible as: triple (ns1:s ns2:p ns3:o)

RDF statements and basic types rdf:object rdf:subject rdf:predicate WYA Digital Libraries creator rdf:property

Simple type inferencing explicit triple Allows inference

Reification – Statements about statements CL rdf:statement assertedBy rdf:object rdf:subject rdf:predicate WYA Digital Libraries creator rdf:property “CL says ‘WYA wrote Digital Libraries’”

Beyond binary relations Note mapping of RDF statements to binary relations that could be stored in a database: (:s :p :o) maps to P(S,O) – e.g., Title(R, “War & Peace”) But the world is more complex Carl Lagoze has his office at 301 College Ave., Ithaca, NY 14850 (“Carl Lagoze” “hasOffice” “301 College Ave, Ithaca, NY 14850”) (“Carl Lagoze” “address” “301 College Ave” “Ithaca” “NY” “14850”)

Expressing n-ary relations with blank nodes street city state zip address “301 College Ave” “Ithaca” “NY” “14850” “blank node” (think of as local variable) URI1

Another n-ary relation example

Expressing Collection Primitives in Binary Relations

RDF Collections and blank nodes The students in course 6.001 are Amy, Mohamed, and Johann

Reification Structure Staff member 85740 said the weight of item 10245 is 2.4 units

Reification XML

Why Schema (1)? Enables communities to share machine readable tokens and locally define human readable labels. dc:Creator “Nom” “Author” “$100 $a”

Why Schema (2)? Relationships among vocabularies dc:Creator marc:100 ms:director bib:Author

Why Schema(3)? Relationships among vocabulary elements dc:Creator ms:director isA rdfs:label “Director” dc:Creator URI:R ms:director “John Smith”

RDF Schemas Declaration of vocabularies classes, properties, and structures defined by a particular community relationship of properties to classes Provides substructure for inferences based on existing triples NOT prescriptive, but descriptive Schema language is an expression of basic RDF model uses meta-model constructs schema are “legal” rdf graphs and can be expressed in RDF/XML syntax

RDFs Namespace Class-related Property-related rdfs:Class, rdfs:subClassOf Property-related rdfs:subPropertyOf, rdfs:domain, rdfs:range

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

Sub-Property Semantics

Property-based semantics Provide basis for type inference from properties rdfs:domain classes of resources that have a specific property rdfs:range classes of resources that may be the value of a specific property range

Inferences from Constraints

Class Declaration rdfs:Class Resources denoting a set of resources; range of rdf:type rdf:type rdf:type rdfs:class ex:MotorVehicle rdf:type rdfs:Class exthings:companyCar rdf:type ex:MotorVehicle

Class Hierarchy rdfs:subClassOf Create class hierarchy rdfs:subClassOf rdf:type rdf:type rdf:class rdf:class ex:MotorVehicle rdf:type rdfs:Class ex:SUV rdf:type rdfs:Class ex:SUV rdf:subClassOf ex:MotorVehicle exthings:companyCar rdf:type ex:SUV

Sub-Class Inferencing

Sub-class Inferencing Example

Jena Toolkit Robust tools for building and manipulating RDF models HP Labs Bristol Capabilities Model construction XML and N3 parsing Model persistence (DB foundation) Model querying Ontology building Inferencing http://www.hpl.hp.com/semweb/jena2.htm

IsaViz Visualizing and constructing RDF models http://www.w3.org/2001/11/IsaViz/