Introduction to RDF and RDFS Editor: MR3

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

Dr. Bhavani Thuraisingham February 18, 2011 Building Trustworthy Semantic Webs RDF and RDF Security.
Introduction to RDF and RDFS Editor: MR 3 Susumu Tamagawa OSM 2011, Lecture and Exercise, Web Intelligence.
RDF Tutorial.
Semantic Web Introduction
OSM Lecture (14:45-16:15) Takahira Yamaguchi OSM Exercise (16:30-18:00) Susumu Tamagawa.
Of 27 lecture 7: owl - introduction. of 27 ece 627, winter ‘132 OWL a glimpse OWL – Web Ontology Language describes classes, properties and relations.
Dr. Alexandra I. Cristea RDF.
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.
1 Extracting RDF Data from Unstructured Sources Based on an RDF Target Schema Tim Chartrand Research Supported By NSF.
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 (RDF) Lecture # 6 Faculty of Computer Science, IBA.
Nancy Ide Vassar College USA Resource Definition Framework A Tutorial EUROLAN 2003 July 28 - August 8 Bucharest - Romania.
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.
Okech Odhiambo Faculty of Information Technology Strathmore University
Logics for Data and Knowledge Representation
The Resource Description Framework And its application to thegateway.org For the IIAP Jon Jablonski, Research Assistant The Information.
Chapter 3 RDF Schema. Introduction RDF has a very simple data model RDF Schema (RDFS) enriches the data model, adding vocabulary and associated semantics.
Of 41 lecture 4: rdf – basics and language. of 41 RDF basic ideas the fundamental concepts of RDF  resources  properties  statements ece 720, winter.
Part I: Set Constructs. RDF Schema (RDFS) RDF does not provide mechanisms to define domain classes and properties RDFS is a vocabulary that provides many.
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,
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.
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.
Chapter 7: Resource Description Framework (RDF) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley,
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.
Important Concepts from the W3C RDF Vocabulary/Schema Sungtae Kim SNU OOPSLA Lab. August 19, 2004.
Description of Information Resources: RDF/RDFS (an Introduction)
Dr. Bhavani Thuraisingham September 24, 2008 Building Trustworthy Semantic Webs Lecture #9: RDF and RDF Security.
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.
RDF & SPARQL Introduction Dongfang Xu Ph.D student, School of Information, University of Arizona Sept 10, 2015.
Semantic web course – Computer Engineering Department – Sharif Univ. of Technology – Fall RDF & RDF Schema Machine Understandable Metadata for the.
Describing Web Resources in RDF Semantic Web. Knowledge Technologies Manolis Koubarakis 2 The Semantic Web “Layer Cake”
Semantic Web In Depth Resource Description Framework Dr Nicholas Gibbins –
Semantic Web in Depth RDF Schema Dr Nicholas Gibbins –
Service-Oriented Computing: Semantics, Processes, Agents
Charlie Abela Department of Intelligent Computer Systems
Lecture #13: RDF and RDF Security Dr. Bhavani Thuraisingham
An Introduction to RDF Schema
The Semantic Web Part 6. RDF Vocabularies: RDF Schema
Chapter 3 RDF Schema.
Building Trustworthy Semantic Webs
Service-Oriented Computing: Semantics, Processes, Agents
Resource Description Framework
Resource Description Framework
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
Grid Computing 7700 Fall 2005 Lecture 18: Semantic Grid
RDF For Semantic Web Dhaval Patel 2nd Year Student School of IT
ece 720 intelligent web: ontology and beyond
ece 720 intelligent web: ontology and beyond
RDF 1.1 Concepts and Abstract Syntax
ece 720 intelligent web: ontology and beyond
Grid Computing 7700 Fall 2005 Lecture 18: Semantic Grid
DAML: The DARPA Agent Markup Language
Chapter 3 RDF and RDFS Semantics
Sheet 10 RDF (2).
Semantic Web Basics (cont.)
Semantic-Web, Triple-Strores, and SPARQL
Presentation transcript:

Introduction to RDF and RDFS Editor: MR3 OSM 2010, Lecture and Exercise, Web Intelligence Introduction to RDF and RDFS Editor: MR3 Takeshi Morita Assistant Professor at Keio University

Contents Overview of MR3 Fundamental Concepts of RDF and RDFS Issues Detail of MR3 Tutorial of MR3 Exercises

Overview of MR3 Graphical RDF and RDFS editor MR3: Meta-Model Management based on RDFs Revision Reflection Main feature Managing some relationships between RDF and RDFS contents Place to obtain http://mr3.sourceforge.net/

Fundamental Concepts of RDF (Resource Description Framework) an object, a “thing” we want to talk about Property a special kind of resources relations between resources Statement an object-attribute-value triple Literal an atomic value the object of an RDF statement (not the subject or the predicate) values (resource or literal)

An example of RDF statements Model rdf:type Person object (Resource) William hasFather Charles subject (Resource) predicate (Property) object (Literal) Statement Syntax (XML) <rdf:Description about=“William”>  <hasFather>Charles</hasFather> <rdf:type resource=“Person”/> </rdf:Description> Resource Property Literal

Providing modeling primitives for expressing the RDF model Class Fundamental Concepts of RDFS (RDF Vocabulary Description Language, RDF Schema ) Providing modeling primitives for expressing the RDF model Class Defining groups of related resources Hierarchical relationships between classes rdfs:subClassOf property Property Defining the relationships between resources Hierarchical relationships between properties rdfs:subPropertyOf property Domain and range of a property rdfs:domain and rdfs:range property

An example of RDFS statements RDFS model and syntax are same as RDF Note Model Meta-Model RDFS = Class rdf:type rdfs:Class Person rdfs:Resource rdfs:domain rdfs:subClassOf Property rdf:type hasFather rdf:Property <rdf:Class rdf:about=“Person”> <rdfs:subClassOf resource=“&rdfs;Resource”/> </rdf:Class> <rdf:Property rdf:about=“hasFather”></rdf:Property> Syntax (XML)

Issues RDFS model + RDF model High cost of building up RDF and RDFS contents manually Conventional Tools Displaying XML based contents with RDF model RDFS model + RDF model

An example of RDF and RDFS contents of academic domain Web Intelligence is taught by Takahira Yamaguchi. Professor, Associate Professor, Assistant Professor, Academic Staff Member, Staff Member, and Course are classes All Professors, Associate Professors, and Assistant Professors are Academic Staff Members All Academic Staff Members are Staff Members Courses must be taught by academic staff members only <?xml version="1.0"?> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:mr3="http://mmm.semanticweb.org/mr3#" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xml:base="http://mmm.semanticweb.org/mr3#"> <rdfs:Class rdf:about="#Academic Staff Member"> <rdfs:subClassOf> <rdfs:Class rdf:about="#Staff Member"/> </rdfs:subClassOf> </rdfs:Class> <rdfs:Class rdf:ID="Course"/> <rdfs:Class rdf:ID="Professor"> <rdfs:subClassOf rdf:resource="#Academic Staff Member"/> <rdfs:Class rdf:about="#Assistant Professor"> <rdfs:Class rdf:about="#Associate Professor"> <rdf:Property rdf:ID="isTaughtBy"> <rdfs:domain rdf:resource="#Course"/> <rdfs:range rdf:resource="#Academic Staff Member"/> </rdf:Property> <mr3:Professor rdf:about="#Takahira Yamaguchi"/> <mr3:Course rdf:about="#Web Intelligence"> <mr3:isTaughtBy rdf:resource="#Takahira Yamaguchi"/> </mr3:Course> </rdf:RDF> RDF/XML English Statements convert into machine readable

An example of RDF and RDFS contents of academic domain rdfs:Class Staff Member rdf:Property rdfs:subClassOf Academic Staff Member rdfs:range rdfs:domain rdfs:subClassOf isTaughtBy rdfs:subClassOf rdfs:subClassOf Course Professor Associate Professor Assistant Professor isTaughtBy Web Intelligence Takahira Yamaguchi rdf:type

MR3 (1) Graphical editing functions of RDF contents RDFS Data Graph RDFS Document <rdf:RDF xmlns:rdfs=“…rdf-schema#"> <rdfs:Class rdf:about="http://purl.org/rss/1.0..." <rdf:Property rdf:about="http://purl.org/rss/1.0..." </rdf:RDF> (2) (2) Graphical editing functions of RDFS contents Class Property (3) RDF and RDFS model management facilities (3) RDF Document RDF Data Graph (1) Graphical editing functions of RDF contents (1) <rdf:RDF xmlns:rdfs=“…rdf-syntax-ns”> <image rdf:about="http://..."> <title>…</title></image>… </rdf:RDF> Property Resource Literal

RDF and RDFS model management facilities (Overview) rdfs:Resource Property Class is-a Academic Staff Member is-a isTaughtBy Course Professor RDF model type of resources Course Professor isTaughtBy Web Intelligence Takahira Yamaguchi

RDF and RDFS model management facilities (Detail) Manipulation of an RDFS Class Replace RDFS Class Removal of RDFS Class Manipulation of an RDFS Property Replace RDFS Property Removal of RDFS Property Replacing the Type of an RDF Resource Replace the RDFS class name with that referred to before the use replaced the type of the RDF resource Create a new RDFS class that has yet to be defined Replacing the RDF Property Replace the RDFS property name with that referred to before the user replaced the RDF property Create a new RDFS property that has yet to be defined O->M facilities M->O facilities

RDF and RDFS model management facilities (Example: Replace RDFS Class) rdfs:Resource Property Class is-a Academic Staff Member is-a isTaughtBy Class Course Professor RDF model Course Class Professor isTaughtBy Web Intelligence Takahira Yamaguchi Course Class Professor isTaughtBy Machine Learning Akito Sakurai

Tutorial of MR3 How to install MR3 Importing RDF and RDFS documents Mapping namespace and prefix Class Editor Inserting, Editing, Deleting, and Connecting is-a relationships between classes Property Editor Inserting RDFS property and Defining domain and range of RDFS property RDF Editor Inserting RDF literal and resource Exporting RDF and RDFS model

How to install MR3 Install JRE (Java Runtime Environment) http://www.oracle.com/technetwork/java/javase/downloads/index.html Download MR3_1_0RC5.zip http://sourceforge.net/projects/mr3/files/MR_3/MR_3%201.0%20RC5/ Unzip the download file and execute run.bat

Screenshot of MR3 Class Editor Property Editor RDF Editor Attribute Dialog Namespace Table

Importing RDF and RDFS documents 1 2 3 OR Other Serialization (N3, N-Triple, Turtle) 4

After importing example_academic_domain.rdf Space character is not supported in MR3. Please replace space characters by underbars. Staff Member -> Staff_Member Academic Staff Member -> Academic_Staff_Member Associate Professor -> Associate_Professor Web Intelligence -> Web_Intelligence Takahira Yamaguchi -> Takahira_Yamaguchi

Mapping namespace and prefix

Class Editor Inserting class

Class Editor Editing class spell miss

Class Editor Deleting class

Class Editor Connecting is-a relationships between classes connect mode move mode drag & drop Let’s insert exp:Assistant Professor class and connect is-a relationships between Assistant Professor class and Academic Staff Member class. Excercise

Property Editor Inserting RDFS property

Property Editor Defining domain and range of RDFS property

RDF Editor Inserting RDF literal Professor Takahira Yamaguchi's phone number is 045-566-1614.

RDF Editor Inserting RDF resource (1) Machine Learning Course is taught by Professor Akito Sakurai.

RDF Editor Inserting RDF resource (2) Machine Learning Course is taught by Professor Akito Sakurai.

Exporting RDF and RDFS model

Exercises Convert the following English statements to an RDF and RDFS model. All trucks, vans, passenger vehicles are motor vehicles. All mini vans are passenger vehicles and vans. All Toyota Corollas are passenger vehiecles. Taro owns a toyota corolla. Taro is a person. Toyota motor corporation makes Toyota Corollas. Toyota motor corporation is a automobile company. Taro's vehicle registration number is xxxx-xxxx. Persons only have motor vehicles. Motor vehicles must be owned by persons only. Vehicle registration numbers must be owned by motor vehicles only. Motor vehicles must be made by automobile companies only. Construct an RDFS ontology including a set of instances about your interest (music, computer, sports, etc). Create at least 10 classes and at least 5 properties with domain and range classes Use at least 5 subClassOf statements.

References http://people.csail.mit.edu/pcm/Hendler.pdf http://people.csail.mit.edu/pcm/Hawke.pdf A Semantic Web Primer, 2nd Edition ISBN-13: 978-0262012423 http://mr3.sourceforge.net/