SlideShare une entreprise Scribd logo
1  sur  31
Télécharger pour lire hors ligne
RDF Semantics
               by Patrick Hayes
             W3C Recommendation

        http://www.w3.org/TR/rdf-mt/

                 Presented by Jie Bao
                         RPI
                     Sept 4, 2008

           Part 1 of RDF/OWL Semantics Tutorial
http://tw.rpi.edu/wiki/index.php/RDF_and_OWL_Semantics
A Layer Cake of Languages

        OWL2
         OWL
     (RDFS 3.0)
                            You

        RDF(S)              Are
                            Here
Outline
•   What is Semantics?
•   RDF: Syntax
•   RDF Graph and Simple Entailment
•   RDF Interpretation
•   RDFS Interpretation
What is Semantics

              Semant          Inferen
Syntax                                        Logic
                ics              ce




Merriam-Webster: the study of meanings

Wikipedia: the study of meaning in communication.
What is Semantics?
• Intensional Meaning

  – TW Students are Students with affiliation to the
    Tetherless World Group


• Extensional Meaning

  – TW Students are the set {Jiao, Ankesh, Jesse,…}
Model Theory
                           Used to link intensional
                           meaning and extensional
                           meaning

                           “Model theory assumes that the
                           language refers to a 'world', and
Alfred Tarski              describes the minimal conditions that
1901-1983                  a world must satisfy in order to
Picure source: wikipedia
                           assign an appropriate meaning for
                           every expression in the language.”
                                                 --RDF Semantics
Model: an Example
Expression:
   TW Students are Students with affiliation to the
   Tetherless World Group

A Model:


                                                      …
A Few Jargons
                 • An interpretation is a world with each symbol and each
Interpretation     expression assigned an extension.


                 • An model of a logic theory is an interpretation of the
   Model           theory that satisfies all constraints specified by the theory


                 • A logic theory is consistent if it has a model.
 Consistency
                 • A symbol or expression x is satisfiable w.r.t. a logic theory
Satisfiability     K if there is a model of K with x’s extension not empty.


                 • A logic theory K entails another logical theory K’ if every
 Entailment        model of K is a model of K’
Outline
•   What is Semantics?
•   RDF: Syntax
•   RDF Graph and Simple Entailment
•   RDF Interpretation
•   RDFS Interpretation
RDF Family

  RDFS                 RDFS Interpretation
Vocabulary


   RDF
Vocabulary             RDF Interpretation



RDF Graph
                       Simple Interpretation

 Syntax                      Semantics
Not Covered in the Talk
•   Blank Node (b-Node)
•   Literals (Datatypes)
•   Containers
•   Collections
•   Reification
•   Annotation
•   Entailment rules (rule inference)
RDF: Triple and Graph
• Triple: (subject, property, object)
   –   UB × U × UBL (Url, Blank node, Literal)
   –   e.g., (Jim, is-a, Professor)
   –   e.g., (Jim, has-surname, “Hendler”) – not covered
   –   e.g.,(Jim, has-pet, _:x) – not covered

                               is-a
                                             Professor
                  Jim         has-surname    “Hendler”
                             has-pet

• Graph: A set of triples
Outline
•   What is Semantics?
•   RDF: Syntax
•   RDF Graph and Simple Entailment
•   RDF Interpretation
•   RDFS Interpretation
Simple Interpretation
A simple interpretation I of a vocabulary V is defined by:

1. A non-empty set IR of resources, called the domain or universe of I.
2. A set IP, called the set of properties of I.
3. A mapping IEXT from IP into the powerset of IR x IR i.e. the set of sets of
    pairs <x,y> with x and y in IR .
4. A mapping IS from URI references in V into (IR union IP)
5. A mapping IL from typed literals in V into IR.
6. A distinguished subset LV of IR, called the set of literal values, which
    contains all the plain literals in V

We do not consider RDF vocabulary (e.g., rdf:type), yet.
Simple Interpretation
V

    IS


          IP    IR



         IEXT
Simple Interpretation Example
               V={a, b, c}




          Picture courtesy of “RDF Semantics”(Figure 1)
Simple Semantic Conditions
• if E is a URI reference in V then I(E) = IS(E)
• if E is a ground triple s p o. then I(E) = true if s, p and o are in
  V, I(p) is in IP and <I(s),I(o)> is in IEXT(I(p)) otherwise I(E)=
  false.
• if E is a ground RDF graph then I(E) = false if I(E') = false for
  some triple E' in E, otherwise I(E) =true
• if E is a plain literal "aaa" in V then I(E) = aaa
• if E is a plain literal "aaa"@ttt in V then I(E) = <aaa, ttt>
• if E is a typed literal in V then I(E) = IL(E)
• If E is a blank node and A(E) is defined then [I+A](E) = A(E)
• If E is an RDF graph then I(E) = true if [I+A'](E) = true for some
  mapping A' from blank(E) to IR, otherwise I(E)= false
Note to Simple Interpreation
• IP may not be in IR

• A property (an element in IP) and its extension
  (mapping by IEXT) are separated.
  – Thus avoids paradox like the barber paradox                  (A
    barber shaves only those men who do not shave themselves.)
Outline
•   What is Semantics?
•   RDF: Syntax
•   RDF Graph and Simple Entailment
•   RDF Interpretation
•   RDFS Interpretation
RDF Vocabulary (rdfV)
• rdf:type rdf:Property
• rdf:XMLLiteral rdf:nil rdf:List rdf:Statement
  rdf:subject rdf:predicate rdf:object rdf:first
  rdf:rest rdf:Seq rdf:Bag rdf:Alt rdf:_1 rdf:_2 ...
  rdf:value
RDF Semantic Conditions
• x is in IP if and only if <x, I(rdf:Property)> is in
  IEXT(I(rdf:type))
   – Thus, RDF properties (IP) must be resources (IR) in
     the universe.
   – (rdf:type rdf:type rdf:Property ) is always true


• More conditions for literals
RDF Interpretation Example
         Vocabulary: rdfV + V={a,b,c}




       Picture courtesy of “RDF Semantics”(Figure 2)
Outline
•   What is Semantics?
•   RDF: Syntax
•   RDF Graph and Simple Entailment
•   RDF Interpretation
•   RDFS Interpretation
RDFS Vocabulary (rdfsV)
• rdfs:domain rdfs:range rdfs:Resource
• rdfs:Class rdfs:subClassOf rdfs:subPropertyOf
• rdfs:Literal rdfs:Datatype
• rdfs:member rdfs:Container
  rdfs:ContainerMembershipProperty
• rdfs:comment rdfs:seeAlso rdfs:isDefinedBy
  rdfs:label
RDFS Semantic Conditions
On classes
• x is in ICEXT(y) if and only if <x,y> is in IEXT(I(rdf:type))
    – IC = ICEXT(I(rdfs:Class))
    – IR = ICEXT(I(rdfs:Resource))
    – LV = ICEXT(I(rdfs:Literal))
• If x is in IC then <x, I(rdfs:Resource)> is in
  IEXT(I(rdfs:subClassOf))
• If <x,y> is in IEXT(I(rdfs:subClassOf)) then x and y are in IC and
  ICEXT(x) is a subset of ICEXT(y)
• IEXT(I(rdfs:subClassOf)) is transitive and reflexive on IC
RDFS Semantic Conditions
On properties
• If <x,y> is in IEXT(I(rdfs:domain)) and <u,v> is in
  IEXT(x) then u is in ICEXT(y)
• If <x,y> is in IEXT(I(rdfs:range)) and <u,v> is in IEXT(x)
  then v is in ICEXT(y)
• IEXT(I(rdfs:subPropertyOf)) is transitive and reflexive
  on IP
• If <x,y> is in IEXT(I(rdfs:subPropertyOf)) then x and y
  are in IP and IEXT(x) is a subset of IEXT(y)
More for container and literals
RDFS Axiomatic triples
Domains
• rdf:type rdfs:domain rdfs:Resource .
  rdfs:domain rdfs:domain rdf:Property .
  rdfs:range rdfs:domain rdf:Property .
  rdfs:subPropertyOf rdfs:domain rdf:Property .
  rdfs:subClassOf rdfs:domain rdfs:Class .
RDFS Axiomatic triples
Ranges
• rdf:type rdfs:range rdfs:Class .
  rdfs:domain rdfs:range rdfs:Class .
  rdfs:range rdfs:range rdfs:Class .
  rdfs:subPropertyOf rdfs:range rdf:Property .
  rdfs:subClassOf rdfs:range rdfs:Class .

More for container, reification, literal, and
 annotation…
RDFS-Valid Triples
•   rdfs:Resource rdf:type rdfs:Class .
•   rdfs:Class rdf:type rdfs:Class .
•   rdf:Property rdf:type rdfs:Class .
•   rdfs:domain rdf:type rdf:Property .
    rdfs:range rdf:type rdf:Property .
    rdfs:subPropertyOf rdf:type rdf:Property .
    rdfs:subClassOf rdf:type rdf:Property.
Conclusions
• Model Theory gives semantics to RDF(S)
• RDF and RDFS vocabularies pose semantic
  constraints on interpretations
  – RDF: type, Property
  – RDFS: domain, range, Resource, Class, subClassOf
    subPropertyOf
• Will see OWL 1 and OWL 2 extensions to
  RDF(S) in the future
More on RDF Semantics
• Herman J. ter Horst - Completeness, decidability and
  complexity of entailment for RDF Schema and a
  semantic extension involving the OWL vocabulary. In
  J. Web Sem. 3(2-3):79-115, 2005.
• Jos de Bruijn, Stijn Heymans - Logical Foundations of
  (e)RDF(S): Complexity and Reasoning. In ISWC/ASWC
  pp. 86-99, 2007.
• Jeff Z. Pan, Ian Horrocks - RDFS(FA) and RDF MT: Two
  Semantics for RDFS. In International Semantic Web
  Conference pp. 30-46, 2003.

Contenu connexe

Tendances

EDF2012 Irini Fundulaki - Abstract Access Control Models for Dynamic RDF Da...
EDF2012   Irini Fundulaki - Abstract Access Control Models for Dynamic RDF Da...EDF2012   Irini Fundulaki - Abstract Access Control Models for Dynamic RDF Da...
EDF2012 Irini Fundulaki - Abstract Access Control Models for Dynamic RDF Da...
European Data Forum
 
Abstract Access Control Model for Dynamic RDF Datasets
Abstract Access Control Model for Dynamic RDF DatasetsAbstract Access Control Model for Dynamic RDF Datasets
Abstract Access Control Model for Dynamic RDF Datasets
PlanetData Network of Excellence
 
OWL: Yet to arrive on the Web of Data?
OWL: Yet to arrive on the Web of Data?OWL: Yet to arrive on the Web of Data?
OWL: Yet to arrive on the Web of Data?
Aidan Hogan
 
Sparq lreference 1.8-us
Sparq lreference 1.8-usSparq lreference 1.8-us
Sparq lreference 1.8-us
Ajay Ohri
 
A Semantic Importing Approach to Knowledge Reuse from Multiple Ontologies
A Semantic Importing Approach to Knowledge Reuse from Multiple OntologiesA Semantic Importing Approach to Knowledge Reuse from Multiple Ontologies
A Semantic Importing Approach to Knowledge Reuse from Multiple Ontologies
Jie Bao
 

Tendances (19)

Neural Architectures for Named Entity Recognition
Neural Architectures for Named Entity RecognitionNeural Architectures for Named Entity Recognition
Neural Architectures for Named Entity Recognition
 
sw owl
 sw owl sw owl
sw owl
 
Introduction to RDF
Introduction to RDFIntroduction to RDF
Introduction to RDF
 
2015.09. - The Role of Reasoning for RDF Validation (SEMANTiCS 2015)
2015.09. - The Role of Reasoning for RDF Validation (SEMANTiCS 2015)2015.09. - The Role of Reasoning for RDF Validation (SEMANTiCS 2015)
2015.09. - The Role of Reasoning for RDF Validation (SEMANTiCS 2015)
 
EDF2012 Irini Fundulaki - Abstract Access Control Models for Dynamic RDF Da...
EDF2012   Irini Fundulaki - Abstract Access Control Models for Dynamic RDF Da...EDF2012   Irini Fundulaki - Abstract Access Control Models for Dynamic RDF Da...
EDF2012 Irini Fundulaki - Abstract Access Control Models for Dynamic RDF Da...
 
Semantic Web: From Representations to Applications
Semantic Web: From Representations to ApplicationsSemantic Web: From Representations to Applications
Semantic Web: From Representations to Applications
 
SPIN in Five Slides
SPIN in Five SlidesSPIN in Five Slides
SPIN in Five Slides
 
Abstract Access Control Model for Dynamic RDF Datasets
Abstract Access Control Model for Dynamic RDF DatasetsAbstract Access Control Model for Dynamic RDF Datasets
Abstract Access Control Model for Dynamic RDF Datasets
 
NAMED ENTITY RECOGNITION
NAMED ENTITY RECOGNITIONNAMED ENTITY RECOGNITION
NAMED ENTITY RECOGNITION
 
OWL: Yet to arrive on the Web of Data?
OWL: Yet to arrive on the Web of Data?OWL: Yet to arrive on the Web of Data?
OWL: Yet to arrive on the Web of Data?
 
NdFluents: An Ontology for Annotated Statements with Inference Preservation
NdFluents: An Ontology for Annotated Statements with Inference PreservationNdFluents: An Ontology for Annotated Statements with Inference Preservation
NdFluents: An Ontology for Annotated Statements with Inference Preservation
 
Sparq lreference 1.8-us
Sparq lreference 1.8-usSparq lreference 1.8-us
Sparq lreference 1.8-us
 
Semantic Web - Ontology 101
Semantic Web - Ontology 101Semantic Web - Ontology 101
Semantic Web - Ontology 101
 
RDF Constraint Checking using RDF Data Descriptions (RDD)
RDF Constraint Checking using RDF Data Descriptions (RDD)RDF Constraint Checking using RDF Data Descriptions (RDD)
RDF Constraint Checking using RDF Data Descriptions (RDD)
 
A Semantic Importing Approach to Knowledge Reuse from Multiple Ontologies
A Semantic Importing Approach to Knowledge Reuse from Multiple OntologiesA Semantic Importing Approach to Knowledge Reuse from Multiple Ontologies
A Semantic Importing Approach to Knowledge Reuse from Multiple Ontologies
 
Procrastinators CS340
Procrastinators CS340Procrastinators CS340
Procrastinators CS340
 
ShEx by Example
ShEx by ExampleShEx by Example
ShEx by Example
 
Tutorial OWL and drug discovery ICBO 2013
Tutorial OWL and drug discovery ICBO 2013Tutorial OWL and drug discovery ICBO 2013
Tutorial OWL and drug discovery ICBO 2013
 
Jpl presentation
Jpl presentationJpl presentation
Jpl presentation
 

En vedette

コンセプトアイデア 1
コンセプトアイデア 1コンセプトアイデア 1
コンセプトアイデア 1
Jun Saeki
 
オープンデータとLinked Open Data@筑波大学研究談話会(2013.12.18)
オープンデータとLinked Open Data@筑波大学研究談話会(2013.12.18)オープンデータとLinked Open Data@筑波大学研究談話会(2013.12.18)
オープンデータとLinked Open Data@筑波大学研究談話会(2013.12.18)
Ikki Ohmukai
 
python-graph-lovestory
python-graph-lovestorypython-graph-lovestory
python-graph-lovestory
Jie Bao
 
オープンソースを用いたドローンの自律制御ソフトウェア技術
オープンソースを用いたドローンの自律制御ソフトウェア技術オープンソースを用いたドローンの自律制御ソフトウェア技術
オープンソースを用いたドローンの自律制御ソフトウェア技術
Masayuki Isobe
 

En vedette (20)

コンセプトアイデア 1
コンセプトアイデア 1コンセプトアイデア 1
コンセプトアイデア 1
 
読解支援@2015 08-10-1
読解支援@2015 08-10-1読解支援@2015 08-10-1
読解支援@2015 08-10-1
 
Semantic Versioning
Semantic VersioningSemantic Versioning
Semantic Versioning
 
セマンティックWebとオントロジー:現状と将来展望
セマンティックWebとオントロジー:現状と将来展望 セマンティックWebとオントロジー:現状と将来展望
セマンティックWebとオントロジー:現状と将来展望
 
OWLで何が言えるか
OWLで何が言えるかOWLで何が言えるか
OWLで何が言えるか
 
SnapKit
SnapKitSnapKit
SnapKit
 
オープンデータとLinked Open Data@筑波大学研究談話会(2013.12.18)
オープンデータとLinked Open Data@筑波大学研究談話会(2013.12.18)オープンデータとLinked Open Data@筑波大学研究談話会(2013.12.18)
オープンデータとLinked Open Data@筑波大学研究談話会(2013.12.18)
 
パターン認識にとっかかる
パターン認識にとっかかるパターン認識にとっかかる
パターン認識にとっかかる
 
セマンティック・ウェブのためのRdf owl入門解説.ch5
セマンティック・ウェブのためのRdf owl入門解説.ch5セマンティック・ウェブのためのRdf owl入門解説.ch5
セマンティック・ウェブのためのRdf owl入門解説.ch5
 
python-graph-lovestory
python-graph-lovestorypython-graph-lovestory
python-graph-lovestory
 
Semantic Web Technologies -metadata, ontology, logic, agent-
Semantic Web Technologies -metadata, ontology, logic, agent-Semantic Web Technologies -metadata, ontology, logic, agent-
Semantic Web Technologies -metadata, ontology, logic, agent-
 
OWLで何が書けるか
OWLで何が書けるかOWLで何が書けるか
OWLで何が書けるか
 
トーナメントは運か実力か
トーナメントは運か実力かトーナメントは運か実力か
トーナメントは運か実力か
 
オントロジー工学に基づく 知識の体系化と利用
オントロジー工学に基づく知識の体系化と利用オントロジー工学に基づく知識の体系化と利用
オントロジー工学に基づく 知識の体系化と利用
 
RDF/OWLの概要及びOSS実装、及び活用イメージについて
RDF/OWLの概要及びOSS実装、及び活用イメージについてRDF/OWLの概要及びOSS実装、及び活用イメージについて
RDF/OWLの概要及びOSS実装、及び活用イメージについて
 
セマンティック・ウェブのためのRdf owl入門1&2章
セマンティック・ウェブのためのRdf owl入門1&2章セマンティック・ウェブのためのRdf owl入門1&2章
セマンティック・ウェブのためのRdf owl入門1&2章
 
ビジネスで使えるオープンデータの技術@ビジネス活用のためのオープンデータセミナー(2016.01.22)
ビジネスで使えるオープンデータの技術@ビジネス活用のためのオープンデータセミナー(2016.01.22)ビジネスで使えるオープンデータの技術@ビジネス活用のためのオープンデータセミナー(2016.01.22)
ビジネスで使えるオープンデータの技術@ビジネス活用のためのオープンデータセミナー(2016.01.22)
 
RDF Semantic Graph「RDF 超入門」
RDF Semantic Graph「RDF 超入門」RDF Semantic Graph「RDF 超入門」
RDF Semantic Graph「RDF 超入門」
 
オープンソースを用いたドローンの自律制御ソフトウェア技術
オープンソースを用いたドローンの自律制御ソフトウェア技術オープンソースを用いたドローンの自律制御ソフトウェア技術
オープンソースを用いたドローンの自律制御ソフトウェア技術
 
Towards Knowledge-Enabled Society
Towards Knowledge-Enabled SocietyTowards Knowledge-Enabled Society
Towards Knowledge-Enabled Society
 

Similaire à RDF Semantics

Efficient Query Answering against Dynamic RDF Databases
Efficient Query Answering against Dynamic RDF DatabasesEfficient Query Answering against Dynamic RDF Databases
Efficient Query Answering against Dynamic RDF Databases
Alexandra Roatiș
 
Knowledge Representation, Semantic Web
Knowledge Representation, Semantic WebKnowledge Representation, Semantic Web
Knowledge Representation, Semantic Web
Serendipity Seraph
 
KIT Graduiertenkolloquium 11.05.2016
KIT Graduiertenkolloquium 11.05.2016KIT Graduiertenkolloquium 11.05.2016
KIT Graduiertenkolloquium 11.05.2016
Dr.-Ing. Thomas Hartmann
 

Similaire à RDF Semantics (20)

The Semantic Web #7 - RDF Semantics
The Semantic Web #7 - RDF SemanticsThe Semantic Web #7 - RDF Semantics
The Semantic Web #7 - RDF Semantics
 
RDF briefing
RDF briefingRDF briefing
RDF briefing
 
BT02.pptx
BT02.pptxBT02.pptx
BT02.pptx
 
Semantic web Technology
Semantic web TechnologySemantic web Technology
Semantic web Technology
 
Semantic web
Semantic webSemantic web
Semantic web
 
DLF 2015 Presentation, "RDF in the Real World."
DLF 2015 Presentation, "RDF in the Real World." DLF 2015 Presentation, "RDF in the Real World."
DLF 2015 Presentation, "RDF in the Real World."
 
Introduction To RDF and RDFS
Introduction To RDF and RDFSIntroduction To RDF and RDFS
Introduction To RDF and RDFS
 
Knowledge mangement
Knowledge mangementKnowledge mangement
Knowledge mangement
 
SWT Lecture Session 5 - RDFS
SWT Lecture Session 5 - RDFSSWT Lecture Session 5 - RDFS
SWT Lecture Session 5 - RDFS
 
5 rdfs
5 rdfs5 rdfs
5 rdfs
 
Introduction to RDF
Introduction to RDFIntroduction to RDF
Introduction to RDF
 
Linked (Open) Data
Linked (Open) DataLinked (Open) Data
Linked (Open) Data
 
A Semantic Multimedia Web (Part 2)
A Semantic Multimedia Web (Part 2)A Semantic Multimedia Web (Part 2)
A Semantic Multimedia Web (Part 2)
 
Efficient Query Answering against Dynamic RDF Databases
Efficient Query Answering against Dynamic RDF DatabasesEfficient Query Answering against Dynamic RDF Databases
Efficient Query Answering against Dynamic RDF Databases
 
Knowledge Representation, Semantic Web
Knowledge Representation, Semantic WebKnowledge Representation, Semantic Web
Knowledge Representation, Semantic Web
 
The Web Ontology Language
The Web Ontology LanguageThe Web Ontology Language
The Web Ontology Language
 
Resource description framework
Resource description frameworkResource description framework
Resource description framework
 
Semantic web
Semantic webSemantic web
Semantic web
 
KIT Graduiertenkolloquium 11.05.2016
KIT Graduiertenkolloquium 11.05.2016KIT Graduiertenkolloquium 11.05.2016
KIT Graduiertenkolloquium 11.05.2016
 
Bio ontologies and semantic technologies
Bio ontologies and semantic technologiesBio ontologies and semantic technologies
Bio ontologies and semantic technologies
 

Plus de Jie Bao

unix toolbox 中文版
unix toolbox 中文版unix toolbox 中文版
unix toolbox 中文版
Jie Bao
 
unixtoolbox.book
unixtoolbox.bookunixtoolbox.book
unixtoolbox.book
Jie Bao
 
Towards social webtops using semantic wiki
Towards social webtops using semantic wikiTowards social webtops using semantic wiki
Towards social webtops using semantic wiki
Jie Bao
 
Semantic information theory in 20 minutes
Semantic information theory in 20 minutesSemantic information theory in 20 minutes
Semantic information theory in 20 minutes
Jie Bao
 
Towards a theory of semantic communication
Towards a theory of semantic communicationTowards a theory of semantic communication
Towards a theory of semantic communication
Jie Bao
 
Startup best practices
Startup best practicesStartup best practices
Startup best practices
Jie Bao
 
Owl 2 quick reference card a4 size
Owl 2 quick reference card a4 sizeOwl 2 quick reference card a4 size
Owl 2 quick reference card a4 size
Jie Bao
 
ISWC 2010 Metadata Work Summary
ISWC 2010 Metadata Work SummaryISWC 2010 Metadata Work Summary
ISWC 2010 Metadata Work Summary
Jie Bao
 
Expressive Query Answering For Semantic Wikis
Expressive Query Answering For  Semantic WikisExpressive Query Answering For  Semantic Wikis
Expressive Query Answering For Semantic Wikis
Jie Bao
 
24 Ways to Explore ISWC 2010 Data
24 Ways to Explore ISWC 2010 Data24 Ways to Explore ISWC 2010 Data
24 Ways to Explore ISWC 2010 Data
Jie Bao
 
Semantic Web: In Quest for the Next Generation Killer Apps
Semantic Web: In Quest for the Next Generation Killer AppsSemantic Web: In Quest for the Next Generation Killer Apps
Semantic Web: In Quest for the Next Generation Killer Apps
Jie Bao
 
Development of a Controlled Natural Language Interface for Semantic MediaWiki
Development of a Controlled Natural Language Interface for Semantic MediaWikiDevelopment of a Controlled Natural Language Interface for Semantic MediaWiki
Development of a Controlled Natural Language Interface for Semantic MediaWiki
Jie Bao
 
Digital image self-adaptive acquisition in medical x-ray imaging
Digital image self-adaptive acquisition in medical x-ray imagingDigital image self-adaptive acquisition in medical x-ray imaging
Digital image self-adaptive acquisition in medical x-ray imaging
Jie Bao
 
Privacy-Preserving Reasoning on the Semantic Web (Poster)
Privacy-Preserving Reasoning on the Semantic Web (Poster)Privacy-Preserving Reasoning on the Semantic Web (Poster)
Privacy-Preserving Reasoning on the Semantic Web (Poster)
Jie Bao
 
Privacy-Preserving Reasoning on the Semantic Web
Privacy-Preserving Reasoning on the Semantic WebPrivacy-Preserving Reasoning on the Semantic Web
Privacy-Preserving Reasoning on the Semantic Web
Jie Bao
 

Plus de Jie Bao (20)

unix toolbox 中文版
unix toolbox 中文版unix toolbox 中文版
unix toolbox 中文版
 
unixtoolbox.book
unixtoolbox.bookunixtoolbox.book
unixtoolbox.book
 
Lean startup 精益创业 新创企业的成长思维
Lean startup 精益创业 新创企业的成长思维Lean startup 精益创业 新创企业的成长思维
Lean startup 精益创业 新创企业的成长思维
 
Towards social webtops using semantic wiki
Towards social webtops using semantic wikiTowards social webtops using semantic wiki
Towards social webtops using semantic wiki
 
Semantic information theory in 20 minutes
Semantic information theory in 20 minutesSemantic information theory in 20 minutes
Semantic information theory in 20 minutes
 
Towards a theory of semantic communication
Towards a theory of semantic communicationTowards a theory of semantic communication
Towards a theory of semantic communication
 
Expressive Query Answering For Semantic Wikis (20min)
Expressive Query Answering For  Semantic Wikis (20min)Expressive Query Answering For  Semantic Wikis (20min)
Expressive Query Answering For Semantic Wikis (20min)
 
Startup best practices
Startup best practicesStartup best practices
Startup best practices
 
Owl 2 quick reference card a4 size
Owl 2 quick reference card a4 sizeOwl 2 quick reference card a4 size
Owl 2 quick reference card a4 size
 
ISWC 2010 Metadata Work Summary
ISWC 2010 Metadata Work SummaryISWC 2010 Metadata Work Summary
ISWC 2010 Metadata Work Summary
 
Expressive Query Answering For Semantic Wikis
Expressive Query Answering For  Semantic WikisExpressive Query Answering For  Semantic Wikis
Expressive Query Answering For Semantic Wikis
 
CV
CVCV
CV
 
24 Ways to Explore ISWC 2010 Data
24 Ways to Explore ISWC 2010 Data24 Ways to Explore ISWC 2010 Data
24 Ways to Explore ISWC 2010 Data
 
Semantic Web: In Quest for the Next Generation Killer Apps
Semantic Web: In Quest for the Next Generation Killer AppsSemantic Web: In Quest for the Next Generation Killer Apps
Semantic Web: In Quest for the Next Generation Killer Apps
 
Representing financial reports on the semantic web a faithful translation f...
Representing financial reports on the semantic web   a faithful translation f...Representing financial reports on the semantic web   a faithful translation f...
Representing financial reports on the semantic web a faithful translation f...
 
XACML 3.0 (Partial) Concept Map
XACML 3.0 (Partial) Concept MapXACML 3.0 (Partial) Concept Map
XACML 3.0 (Partial) Concept Map
 
Development of a Controlled Natural Language Interface for Semantic MediaWiki
Development of a Controlled Natural Language Interface for Semantic MediaWikiDevelopment of a Controlled Natural Language Interface for Semantic MediaWiki
Development of a Controlled Natural Language Interface for Semantic MediaWiki
 
Digital image self-adaptive acquisition in medical x-ray imaging
Digital image self-adaptive acquisition in medical x-ray imagingDigital image self-adaptive acquisition in medical x-ray imaging
Digital image self-adaptive acquisition in medical x-ray imaging
 
Privacy-Preserving Reasoning on the Semantic Web (Poster)
Privacy-Preserving Reasoning on the Semantic Web (Poster)Privacy-Preserving Reasoning on the Semantic Web (Poster)
Privacy-Preserving Reasoning on the Semantic Web (Poster)
 
Privacy-Preserving Reasoning on the Semantic Web
Privacy-Preserving Reasoning on the Semantic WebPrivacy-Preserving Reasoning on the Semantic Web
Privacy-Preserving Reasoning on the Semantic Web
 

Dernier

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 

Dernier (20)

Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 

RDF Semantics

  • 1. RDF Semantics by Patrick Hayes W3C Recommendation http://www.w3.org/TR/rdf-mt/ Presented by Jie Bao RPI Sept 4, 2008 Part 1 of RDF/OWL Semantics Tutorial http://tw.rpi.edu/wiki/index.php/RDF_and_OWL_Semantics
  • 2. A Layer Cake of Languages OWL2 OWL (RDFS 3.0) You RDF(S) Are Here
  • 3. Outline • What is Semantics? • RDF: Syntax • RDF Graph and Simple Entailment • RDF Interpretation • RDFS Interpretation
  • 4. What is Semantics Semant Inferen Syntax Logic ics ce Merriam-Webster: the study of meanings Wikipedia: the study of meaning in communication.
  • 5. What is Semantics? • Intensional Meaning – TW Students are Students with affiliation to the Tetherless World Group • Extensional Meaning – TW Students are the set {Jiao, Ankesh, Jesse,…}
  • 6. Model Theory Used to link intensional meaning and extensional meaning “Model theory assumes that the language refers to a 'world', and Alfred Tarski describes the minimal conditions that 1901-1983 a world must satisfy in order to Picure source: wikipedia assign an appropriate meaning for every expression in the language.” --RDF Semantics
  • 7. Model: an Example Expression: TW Students are Students with affiliation to the Tetherless World Group A Model: …
  • 8. A Few Jargons • An interpretation is a world with each symbol and each Interpretation expression assigned an extension. • An model of a logic theory is an interpretation of the Model theory that satisfies all constraints specified by the theory • A logic theory is consistent if it has a model. Consistency • A symbol or expression x is satisfiable w.r.t. a logic theory Satisfiability K if there is a model of K with x’s extension not empty. • A logic theory K entails another logical theory K’ if every Entailment model of K is a model of K’
  • 9. Outline • What is Semantics? • RDF: Syntax • RDF Graph and Simple Entailment • RDF Interpretation • RDFS Interpretation
  • 10. RDF Family RDFS RDFS Interpretation Vocabulary RDF Vocabulary RDF Interpretation RDF Graph Simple Interpretation Syntax Semantics
  • 11. Not Covered in the Talk • Blank Node (b-Node) • Literals (Datatypes) • Containers • Collections • Reification • Annotation • Entailment rules (rule inference)
  • 12. RDF: Triple and Graph • Triple: (subject, property, object) – UB × U × UBL (Url, Blank node, Literal) – e.g., (Jim, is-a, Professor) – e.g., (Jim, has-surname, “Hendler”) – not covered – e.g.,(Jim, has-pet, _:x) – not covered is-a Professor Jim has-surname “Hendler” has-pet • Graph: A set of triples
  • 13. Outline • What is Semantics? • RDF: Syntax • RDF Graph and Simple Entailment • RDF Interpretation • RDFS Interpretation
  • 14. Simple Interpretation A simple interpretation I of a vocabulary V is defined by: 1. A non-empty set IR of resources, called the domain or universe of I. 2. A set IP, called the set of properties of I. 3. A mapping IEXT from IP into the powerset of IR x IR i.e. the set of sets of pairs <x,y> with x and y in IR . 4. A mapping IS from URI references in V into (IR union IP) 5. A mapping IL from typed literals in V into IR. 6. A distinguished subset LV of IR, called the set of literal values, which contains all the plain literals in V We do not consider RDF vocabulary (e.g., rdf:type), yet.
  • 15. Simple Interpretation V IS IP IR IEXT
  • 16. Simple Interpretation Example V={a, b, c} Picture courtesy of “RDF Semantics”(Figure 1)
  • 17. Simple Semantic Conditions • if E is a URI reference in V then I(E) = IS(E) • if E is a ground triple s p o. then I(E) = true if s, p and o are in V, I(p) is in IP and <I(s),I(o)> is in IEXT(I(p)) otherwise I(E)= false. • if E is a ground RDF graph then I(E) = false if I(E') = false for some triple E' in E, otherwise I(E) =true • if E is a plain literal "aaa" in V then I(E) = aaa • if E is a plain literal "aaa"@ttt in V then I(E) = <aaa, ttt> • if E is a typed literal in V then I(E) = IL(E) • If E is a blank node and A(E) is defined then [I+A](E) = A(E) • If E is an RDF graph then I(E) = true if [I+A'](E) = true for some mapping A' from blank(E) to IR, otherwise I(E)= false
  • 18. Note to Simple Interpreation • IP may not be in IR • A property (an element in IP) and its extension (mapping by IEXT) are separated. – Thus avoids paradox like the barber paradox (A barber shaves only those men who do not shave themselves.)
  • 19. Outline • What is Semantics? • RDF: Syntax • RDF Graph and Simple Entailment • RDF Interpretation • RDFS Interpretation
  • 20. RDF Vocabulary (rdfV) • rdf:type rdf:Property • rdf:XMLLiteral rdf:nil rdf:List rdf:Statement rdf:subject rdf:predicate rdf:object rdf:first rdf:rest rdf:Seq rdf:Bag rdf:Alt rdf:_1 rdf:_2 ... rdf:value
  • 21. RDF Semantic Conditions • x is in IP if and only if <x, I(rdf:Property)> is in IEXT(I(rdf:type)) – Thus, RDF properties (IP) must be resources (IR) in the universe. – (rdf:type rdf:type rdf:Property ) is always true • More conditions for literals
  • 22. RDF Interpretation Example Vocabulary: rdfV + V={a,b,c} Picture courtesy of “RDF Semantics”(Figure 2)
  • 23. Outline • What is Semantics? • RDF: Syntax • RDF Graph and Simple Entailment • RDF Interpretation • RDFS Interpretation
  • 24. RDFS Vocabulary (rdfsV) • rdfs:domain rdfs:range rdfs:Resource • rdfs:Class rdfs:subClassOf rdfs:subPropertyOf • rdfs:Literal rdfs:Datatype • rdfs:member rdfs:Container rdfs:ContainerMembershipProperty • rdfs:comment rdfs:seeAlso rdfs:isDefinedBy rdfs:label
  • 25. RDFS Semantic Conditions On classes • x is in ICEXT(y) if and only if <x,y> is in IEXT(I(rdf:type)) – IC = ICEXT(I(rdfs:Class)) – IR = ICEXT(I(rdfs:Resource)) – LV = ICEXT(I(rdfs:Literal)) • If x is in IC then <x, I(rdfs:Resource)> is in IEXT(I(rdfs:subClassOf)) • If <x,y> is in IEXT(I(rdfs:subClassOf)) then x and y are in IC and ICEXT(x) is a subset of ICEXT(y) • IEXT(I(rdfs:subClassOf)) is transitive and reflexive on IC
  • 26. RDFS Semantic Conditions On properties • If <x,y> is in IEXT(I(rdfs:domain)) and <u,v> is in IEXT(x) then u is in ICEXT(y) • If <x,y> is in IEXT(I(rdfs:range)) and <u,v> is in IEXT(x) then v is in ICEXT(y) • IEXT(I(rdfs:subPropertyOf)) is transitive and reflexive on IP • If <x,y> is in IEXT(I(rdfs:subPropertyOf)) then x and y are in IP and IEXT(x) is a subset of IEXT(y) More for container and literals
  • 27. RDFS Axiomatic triples Domains • rdf:type rdfs:domain rdfs:Resource . rdfs:domain rdfs:domain rdf:Property . rdfs:range rdfs:domain rdf:Property . rdfs:subPropertyOf rdfs:domain rdf:Property . rdfs:subClassOf rdfs:domain rdfs:Class .
  • 28. RDFS Axiomatic triples Ranges • rdf:type rdfs:range rdfs:Class . rdfs:domain rdfs:range rdfs:Class . rdfs:range rdfs:range rdfs:Class . rdfs:subPropertyOf rdfs:range rdf:Property . rdfs:subClassOf rdfs:range rdfs:Class . More for container, reification, literal, and annotation…
  • 29. RDFS-Valid Triples • rdfs:Resource rdf:type rdfs:Class . • rdfs:Class rdf:type rdfs:Class . • rdf:Property rdf:type rdfs:Class . • rdfs:domain rdf:type rdf:Property . rdfs:range rdf:type rdf:Property . rdfs:subPropertyOf rdf:type rdf:Property . rdfs:subClassOf rdf:type rdf:Property.
  • 30. Conclusions • Model Theory gives semantics to RDF(S) • RDF and RDFS vocabularies pose semantic constraints on interpretations – RDF: type, Property – RDFS: domain, range, Resource, Class, subClassOf subPropertyOf • Will see OWL 1 and OWL 2 extensions to RDF(S) in the future
  • 31. More on RDF Semantics • Herman J. ter Horst - Completeness, decidability and complexity of entailment for RDF Schema and a semantic extension involving the OWL vocabulary. In J. Web Sem. 3(2-3):79-115, 2005. • Jos de Bruijn, Stijn Heymans - Logical Foundations of (e)RDF(S): Complexity and Reasoning. In ISWC/ASWC pp. 86-99, 2007. • Jeff Z. Pan, Ian Horrocks - RDFS(FA) and RDF MT: Two Semantics for RDFS. In International Semantic Web Conference pp. 30-46, 2003.