SlideShare une entreprise Scribd logo
1  sur  34
Télécharger pour lire hors ligne
SPARQL: Query Language for RDF
研究⽣生 鍾聖彥
指導⽼老師 許慶⽣生 教授
Sir Tim Berners-Lee
•

Born 8 June 1955

•

British computer scientist.

•

The inventor of the World Wide
Web.(WWW)

•

The concept of the Semantic
Web is the brainchild of the
original creator of the WorldWide Web.(1998)

•

Web 3.0.
This NeXT Computer was used by Berners-Lee at CERN and
became the world's first web server
Semantic Web
An extension of the World Wide Web that allows computers to
intelligently search, combine, and process Web content based on
the meaning that this content has to humans.(Pascal Hitzler, Markus
Krotzsch, and Sebastian Rudolph 2010).
!

The idea behind the Semantic Web is 'to weave a Web that not only
links documents to each other but also recognises the meaning of
the information in those documents.' (Frauenfelder 2001);
—Tim Berners-Lee, 2006
「…….,Web 2.0 and access to a semantic Web
integrated across a huge space of data, you'll
have access to an unbelievable data resource
…」(Web 3.0)
–Tim Berners-Lee, 2006
Semantic

Meaning
RDF
(Resource Description Framework)
•

Formal language for describing structured information.

•

The goal of RDF is to enable applications to exchange data
on the Web while still preserving their original meaning.

•

RDF consequently is often viewed as the basic
representation format for developing the Semantic Web.

•

Based on a very simple graph-oriented data schema.

•

A first official specification was published in 1999 by the
W3c.
語法
「A有⼀一個B是C來表⽰示」
描述的事物 A
描述事物的具體屬性(property) B
描述的作為該屬性的值的事物 C
RDF Description of a person
named Eric Miller
Whose name is Eric Miller, whose email address is
em@w3.org, and whose title is Dr.
RDF graph

Therefore, the following "subject, predicate, object" RDF triples can be expressed:
http://www.w3.org/People/EM/contact#me, http://www.w3.org/2000/10/swap/pim/contact#fullName, "Eric Miller"
http://www.w3.org/People/EM/contact#me, http://www.w3.org/2000/10/swap/pim/contact#mailbox, em@w3.org
http://www.w3.org/People/EM/contact#me, http://www.w3.org/2000/10/swap/pim/contact#personalTitle, "Dr."
http://www.w3.org/People/EM/contact#me, http://www.w3.org/1999/02/22-rdf-syntax-ns#type, http://www.w3.org/
2000/10/swap/pim/contact#Person
The XML Serialization of RDF
What is SPARQL?
•

pronounced as sparkle

•

RDF query and inference languages

•

SQL-like language

•

Accordingly simple RDF graphs are used as fundamental query
patterns.

•

One of the key technologies of the semantic web.!

•

Represented using Turtle (Terse RDF Triple Language)

•

SPARQL allows for a query to consist of triple patterns,
conjunctions, disjunctions, and optional patterns
Data Descriptions
Result Descriptions
Like…
SPARQL可以讓使⽤用者寫出廣域上不含糊的詢問。
舉例來說,以下的詢問可以取得世界上所有⼈人的姓名與Email:
What are all the country
capitals in Africa?
Writing a Simple Query
NTriple寫法
Multiple Matches
Multiple Matches

The result of a query is a solution sequence, corresponding to
the ways in which the query's graph pattern matches the data.
Multiple Matches

This is a basic graph pattern match; all the variables used in
the query pattern must be bound in every solution.
Matching RDF Literals
Matching Literals with
Language Tags
Numeric Types
Arbitrary Datatypes
Matching Literals with Language Tags
Matching Literals with Numeric Types
Integers in a SPARQL query indicate an RDF typed literal with the datatype
xsd:integer.
For example: 42 is a shortened form of "42"^^<http://www.w3.org/2001/
XMLSchema#integer>.
!
Matching Literals with Arbitrary Datatypes
Building RDF Graphs
The SELECT query form returns variable bindings.
The CONSTRUCT query form returns an RDF graph.
The graph is built based on a template which is used to
generate RDF triples based on the results of matching the
graph pattern of the query.
RDF Term Constraints
Restricting the Values of Strings
SPARQL FILTER functions like regex can test RDF literals. regex
matches only plain literals with no language tag. regex can be used to
match the lexical forms of other literals by using the str function.
RDF Term Constraints
Restricting Numeric Values
Other Term Constraints
Reference
Pascal Hitzler, Markus Krotzsch, and Sebastian Rudolph (2010). Foundations of Semantic Web
Technologies. Taylor and Francis Group, ISBN-10: 142009050X, ISBN-13: 978-1420090505.

!
http://semwebtw.openfoundry.org/2010/Talks/0319-semweb-kennyluck/

!
http://www.linkeddatatools.com/downloads

!
http://viziquer.lumii.lv/

!
https://wiki.base22.com/display/btg/SPARQL+Query+Examples

!
http://en.wikipedia.org/wiki/GeoSPARQL

!
http://www.w3.org/DesignIssues/Semantic.html

!
http://openisdm.iis.sinica.edu.tw/index.php/resource-repository/general-data-processing/
documents/17-rdf

!
http://www.w3.org/TR/rdf-sparql-query/#sparqlSyntax
End

Contenu connexe

Tendances

Linked data 101: Getting Caught in the Semantic Web
Linked data 101: Getting Caught in the Semantic Web Linked data 101: Getting Caught in the Semantic Web
Linked data 101: Getting Caught in the Semantic Web Morgan Briles
 
Federated data stores using semantic web technology
Federated data stores using semantic web technologyFederated data stores using semantic web technology
Federated data stores using semantic web technologySteve Ray
 
How Much to Semanticize? Looking at the future of Library Data and the Semant...
How Much to Semanticize? Looking at the future of Library Data and the Semant...How Much to Semanticize? Looking at the future of Library Data and the Semant...
How Much to Semanticize? Looking at the future of Library Data and the Semant...Jenn Riley
 
Publishing and Using Linked Open Data - Day 4
Publishing and Using Linked Open Data - Day 4Publishing and Using Linked Open Data - Day 4
Publishing and Using Linked Open Data - Day 4Richard Urban
 
Analysing Structured Scholarly Data Embedded in Web Pages
Analysing Structured Scholarly Data Embedded in Web PagesAnalysing Structured Scholarly Data Embedded in Web Pages
Analysing Structured Scholarly Data Embedded in Web PagesUjwal Gadiraju
 
Semantic Cartography: Using ontologies to create adaptable tools for text exp...
Semantic Cartography: Using ontologies to create adaptable tools for text exp...Semantic Cartography: Using ontologies to create adaptable tools for text exp...
Semantic Cartography: Using ontologies to create adaptable tools for text exp...andyashton
 
VALA Tech Camp 2017: Intro to Wikidata & SPARQL
VALA Tech Camp 2017: Intro to Wikidata & SPARQLVALA Tech Camp 2017: Intro to Wikidata & SPARQL
VALA Tech Camp 2017: Intro to Wikidata & SPARQLJane Frazier
 
Statistics about Data Shape Use in RDF Data
Statistics about Data Shape Use in RDF DataStatistics about Data Shape Use in RDF Data
Statistics about Data Shape Use in RDF DataSven Lieber
 
Dealing with Open Domain Data
Dealing with Open Domain DataDealing with Open Domain Data
Dealing with Open Domain DataMathieu d'Aquin
 
Neno/Fhat: Semantic Network Programming Language and Virtual Machine Specific...
Neno/Fhat: Semantic Network Programming Language and Virtual Machine Specific...Neno/Fhat: Semantic Network Programming Language and Virtual Machine Specific...
Neno/Fhat: Semantic Network Programming Language and Virtual Machine Specific...Marko Rodriguez
 
Choices, modelling and Frankenstein Ontologies
Choices, modelling and Frankenstein OntologiesChoices, modelling and Frankenstein Ontologies
Choices, modelling and Frankenstein Ontologiesbenosteen
 
Knowledge Representation, Semantic Web
Knowledge Representation, Semantic WebKnowledge Representation, Semantic Web
Knowledge Representation, Semantic WebSerendipity Seraph
 

Tendances (19)

Linked data 101: Getting Caught in the Semantic Web
Linked data 101: Getting Caught in the Semantic Web Linked data 101: Getting Caught in the Semantic Web
Linked data 101: Getting Caught in the Semantic Web
 
Federated data stores using semantic web technology
Federated data stores using semantic web technologyFederated data stores using semantic web technology
Federated data stores using semantic web technology
 
How Much to Semanticize? Looking at the future of Library Data and the Semant...
How Much to Semanticize? Looking at the future of Library Data and the Semant...How Much to Semanticize? Looking at the future of Library Data and the Semant...
How Much to Semanticize? Looking at the future of Library Data and the Semant...
 
semantic web & natural language
semantic web & natural languagesemantic web & natural language
semantic web & natural language
 
Publishing and Using Linked Open Data - Day 4
Publishing and Using Linked Open Data - Day 4Publishing and Using Linked Open Data - Day 4
Publishing and Using Linked Open Data - Day 4
 
Analysing Structured Scholarly Data Embedded in Web Pages
Analysing Structured Scholarly Data Embedded in Web PagesAnalysing Structured Scholarly Data Embedded in Web Pages
Analysing Structured Scholarly Data Embedded in Web Pages
 
General Introduction for Semantic Web and Linked Open Data
General Introduction for Semantic Web and Linked Open DataGeneral Introduction for Semantic Web and Linked Open Data
General Introduction for Semantic Web and Linked Open Data
 
Introduction to RDF Data Model
Introduction to RDF Data ModelIntroduction to RDF Data Model
Introduction to RDF Data Model
 
Semantic Cartography: Using ontologies to create adaptable tools for text exp...
Semantic Cartography: Using ontologies to create adaptable tools for text exp...Semantic Cartography: Using ontologies to create adaptable tools for text exp...
Semantic Cartography: Using ontologies to create adaptable tools for text exp...
 
20140521 sem-tech-biz-guest-lecture
20140521 sem-tech-biz-guest-lecture20140521 sem-tech-biz-guest-lecture
20140521 sem-tech-biz-guest-lecture
 
VALA Tech Camp 2017: Intro to Wikidata & SPARQL
VALA Tech Camp 2017: Intro to Wikidata & SPARQLVALA Tech Camp 2017: Intro to Wikidata & SPARQL
VALA Tech Camp 2017: Intro to Wikidata & SPARQL
 
Statistics about Data Shape Use in RDF Data
Statistics about Data Shape Use in RDF DataStatistics about Data Shape Use in RDF Data
Statistics about Data Shape Use in RDF Data
 
Dealing with Open Domain Data
Dealing with Open Domain DataDealing with Open Domain Data
Dealing with Open Domain Data
 
Rdf
RdfRdf
Rdf
 
Neno/Fhat: Semantic Network Programming Language and Virtual Machine Specific...
Neno/Fhat: Semantic Network Programming Language and Virtual Machine Specific...Neno/Fhat: Semantic Network Programming Language and Virtual Machine Specific...
Neno/Fhat: Semantic Network Programming Language and Virtual Machine Specific...
 
Choices, modelling and Frankenstein Ontologies
Choices, modelling and Frankenstein OntologiesChoices, modelling and Frankenstein Ontologies
Choices, modelling and Frankenstein Ontologies
 
Knowledge Representation, Semantic Web
Knowledge Representation, Semantic WebKnowledge Representation, Semantic Web
Knowledge Representation, Semantic Web
 
RDF data model
RDF data modelRDF data model
RDF data model
 
DATA STRUCTURE
DATA STRUCTUREDATA STRUCTURE
DATA STRUCTURE
 

En vedette

Line presentation1
Line presentation1Line presentation1
Line presentation1rcompton1
 
Surrealist Project Presentation
Surrealist Project PresentationSurrealist Project Presentation
Surrealist Project Presentationrcompton1
 
Shape and form
Shape and formShape and form
Shape and formrcompton1
 
Chroma grid klee
Chroma grid kleeChroma grid klee
Chroma grid kleercompton1
 
Why the Sea is Salty
Why the Sea is SaltyWhy the Sea is Salty
Why the Sea is Saltyannetteblack
 
Typesofwhitecollarcrimes
TypesofwhitecollarcrimesTypesofwhitecollarcrimes
TypesofwhitecollarcrimesBillal Khan
 
Value Project Presentation
Value Project PresentationValue Project Presentation
Value Project Presentationrcompton1
 
Aonad 10 focail nua
Aonad 10 focail nuaAonad 10 focail nua
Aonad 10 focail nuaannetteblack
 
Казахстан FABERLIC 16 2015 ФАБЕРЛИК
Казахстан FABERLIC 16 2015 ФАБЕРЛИККазахстан FABERLIC 16 2015 ФАБЕРЛИК
Казахстан FABERLIC 16 2015 ФАБЕРЛИКsilvermlm
 
Art1 narr fig collage rev
Art1 narr fig collage revArt1 narr fig collage rev
Art1 narr fig collage revrcompton1
 
Visual art 1 lesson 2 h, ch, s lines
Visual art 1 lesson 2 h, ch, s linesVisual art 1 lesson 2 h, ch, s lines
Visual art 1 lesson 2 h, ch, s linesrcompton1
 
Contour line drawing warhol
Contour line drawing warholContour line drawing warhol
Contour line drawing warholrcompton1
 

En vedette (19)

Line presentation1
Line presentation1Line presentation1
Line presentation1
 
Examining the impact of rich media on consumer willingness to pay in online ...
Examining the impact of rich media  on consumer willingness to pay in online ...Examining the impact of rich media  on consumer willingness to pay in online ...
Examining the impact of rich media on consumer willingness to pay in online ...
 
No sql
No sqlNo sql
No sql
 
Rang 6
Rang 6Rang 6
Rang 6
 
Surrealist Project Presentation
Surrealist Project PresentationSurrealist Project Presentation
Surrealist Project Presentation
 
Shape and form
Shape and formShape and form
Shape and form
 
Chroma grid klee
Chroma grid kleeChroma grid klee
Chroma grid klee
 
Why the Sea is Salty
Why the Sea is SaltyWhy the Sea is Salty
Why the Sea is Salty
 
Android googlemapv2 keyApplicance
Android googlemapv2 keyApplicanceAndroid googlemapv2 keyApplicance
Android googlemapv2 keyApplicance
 
Typesofwhitecollarcrimes
TypesofwhitecollarcrimesTypesofwhitecollarcrimes
Typesofwhitecollarcrimes
 
Value Project Presentation
Value Project PresentationValue Project Presentation
Value Project Presentation
 
Ionic liquid-hysys
Ionic liquid-hysysIonic liquid-hysys
Ionic liquid-hysys
 
Aonad 10 focail nua
Aonad 10 focail nuaAonad 10 focail nua
Aonad 10 focail nua
 
Казахстан FABERLIC 16 2015 ФАБЕРЛИК
Казахстан FABERLIC 16 2015 ФАБЕРЛИККазахстан FABERLIC 16 2015 ФАБЕРЛИК
Казахстан FABERLIC 16 2015 ФАБЕРЛИК
 
Art1 narr fig collage rev
Art1 narr fig collage revArt1 narr fig collage rev
Art1 narr fig collage rev
 
Visual art 1 lesson 2 h, ch, s lines
Visual art 1 lesson 2 h, ch, s linesVisual art 1 lesson 2 h, ch, s lines
Visual art 1 lesson 2 h, ch, s lines
 
Greedy minimum spanning tree- prim's algorithm
Greedy minimum spanning tree- prim's algorithmGreedy minimum spanning tree- prim's algorithm
Greedy minimum spanning tree- prim's algorithm
 
Dynamic programming lcs
Dynamic programming lcsDynamic programming lcs
Dynamic programming lcs
 
Contour line drawing warhol
Contour line drawing warholContour line drawing warhol
Contour line drawing warhol
 

Similaire à Semantic web

CSHALS 2010 W3C Semanic Web Tutorial
CSHALS 2010 W3C Semanic Web TutorialCSHALS 2010 W3C Semanic Web Tutorial
CSHALS 2010 W3C Semanic Web TutorialLeeFeigenbaum
 
Semantic Technolgy
Semantic TechnolgySemantic Technolgy
Semantic TechnolgyTalat Fakhri
 
Web 3 Mark Greaves
Web 3 Mark GreavesWeb 3 Mark Greaves
Web 3 Mark GreavesMediabistro
 
RDF Seminar Presentation
RDF Seminar PresentationRDF Seminar Presentation
RDF Seminar PresentationMuntazir Mehdi
 
Mdst3705 2013-02-05-databases
Mdst3705 2013-02-05-databasesMdst3705 2013-02-05-databases
Mdst3705 2013-02-05-databasesRafael Alvarado
 
State of the Semantic Web
State of the Semantic WebState of the Semantic Web
State of the Semantic WebIvan Herman
 
Linked data HHS 2015
Linked data HHS 2015Linked data HHS 2015
Linked data HHS 2015Cason Snow
 
The Semantic Web in Digital Libraries: A Literature Review
The Semantic Web in Digital Libraries: A Literature ReviewThe Semantic Web in Digital Libraries: A Literature Review
The Semantic Web in Digital Libraries: A Literature Reviewsstose
 
Importing life science at a into Neo4j
Importing life science at a into Neo4jImporting life science at a into Neo4j
Importing life science at a into Neo4jSimon Jupp
 
Big Data e tecnologie semantiche - Utilizzare i Linked data come driver d'int...
Big Data e tecnologie semantiche - Utilizzare i Linked data come driver d'int...Big Data e tecnologie semantiche - Utilizzare i Linked data come driver d'int...
Big Data e tecnologie semantiche - Utilizzare i Linked data come driver d'int...giuseppe_futia
 
INSPIRE Hackathon Webinar Intro to Linked Data and Semantics
INSPIRE Hackathon Webinar   Intro to Linked Data and SemanticsINSPIRE Hackathon Webinar   Intro to Linked Data and Semantics
INSPIRE Hackathon Webinar Intro to Linked Data and Semanticsplan4all
 
One day workshop Linked Data and Semantic Web
One day workshop Linked Data and Semantic WebOne day workshop Linked Data and Semantic Web
One day workshop Linked Data and Semantic WebVictor de Boer
 
Building a semantic website
Building a semantic websiteBuilding a semantic website
Building a semantic websiteCJ Jenkins
 

Similaire à Semantic web (20)

Knowledge mangement
Knowledge mangementKnowledge mangement
Knowledge mangement
 
Semantic Web and Linked Open Data
Semantic Web and Linked Open DataSemantic Web and Linked Open Data
Semantic Web and Linked Open Data
 
CSHALS 2010 W3C Semanic Web Tutorial
CSHALS 2010 W3C Semanic Web TutorialCSHALS 2010 W3C Semanic Web Tutorial
CSHALS 2010 W3C Semanic Web Tutorial
 
Linked Open Data
Linked Open DataLinked Open Data
Linked Open Data
 
Semantic Technolgy
Semantic TechnolgySemantic Technolgy
Semantic Technolgy
 
Web 3 Mark Greaves
Web 3 Mark GreavesWeb 3 Mark Greaves
Web 3 Mark Greaves
 
RDF Seminar Presentation
RDF Seminar PresentationRDF Seminar Presentation
RDF Seminar Presentation
 
Mdst3705 2013-02-05-databases
Mdst3705 2013-02-05-databasesMdst3705 2013-02-05-databases
Mdst3705 2013-02-05-databases
 
State of the Semantic Web
State of the Semantic WebState of the Semantic Web
State of the Semantic Web
 
Linked data HHS 2015
Linked data HHS 2015Linked data HHS 2015
Linked data HHS 2015
 
Our World is Socio-technical
Our World is Socio-technicalOur World is Socio-technical
Our World is Socio-technical
 
Biodiversity Informatics on the Semantic Web
Biodiversity Informatics on the Semantic WebBiodiversity Informatics on the Semantic Web
Biodiversity Informatics on the Semantic Web
 
Irish Digital Libraries Summit
Irish Digital Libraries SummitIrish Digital Libraries Summit
Irish Digital Libraries Summit
 
The Semantic Web in Digital Libraries: A Literature Review
The Semantic Web in Digital Libraries: A Literature ReviewThe Semantic Web in Digital Libraries: A Literature Review
The Semantic Web in Digital Libraries: A Literature Review
 
Importing life science at a into Neo4j
Importing life science at a into Neo4jImporting life science at a into Neo4j
Importing life science at a into Neo4j
 
Semantic web
Semantic web Semantic web
Semantic web
 
Big Data e tecnologie semantiche - Utilizzare i Linked data come driver d'int...
Big Data e tecnologie semantiche - Utilizzare i Linked data come driver d'int...Big Data e tecnologie semantiche - Utilizzare i Linked data come driver d'int...
Big Data e tecnologie semantiche - Utilizzare i Linked data come driver d'int...
 
INSPIRE Hackathon Webinar Intro to Linked Data and Semantics
INSPIRE Hackathon Webinar   Intro to Linked Data and SemanticsINSPIRE Hackathon Webinar   Intro to Linked Data and Semantics
INSPIRE Hackathon Webinar Intro to Linked Data and Semantics
 
One day workshop Linked Data and Semantic Web
One day workshop Linked Data and Semantic WebOne day workshop Linked Data and Semantic Web
One day workshop Linked Data and Semantic Web
 
Building a semantic website
Building a semantic websiteBuilding a semantic website
Building a semantic website
 

Dernier

Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxMaryGraceBautista27
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)cama23
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptxiammrhaywood
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 

Dernier (20)

Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptx
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 

Semantic web

  • 1. SPARQL: Query Language for RDF 研究⽣生 鍾聖彥 指導⽼老師 許慶⽣生 教授
  • 2. Sir Tim Berners-Lee • Born 8 June 1955 • British computer scientist. • The inventor of the World Wide Web.(WWW) • The concept of the Semantic Web is the brainchild of the original creator of the WorldWide Web.(1998) • Web 3.0.
  • 3. This NeXT Computer was used by Berners-Lee at CERN and became the world's first web server
  • 4. Semantic Web An extension of the World Wide Web that allows computers to intelligently search, combine, and process Web content based on the meaning that this content has to humans.(Pascal Hitzler, Markus Krotzsch, and Sebastian Rudolph 2010). ! The idea behind the Semantic Web is 'to weave a Web that not only links documents to each other but also recognises the meaning of the information in those documents.' (Frauenfelder 2001); —Tim Berners-Lee, 2006
  • 5. 「…….,Web 2.0 and access to a semantic Web integrated across a huge space of data, you'll have access to an unbelievable data resource …」(Web 3.0) –Tim Berners-Lee, 2006
  • 7. RDF (Resource Description Framework) • Formal language for describing structured information. • The goal of RDF is to enable applications to exchange data on the Web while still preserving their original meaning. • RDF consequently is often viewed as the basic representation format for developing the Semantic Web. • Based on a very simple graph-oriented data schema. • A first official specification was published in 1999 by the W3c.
  • 9. RDF Description of a person named Eric Miller Whose name is Eric Miller, whose email address is em@w3.org, and whose title is Dr.
  • 10. RDF graph Therefore, the following "subject, predicate, object" RDF triples can be expressed: http://www.w3.org/People/EM/contact#me, http://www.w3.org/2000/10/swap/pim/contact#fullName, "Eric Miller" http://www.w3.org/People/EM/contact#me, http://www.w3.org/2000/10/swap/pim/contact#mailbox, em@w3.org http://www.w3.org/People/EM/contact#me, http://www.w3.org/2000/10/swap/pim/contact#personalTitle, "Dr." http://www.w3.org/People/EM/contact#me, http://www.w3.org/1999/02/22-rdf-syntax-ns#type, http://www.w3.org/ 2000/10/swap/pim/contact#Person
  • 12. What is SPARQL? • pronounced as sparkle • RDF query and inference languages • SQL-like language • Accordingly simple RDF graphs are used as fundamental query patterns. • One of the key technologies of the semantic web.! • Represented using Turtle (Terse RDF Triple Language) • SPARQL allows for a query to consist of triple patterns, conjunctions, disjunctions, and optional patterns
  • 17. What are all the country capitals in Africa?
  • 18. Writing a Simple Query NTriple寫法
  • 20. Multiple Matches The result of a query is a solution sequence, corresponding to the ways in which the query's graph pattern matches the data.
  • 21. Multiple Matches This is a basic graph pattern match; all the variables used in the query pattern must be bound in every solution.
  • 22. Matching RDF Literals Matching Literals with Language Tags Numeric Types Arbitrary Datatypes
  • 23. Matching Literals with Language Tags
  • 24. Matching Literals with Numeric Types Integers in a SPARQL query indicate an RDF typed literal with the datatype xsd:integer. For example: 42 is a shortened form of "42"^^<http://www.w3.org/2001/ XMLSchema#integer>. !
  • 25. Matching Literals with Arbitrary Datatypes
  • 26. Building RDF Graphs The SELECT query form returns variable bindings. The CONSTRUCT query form returns an RDF graph. The graph is built based on a template which is used to generate RDF triples based on the results of matching the graph pattern of the query.
  • 27.
  • 28. RDF Term Constraints Restricting the Values of Strings SPARQL FILTER functions like regex can test RDF literals. regex matches only plain literals with no language tag. regex can be used to match the lexical forms of other literals by using the str function.
  • 29.
  • 31.
  • 33. Reference Pascal Hitzler, Markus Krotzsch, and Sebastian Rudolph (2010). Foundations of Semantic Web Technologies. Taylor and Francis Group, ISBN-10: 142009050X, ISBN-13: 978-1420090505. ! http://semwebtw.openfoundry.org/2010/Talks/0319-semweb-kennyluck/ ! http://www.linkeddatatools.com/downloads ! http://viziquer.lumii.lv/ ! https://wiki.base22.com/display/btg/SPARQL+Query+Examples ! http://en.wikipedia.org/wiki/GeoSPARQL ! http://www.w3.org/DesignIssues/Semantic.html ! http://openisdm.iis.sinica.edu.tw/index.php/resource-repository/general-data-processing/ documents/17-rdf ! http://www.w3.org/TR/rdf-sparql-query/#sparqlSyntax
  • 34. End