RDF & SPARQL Introduction Dongfang Xu Ph.D student, School of Information, University of Arizona Sept 10, 2015.

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

The Semantic Web – WEEK 4: RDF
1 RDF Tutorial. C. Abela RDF Tutorial2 What is RDF? RDF stands for Resource Description Framework It is used for describing resources on the web Makes.
Introduction to RDF and RDFS Editor: MR 3 Susumu Tamagawa OSM 2011, Lecture and Exercise, Web Intelligence.
ESDSWG2011 – Semantic Web session Semantic Web Sub-group Session ESDSWG 2011 Meeting – Semantic Web sub-group session Wednesday, November 2, 2011 Norfolk,
RDF Tutorial.
Introduction to Semantic Web Many of the slides of this chapter are from m
Dr. Alexandra I. Cristea RDF.
Chapter 3A Semantic Web Primer 1 Chapter 3 Describing Web Resources in RDF Grigoris Antoniou Frank van Harmelen.
State of the Art in Semantic Web standards and technologies Andreas Duscher.
RDF: Data Description With HTML, the Web is for reading With XML, the Web is for processing Necessary to know  who wrote this?  who owns it?  who authorised.
Chapter 7: Resource Description Framework (RDF) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley,
Computer Science Department Brigham Young University CS652 – Spring 2004 Yihong Ding XML, RDF, and OWL The Derivation of Web Ontology Language.
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 Introduction to Semantic Web with XML RDF Dickson K.W. Chiu PhD, SMIEEE Text: Antoniou & van Harmelen: A Semantic Web PrimerA Semantic Web Primer (Chapter.
Module 2b: Modeling Information Objects and Relationships IMT530: Organization of Information Resources Winter, 2007 Michael Crandall.
Resource Description Framework (RDF) Lecture # 6 Faculty of Computer Science, IBA.
1 Roger L. Costello, David B. Jacobs. © 2003 The MITRE Corporation. XML Design (A Gentle Transition from XML to RDF) Roger L. Costello David B. Jacobs.
Nancy Ide Vassar College USA Resource Definition Framework A Tutorial EUROLAN 2003 July 28 - August 8 Bucharest - Romania.
RDF: Resource Description Framework Some slides are from Costello and “primer to semantic web”
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.
Practical RDF Chapter 1. RDF: An Introduction
RDF Query language The following slides are from Grigoris Antoniou, Frank van Harmelen, “A Semantic Web Primer” Dean Allemang, Jim Hendler, “Semantic Web.
Chapter 3 RDF Syntax. RDF Overview RDF Syntax -- the XML encoding RDF Syntax – variations including N3 RDF Schema (RDFS) Semantics of RDF and RDFS – Axiomatic.
Logics for Data and Knowledge Representation
Chapter 3 Querying RDF stores with SPARQL. Why an RDF Query Language? Why not use an XML query language? XML at a lower level of abstraction than RDF.
ISBD for the Semantic Web: namespaces, elements, vocabularies, application profile Gordon Dunsire Presented at Centar zu Stalno Stručno Usavršavanje (CSSU),
By: Dan Johnson & Jena Block. RDF definition What is Semantic web? Search Engine Example What is RDF? Triples Vocabularies RDF/XML Why RDF?
1 Introduction to the Semantic Web and metadata frameworks Payam Barnaghi Institute for Communication Systems (ICS) Faculty of Engineering and Physical.
Ontology Query. What is an Ontology Ontologies resemble faceted taxonomies but use richer semantic relationships among terms and attributes, as well as.
New Perspectives on XML, 2nd Edition
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.
RQL: RDF Query language Jianguo Lu University of Windsor The following slides are from Grigoris Antoniou, Frank van Harmelen, “A Semantic Web Primer”
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.
XML 2nd EDITION Tutorial 4 Working With Schemas. XP Schemas A schema is an XML document that defines the content and structure of one or more XML documents.
Practical RDF Ch.6 Creating an RDF Vocabulary DongHyuk Im SNU OOPSLA Lab. Shelley Powers, O’Reilly August 19, 2004.
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.
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,
The RDF meta model Basic ideas of the RDF Resource instance descriptions in the RDF format Application-specific RDF schemas Limitations of XML compared.
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.
Description of Information Resources: RDF/RDFS (an Introduction)
OWL & Protege Introduction Dongfang Xu Ph.D student, School of Information, University of Arizona Sept 10, 2015.
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.
ELIS – Multimedia Lab PREMIS OWL Sam Coppens Multimedia Lab Department of Electronics and Information Systems Faculty of Engineering Ghent University.
Ontology based e-Real Estate Agency Information System By Moein Mehrolhasani Bijan Zamanian cmpe 588.
Doc.: IEEE /0169r0 Submission Joe Kwak (InterDigital) Slide 1 November 2010 Slide 1 Overview of Resource Description Framework (RFD/XML) Date:
RDF Syntax and examples ดร. มารุต บูรณรัช : หัวข้อพิเศษด้านเทคโนโลยีสารสนเทศขั้นสูง - เทคโนโลยีเว็บเชิงความหมาย.
Of 38 lecture 6: rdf – axiomatic semantics and query.
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.
Chapter 3 RDF Syntax. RDF Overview RDF Syntax -- the XML encoding RDF Syntax – variations including N3 RDF Schema (RDFS) Semantics of RDF and RDFS – Axiomatic.
Silterra, April 2004 RDF, RSS and all that THREADING THE RDF MAZE.
Practical RDF Chapter 3. The Basic Elements Within the RDF/XML Syntax Shelley Powers, O’Reilly SNU IDB Lab. Hyewon Kim.
Other RDF Capabilities. Exercise: Write the following information into a set of statements (triples) and then draw them into and RDF graph The article.
Describing Web Resources in RDF Semantic Web. Knowledge Technologies Manolis Koubarakis 2 The Semantic Web “Layer Cake”
The Semantic Web SDBI 2010 Most of the slides are book slides of Semantic Web Primer, by Grigoris Antoniou and Frank van Harmelen.
Semantic Web In Depth Resource Description Framework Dr Nicholas Gibbins –
Linked Data & Semantic Web Technology The Semantic Web Part 4. Resource Description Framework (1) Dr. Myungjin Lee.
OWL (Ontology Web Language and Applications) Maw-Sheng Horng Department of Mathematics and Information Education National Taipei University of Education.
Introduction to Persistent Identifiers
RDF For Semantic Web Dhaval Patel 2nd Year Student School of IT
Introduction to RDF and RDFS Editor: MR3
RDF 1.1 Concepts and Abstract Syntax
ece 720 intelligent web: ontology and beyond
Semantic-Web, Triple-Strores, and SPARQL
Presentation transcript:

RDF & SPARQL Introduction Dongfang Xu Ph.D student, School of Information, University of Arizona Sept 10, 2015

Catalog Semantic Web RDF RDF Schema SPARQL

Semantic Web The Limits of today’s Web (2.0): 1.High recall and low precision; 2. Low recall and even on recall; 3. Results are highly sensitive to vocabulary. 4. Single Web pages. Reference: Antoniou, G., & Van Harmelen, F. (2008). A semantic web primer (2 nd ed.). Cambridge, Mass: MIT press.

Semantic Web What can be done?

Semantic Web The Semantic Web Technologies (standard technologies ): 1.Format the web content. 2.Relate the data Machine-processable web information

Semantic Web Physiotherapy Agilitas Physiotherapy Centre Lisa Davenport Steve Matthews Kelly Townsend

XML & RDF David Billing David Billing”> Discrete Mathematics David Billing Discrete Mathematics XML does not provide any means of talking about the semantics (meaning) of data

Catalog Semantic Web RDF RDF Schema SPARQL

What is RDF? A data model for objects (“resources”) and relations between them; Provides a simple semantics for the data model; The model can be represented in an xml syntax. Basic building block is an object-attribute-value triple, called statement. RDF

<River id="Yangtze" xmlns=" kilometers western China's Qinghai-Tibet Plateau East China Sea XML Modify the following XML document so that it is also a valid RDF document: <rdf:RDF xmlns:rdf=" xmlns=" <rdf:Description rdf:ID="Yangtze" 6300 kilometers western China's Qinghai-Tibet Plateau East China Sea RDF Yangtze.xml Yangtze.rdf "convert to"

RDF Data Model As you read the RDF literature you may see the following terminology: Subject: this term refers to the item that is playing the role of the resource. predicate: this term refers to the item that is playing the role of the property. Object: this term refers to the item that is playing the role of the value. Subject Object predicate Resource Value property Equivalent! <rdf:Description rdf:ID="Yangtze" 6300 kilometers

RDF resource A Resource is any object identifiable by a URI. 1.Resources can use any URI, e.g.: URI-s can also use different forms: CIT11111 =( CIT11111) The resource is defined like below, with Usually means referencing an existing resource; means creating a new resource;

RDF resource Discrete Mathematics David Bill Associate Professor Resource reference

RDF property & value Property value must be a Literal or a Resource Discrete Mathematics property Value

RDF element 1.Root element <rdf:RDF xmlns:rdf=" xmlns:cd=" 2. Description element define resource 3. Property eelement define attribute 4. Bag/Seq/Alt element define a few attributes within the property. See more:

Catalog Semantic Web RDF RDF Schema SPARQL

RDF Schema  RDF schema is a vocabulary description language for describing properties and classes of RDF resources, with a semantics for generalization hierarchies of such properties and classes.  RDF Schema is a primitive ontology language.  RDFS will use RDF itself to define the semantics of particular domain.

RDF Schema

Catalog Semantic Web RDF RDF Schema SPARQL

 SPARQL is the query language to search resource & value;  It is based on matching graph patterns ( like RDF triple pattern, but the resource and value can be variable) ?res uni:phone ?pho  use “?” to define variable, for both string and numeric type  Like in SQL, it has a Select-From-Where structure.

SPARQL PREFIX rdf: PREFIX uni: (namespace make quries shorter and easier to read) Select ?X Where { ?x uni: phone : }

SPARQL Select ?X ?Y Where { ?x uni: phone ?y }

SPARQL Select ?name ?Y Where { ?X rdf:type uni:Lecturer; uni: name ?name. ?X uni: phone ?Y. }

SPARQL Select ?name ?Y Where { ?X rdf:type uni:Lecturer; uni: name ?name. ?X uni: phone ?Y. OPTIONAL{?X uni:phone ?Y} }

SPARQL Select ?Y Where { ?X rdf:type uni:Lecturer; uni: name :David Bill. ?C uni: phone ?Y. Filter(?X=?C) }

SPARQL

1.SPARQL has several query forms. 2.The CONSTRUCT query form returns an RDF graph.

SPARQL More resources:

Thank you! Q&A