SlideShare une entreprise Scribd logo
1  sur  18
Linked Data &
Semantic Web
Technology




                The Semantic Web
 Part 6. RDF Vocabularies: RDF Schema


                    Dr. Myungjin Lee
Ability to Define the Vocabularies

                        This is a property, and it indicates person’s name.



           <?xml version="1.0"?>
           <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
                    xmlns:s="http://example.org/person/vocab#">

                 <rdf:Description rdf:about="http://example.org/person/mjlee">
                    <s:name>Myungjin Lee</s:name>
                 </rdf:Description>

                 <rdf:Description rdf:about="http://example.org/person/john">     These resources are person.
                    <s:name>John Mayer</s:name>
                 </rdf:Description>

                 <rdf:Description rdf:about="http://example.org/person/berners-lee">
                    <s:name>Tim Berners-Lee</s:name>
                 </rdf:Description>

           </rdf:RDF>




                                                                                                                2
Linked Data & Semantic Web Technology
RDF Vocabularies: RDF Schema
      • RDF Schema
                – a set of classes with certain properties using the RDF extensible
                  knowledge representation language
                – providing basic elements for the description of ontologies
                          • The resources in the RDF Schema vocabulary have URIrefs with the prefix
                            http://www.w3.org/2000/01/rdf-schema# (conventionally
                            associated with the QName prefix rdfs:).
                – W3C Recommendation 10 February 2004


      • RDF Schema allows:
                – definition of classes and class instantiation
                – definition of properties and simple restrictions
                – definition of hierarchies of classes and properties



                                                                                                      3
Linked Data & Semantic Web Technology
Describing Classes
      • Class
                – "kinds of things“, the generic concept of a Type or Category


      • Vocabularies for describing classes
                – rdfs:Class
                          • the class of resources
                – rdfs:Resource
                          • all things described by RDF are called resources, and are instances of the
                            class rdfs:Resource.
                – rdf:type
                          • to state that a resource is an instance of a class
                – rdfs:subClassOf
                          • to state that all the instances of one class are instances of another



                                                                                                         4
Linked Data & Semantic Web Technology
A Vehicle Class Hierarchy
                                                                rdfs:Resource




                                         ex:PassengerVehicle      rdfs:Class



                                                                                            ex:Truck


         ex:MiniVan




                                              ex:Van           ex:MotorVehicle




                                                                                 rdf:type
                                        exthings:companyCar                      rdfs:subClassOf



                                                                                                       5
Linked Data & Semantic Web Technology
A Vehicle Class Hierarchy
                                                                           rdfs:Resource




                                         ex:PassengerVehicle                 rdfs:Class



                                                                                                       ex:Truck


         ex:MiniVan
                                         rdfs:subClassOf




                                              ex:Van                      ex:MotorVehicle




                                                               rdf:type                     rdf:type
                                        exthings:companyCar                                 rdfs:subClassOf
                                                                                            inferred triple

                                                                                                                  6
Linked Data & Semantic Web Technology
ex:MotorVehicle          rdf:type            rdfs:Class   .
                                        ex:PassengerVehicle      rdf:type            rdfs:Class   .
                                        ex:Van                   rdf:type            rdfs:Class   .
                                        ex:Truck                 rdf:type            rdfs:Class   .
                                        ex:MiniVan               rdf:type            rdfs:Class   .

                                        ex:PassengerVehicle      rdfs:subClassOf     ex:MotorVehicle .
                                        ex:Van                   rdfs:subClassOf     ex:MotorVehicle .
                                        ex:Truck                 rdfs:subClassOf     ex:MotorVehicle .

                                        ex:MiniVan               rdfs:subClassOf     ex:Van .
                                        ex:MiniVan               rdfs:subClassOf     ex:PassengerVehicle .



                                                                            <?xml version="1.0"?>
                                                                            <rdf:RDF
                                                                              xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
                                                                              xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
                                                                              xml:base="http://example.org/schemas/vehicles">
       ex:PassengerVehicle
                                                                            <rdfs:Class rdf:ID="MotorVehicle"/>
                                             rdfs:Class
                                                                            <rdfs:Class rdf:ID="PassengerVehicle">
                                                                              <rdfs:subClassOf rdf:resource="#MotorVehicle"/>
                                                                            </rdfs:Class>
 ex:MiniVan
                                                              ex:Truck      <rdfs:Class rdf:ID="Truck">
                                                                              <rdfs:subClassOf rdf:resource="#MotorVehicle"/>
                                                                            </rdfs:Class>

                                                                            <rdfs:Class rdf:ID="Van">
                                                                              <rdfs:subClassOf rdf:resource="#MotorVehicle"/>
                                                                            </rdfs:Class>
         ex:Van                         ex:MotorVehicle
                                                                            <rdfs:Class rdf:ID="MiniVan">
                                                                              <rdfs:subClassOf rdf:resource="#Van"/>
                                                                              <rdfs:subClassOf rdf:resource="#PassengerVehicle"/>
                                                                            </rdfs:Class>

                                                                            </rdf:RDF>
                                                                                                                                        7
Linked Data & Semantic Web Technology
Describing Properties
      • Vocabularies for describing properties
                – rdf:Property
                          • the class of RDF properties


                – rdfs:subPropertyOf
                          • to state that all resources related by one property are also related by
                            another


                – rdfs:domain
                          • to state that any resource that has a given property is an instance of one or
                            more classes


                – rdfs:range
                          • to state that the values of a property are instances of one or more classes


                                                                                                            8
Linked Data & Semantic Web Technology
Properties of Vehicle Schema
                                                                                              rdf:type
                                                                                              rdfs:range
                                                                                              rdfs:domain
                                                                                              rdfs:subPropertyOf
                                                                                              rdfs:subClassOf

                                    ex:Person           ex:registeredTo


                                                                            ex:MotorVehicle
         rdfs:Class


                                                           ex:driver

                       rdf:Property


                                                       ex:primaryDriver

          rdfs:Datatype



                                        xsd:integer   ex:rearSeatLegRoom   ex:PassengerVehicle




                                                                                                                   9
Linked Data & Semantic Web Technology
Properties of Vehicle Schema
                                                                                                                  rdf:type
                                                                                                                  rdfs:range
                                                                                                                  rdfs:domain
                                                                                                                  rdfs:subPropertyOf
                                                                                                                  rdfs:subClassOf
                                                                                                                  infered triple
                                    ex:Person           ex:registeredTo


                                                                                                ex:MotorVehicle
         rdfs:Class


                                                           ex:driver

                                                                   rdfs:domain
                       rdf:Property


                                                       ex:primaryDriver
                                                                                 rdfs:domain
          rdfs:Datatype



                                        xsd:integer   ex:rearSeatLegRoom                       ex:PassengerVehicle




                                                                                                                                       10
Linked Data & Semantic Web Technology
An Instance of Vehicle Schema
                                                                                                                          rdf:type
            ex:Person                                        ex:registeredTo                                              rdfs:range
                                                                                                                          rdfs:domain
                                                                                            ex:MotorVehicle               rdfs:subPropertyOf
                                                                                                                          rdfs:subClassOf
                                        rdf:Property            ex:driver                                                 infered triple




                                                            ex:primaryDriver              ex:PassengerVehicle




                                          ex:registeredTo                            ex:primaryDriver
     exthings:staff85740                                    exthings:johnSmithsCar                        exhings:JohnSmith




                                                                                                                                            11
Linked Data & Semantic Web Technology
An Instance of Vehicle Schema
                                                                                                                          rdf:type
            ex:Person                                        ex:registeredTo                                              rdfs:range
                                                                                                                          rdfs:domain
                                                                                            ex:MotorVehicle               rdfs:subPropertyOf
                                                                                                                          rdfs:subClassOf
                                        rdf:Property            ex:driver                                                 infered triple




                                                            ex:primaryDriver              ex:PassengerVehicle


      rdf:type                                                          rdf:type




                                          ex:registeredTo                            ex:primaryDriver
     exthings:staff85740                                    exthings:johnSmithsCar                        exhings:JohnSmith


                                                                                        ex:driver
                                                                                                                                            12
Linked Data & Semantic Web Technology
TBox and ABox
      • TBox
                – "terminological component"
                – a conceptualization associated with a set of facts


      • ABox
                – "assertion component"
                – a fact associated with a terminological vocabulary within a knowledge
                  base




                                                                                          13
Linked Data & Semantic Web Technology
TBox and ABox
                                                                                                                          rdf:type
            ex:Person                                        ex:registeredTo                                              rdfs:range
                                                                                                                          rdfs:domain
                                                                                            ex:MotorVehicle               rdfs:subPropertyOf
                                                                                                                          rdfs:subClassOf
                                        rdf:Property            ex:driver                                                 infered triple




                                                            ex:primaryDriver              ex:PassengerVehicle


      rdf:type                                                          rdf:type


                                                                                                                                TBox

                                                                                                                                ABox

                                          ex:registeredTo                            ex:primaryDriver
     exthings:staff85740                                    exthings:johnSmithsCar                        exhings:JohnSmith


                                                                                        ex:driver
                                                                                                                                            14
Linked Data & Semantic Web Technology
Other Vocabularies
      •       rdfs:label
                – to provide a human-readable version of a resource's name

      •       rdfs:comment
                – to provide a human-readable description of a resource

      •       rdfs:seeAlso
                – to indicate a resource that might provide additional information about the subject resource

      •       rdfs:isDefinedBy
                – to indicate a resource defining the subject resource

                                        <?xml version="1.0"?>
                                        <rdf:RDF
                                            xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
                                            xmlns:kdc="http://data.kdata.kr/class/"
                                            xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">

                                          <kdc:StateDesignatedHeritage rdf:about="http://data.kdata.kr/resource/Namdaemun">
                                             <rdfs:label xml:lang="ko">남대문</rdfs:label>
                                             <rdfs:label xml:lang="en">Namdaemun</rdfs:label>
                                             <rdfs:seeAlso rdf:resource="http://dbpedia.org/resource/Namdaemun"/>
                                             <rdfs:comment>국보 1호</rdfs:comment>
                                          </kdc:StateDesignatedHeritage>

                                        </rdf:RDF>

                                                                                                                              15
Linked Data & Semantic Web Technology
Structure of RDF Vocabularies




                                        16
Linked Data & Semantic Web Technology
References
      •       http://www.w3.org/TR/2004/REC-rdf-primer-20040210/
      •       http://www.w3.org/TR/rdf-schema/
      •       http://www.slideshare.net/lysander07/openhpi-22
      •       http://seijikoide.files.wordpress.com/2011/10/rdfs_entities.jpg




                                                                                17
Linked Data & Semantic Web Technology
Dr. Myungjin Lee
                                                                  e-Mail : mjlee@li-st.com
                                                Twitter : http://twitter.com/MyungjinLee
                                           Facebook : http://www.facebook.com/mjinlee
                                        SlideShare : http://www.slideshare.net/onlyjiny/
                                                                                       18
                                                                                        18
Linked Data & Semantic Web Technology

Contenu connexe

Tendances

Chapter 1 semantic web
Chapter 1 semantic webChapter 1 semantic web
Chapter 1 semantic web
R A Akerkar
 
Introduction to the Semantic Web
Introduction to the Semantic WebIntroduction to the Semantic Web
Introduction to the Semantic Web
Tomek Pluskiewicz
 
Introduction to RDF & SPARQL
Introduction to RDF & SPARQLIntroduction to RDF & SPARQL
Introduction to RDF & SPARQL
Open Data Support
 

Tendances (20)

Lecture: Ontologies and the Semantic Web
Lecture: Ontologies and the Semantic WebLecture: Ontologies and the Semantic Web
Lecture: Ontologies and the Semantic Web
 
Semantic web
Semantic webSemantic web
Semantic web
 
Introduction to the Semantic Web
Introduction to the Semantic WebIntroduction to the Semantic Web
Introduction to the Semantic Web
 
Introduction to Knowledge Graphs and Semantic AI
Introduction to Knowledge Graphs and Semantic AIIntroduction to Knowledge Graphs and Semantic AI
Introduction to Knowledge Graphs and Semantic AI
 
An Introduction to Semantic Web Technology
An Introduction to Semantic Web TechnologyAn Introduction to Semantic Web Technology
An Introduction to Semantic Web Technology
 
SPARQL introduction and training (130+ slides with exercices)
SPARQL introduction and training (130+ slides with exercices)SPARQL introduction and training (130+ slides with exercices)
SPARQL introduction and training (130+ slides with exercices)
 
Rdf
RdfRdf
Rdf
 
Semantic search
Semantic searchSemantic search
Semantic search
 
Chapter 1 semantic web
Chapter 1 semantic webChapter 1 semantic web
Chapter 1 semantic web
 
Introduction to the Semantic Web
Introduction to the Semantic WebIntroduction to the Semantic Web
Introduction to the Semantic Web
 
SPARQL Cheat Sheet
SPARQL Cheat SheetSPARQL Cheat Sheet
SPARQL Cheat Sheet
 
Introduction To RDF and RDFS
Introduction To RDF and RDFSIntroduction To RDF and RDFS
Introduction To RDF and RDFS
 
Introduction to RDF & SPARQL
Introduction to RDF & SPARQLIntroduction to RDF & SPARQL
Introduction to RDF & SPARQL
 
Introduction to Big Data & Hadoop Architecture - Module 1
Introduction to Big Data & Hadoop Architecture - Module 1Introduction to Big Data & Hadoop Architecture - Module 1
Introduction to Big Data & Hadoop Architecture - Module 1
 
DSpace-CRIS technical level introduction
DSpace-CRIS technical level introductionDSpace-CRIS technical level introduction
DSpace-CRIS technical level introduction
 
Introduction to Information Retrieval
Introduction to Information RetrievalIntroduction to Information Retrieval
Introduction to Information Retrieval
 
Web ontology language (owl)
Web ontology language (owl)Web ontology language (owl)
Web ontology language (owl)
 
An Introduction to SPARQL
An Introduction to SPARQLAn Introduction to SPARQL
An Introduction to SPARQL
 
أمثلة دبلن كور / إعداد محمد عبدالحميد معوض
أمثلة دبلن كور / إعداد محمد عبدالحميد معوضأمثلة دبلن كور / إعداد محمد عبدالحميد معوض
أمثلة دبلن كور / إعداد محمد عبدالحميد معوض
 
Linked Data and Knowledge Graphs -- Constructing and Understanding Knowledge ...
Linked Data and Knowledge Graphs -- Constructing and Understanding Knowledge ...Linked Data and Knowledge Graphs -- Constructing and Understanding Knowledge ...
Linked Data and Knowledge Graphs -- Constructing and Understanding Knowledge ...
 

En vedette

Domain, Range, Functions -5 2 All Ex amples
Domain, Range, Functions -5 2 All Ex amplesDomain, Range, Functions -5 2 All Ex amples
Domain, Range, Functions -5 2 All Ex amples
guestf492df
 

En vedette (9)

Development of Twitter Application #6 - Trends
Development of Twitter Application #6 - TrendsDevelopment of Twitter Application #6 - Trends
Development of Twitter Application #6 - Trends
 
Hpm2010seminar2
Hpm2010seminar2Hpm2010seminar2
Hpm2010seminar2
 
Development of Twitter Application #3 - OAuth
Development of Twitter Application #3 - OAuthDevelopment of Twitter Application #3 - OAuth
Development of Twitter Application #3 - OAuth
 
Development of Twitter Application #7 - Search
Development of Twitter Application #7 - SearchDevelopment of Twitter Application #7 - Search
Development of Twitter Application #7 - Search
 
시맨틱 웹에서의 콘텐츠 검색(Contents search on the semantic web)
시맨틱 웹에서의 콘텐츠 검색(Contents search on the semantic web)시맨틱 웹에서의 콘텐츠 검색(Contents search on the semantic web)
시맨틱 웹에서의 콘텐츠 검색(Contents search on the semantic web)
 
Mining Social media for Product Development & Marketing Insights
Mining Social media for Product Development & Marketing InsightsMining Social media for Product Development & Marketing Insights
Mining Social media for Product Development & Marketing Insights
 
Domain, Range, Functions -5 2 All Ex amples
Domain, Range, Functions -5 2 All Ex amplesDomain, Range, Functions -5 2 All Ex amples
Domain, Range, Functions -5 2 All Ex amples
 
Social Semantic Web on Facebook Open Graph protocol and Twitter Annotations
Social Semantic Web on Facebook Open Graph protocol and Twitter AnnotationsSocial Semantic Web on Facebook Open Graph protocol and Twitter Annotations
Social Semantic Web on Facebook Open Graph protocol and Twitter Annotations
 
쉽게 이해하는 LOD
쉽게 이해하는 LOD쉽게 이해하는 LOD
쉽게 이해하는 LOD
 

Similaire à The Semantic Web #6 - RDF Schema

Lecture the semantic_web_part_2
Lecture the semantic_web_part_2Lecture the semantic_web_part_2
Lecture the semantic_web_part_2
IKS - Project
 
A hands on overview of the semantic web
A hands on overview of the semantic webA hands on overview of the semantic web
A hands on overview of the semantic web
Marakana Inc.
 
SemanticWeb Nuts 'n Bolts
SemanticWeb Nuts 'n BoltsSemanticWeb Nuts 'n Bolts
SemanticWeb Nuts 'n Bolts
Rinke Hoekstra
 
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
Josef Petrák
 
The Legal Rdf Ontology A Generic Model For Legal Documents
The Legal Rdf Ontology A Generic Model For Legal DocumentsThe Legal Rdf Ontology A Generic Model For Legal Documents
The Legal Rdf Ontology A Generic Model For Legal Documents
legalwebsite
 
SHARE & the Semantic Web — This Time it's Personal
SHARE & the Semantic Web — This Time it's PersonalSHARE & the Semantic Web — This Time it's Personal
SHARE & the Semantic Web — This Time it's Personal
Luke McCarthy
 
Chapter 3 semantic web
Chapter 3 semantic webChapter 3 semantic web
Chapter 3 semantic web
R A Akerkar
 

Similaire à The Semantic Web #6 - RDF Schema (20)

A Hands On Overview Of The Semantic Web
A Hands On Overview Of The Semantic WebA Hands On Overview Of The Semantic Web
A Hands On Overview Of The Semantic Web
 
Lecture the semantic_web_part_2
Lecture the semantic_web_part_2Lecture the semantic_web_part_2
Lecture the semantic_web_part_2
 
The Semantic Web #5 - RDF (2)
The Semantic Web #5 - RDF (2)The Semantic Web #5 - RDF (2)
The Semantic Web #5 - RDF (2)
 
A hands on overview of the semantic web
A hands on overview of the semantic webA hands on overview of the semantic web
A hands on overview of the semantic web
 
Semantic web
Semantic webSemantic web
Semantic web
 
Rdf Overview Presentation
Rdf Overview PresentationRdf Overview Presentation
Rdf Overview Presentation
 
Semantic Web talk TEMPLATE
Semantic Web talk TEMPLATESemantic Web talk TEMPLATE
Semantic Web talk TEMPLATE
 
SemanticWeb Nuts 'n Bolts
SemanticWeb Nuts 'n BoltsSemanticWeb Nuts 'n Bolts
SemanticWeb Nuts 'n Bolts
 
RDFa Semantic Web
RDFa Semantic WebRDFa Semantic Web
RDFa Semantic Web
 
Rdf data-model-and-storage
Rdf data-model-and-storageRdf data-model-and-storage
Rdf data-model-and-storage
 
MR^3: Meta-Model Management based on RDFs Revision Reflection
MR^3: Meta-Model Management based on RDFs Revision ReflectionMR^3: Meta-Model Management based on RDFs Revision Reflection
MR^3: Meta-Model Management based on RDFs Revision Reflection
 
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
 
The Legal Rdf Ontology A Generic Model For Legal Documents
The Legal Rdf Ontology A Generic Model For Legal DocumentsThe Legal Rdf Ontology A Generic Model For Legal Documents
The Legal Rdf Ontology A Generic Model For Legal Documents
 
Linked services
Linked servicesLinked services
Linked services
 
SHARE & the Semantic Web — This Time it's Personal
SHARE & the Semantic Web — This Time it's PersonalSHARE & the Semantic Web — This Time it's Personal
SHARE & the Semantic Web — This Time it's Personal
 
OpenCms Days 2012 - Keynote: Semantic Technologies for CMS
OpenCms Days 2012 - Keynote: Semantic Technologies for CMSOpenCms Days 2012 - Keynote: Semantic Technologies for CMS
OpenCms Days 2012 - Keynote: Semantic Technologies for CMS
 
Introduction to RDF
Introduction to RDFIntroduction to RDF
Introduction to RDF
 
Chapter 3 semantic web
Chapter 3 semantic webChapter 3 semantic web
Chapter 3 semantic web
 
Introduction to RDFa
Introduction to RDFaIntroduction to RDFa
Introduction to RDFa
 
SWT Lecture Session 5 - RDFS
SWT Lecture Session 5 - RDFSSWT Lecture Session 5 - RDFS
SWT Lecture Session 5 - RDFS
 

Plus de Myungjin Lee

Plus de Myungjin Lee (20)

지식그래프 개념과 활용방안 (Knowledge Graph - Introduction and Use Cases)
지식그래프 개념과 활용방안 (Knowledge Graph - Introduction and Use Cases)지식그래프 개념과 활용방안 (Knowledge Graph - Introduction and Use Cases)
지식그래프 개념과 활용방안 (Knowledge Graph - Introduction and Use Cases)
 
JSP 프로그래밍 #05 HTML과 JSP
JSP 프로그래밍 #05 HTML과 JSPJSP 프로그래밍 #05 HTML과 JSP
JSP 프로그래밍 #05 HTML과 JSP
 
JSP 프로그래밍 #04 JSP 의 기본
JSP 프로그래밍 #04 JSP 의 기본JSP 프로그래밍 #04 JSP 의 기본
JSP 프로그래밍 #04 JSP 의 기본
 
JSP 프로그래밍 #03 서블릿
JSP 프로그래밍 #03 서블릿JSP 프로그래밍 #03 서블릿
JSP 프로그래밍 #03 서블릿
 
JSP 프로그래밍 #02 서블릿과 JSP 시작하기
JSP 프로그래밍 #02 서블릿과 JSP 시작하기JSP 프로그래밍 #02 서블릿과 JSP 시작하기
JSP 프로그래밍 #02 서블릿과 JSP 시작하기
 
JSP 프로그래밍 #01 웹 프로그래밍
JSP 프로그래밍 #01 웹 프로그래밍JSP 프로그래밍 #01 웹 프로그래밍
JSP 프로그래밍 #01 웹 프로그래밍
 
관광 지식베이스와 스마트 관광 서비스 (Knowledge base and Smart Tourism)
관광 지식베이스와 스마트 관광 서비스 (Knowledge base and Smart Tourism)관광 지식베이스와 스마트 관광 서비스 (Knowledge base and Smart Tourism)
관광 지식베이스와 스마트 관광 서비스 (Knowledge base and Smart Tourism)
 
오픈 데이터와 인공지능
오픈 데이터와 인공지능오픈 데이터와 인공지능
오픈 데이터와 인공지능
 
법령 온톨로지의 구축 및 검색
법령 온톨로지의 구축 및 검색법령 온톨로지의 구축 및 검색
법령 온톨로지의 구축 및 검색
 
도서관과 Linked Data
도서관과 Linked Data도서관과 Linked Data
도서관과 Linked Data
 
공공데이터, 현재 우리는?
공공데이터, 현재 우리는?공공데이터, 현재 우리는?
공공데이터, 현재 우리는?
 
LODAC 2017 Linked Open Data Workshop
LODAC 2017 Linked Open Data WorkshopLODAC 2017 Linked Open Data Workshop
LODAC 2017 Linked Open Data Workshop
 
Introduction of Deep Learning
Introduction of Deep LearningIntroduction of Deep Learning
Introduction of Deep Learning
 
서울시 열린데이터 광장 문화관광 분야 LOD 서비스
서울시 열린데이터 광장 문화관광 분야 LOD 서비스서울시 열린데이터 광장 문화관광 분야 LOD 서비스
서울시 열린데이터 광장 문화관광 분야 LOD 서비스
 
LOD(Linked Open Data) Recommendations
LOD(Linked Open Data) RecommendationsLOD(Linked Open Data) Recommendations
LOD(Linked Open Data) Recommendations
 
Interlinking for Linked Data
Interlinking for Linked DataInterlinking for Linked Data
Interlinking for Linked Data
 
Linked Open Data Tutorial
Linked Open Data TutorialLinked Open Data Tutorial
Linked Open Data Tutorial
 
Linked Data Usecases
Linked Data UsecasesLinked Data Usecases
Linked Data Usecases
 
공공데이터와 Linked open data
공공데이터와 Linked open data공공데이터와 Linked open data
공공데이터와 Linked open data
 
공공데이터와 Linked open data
공공데이터와 Linked open data공공데이터와 Linked open data
공공데이터와 Linked open data
 

Dernier

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Dernier (20)

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 

The Semantic Web #6 - RDF Schema

  • 1. Linked Data & Semantic Web Technology The Semantic Web Part 6. RDF Vocabularies: RDF Schema Dr. Myungjin Lee
  • 2. Ability to Define the Vocabularies This is a property, and it indicates person’s name. <?xml version="1.0"?> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:s="http://example.org/person/vocab#"> <rdf:Description rdf:about="http://example.org/person/mjlee"> <s:name>Myungjin Lee</s:name> </rdf:Description> <rdf:Description rdf:about="http://example.org/person/john"> These resources are person. <s:name>John Mayer</s:name> </rdf:Description> <rdf:Description rdf:about="http://example.org/person/berners-lee"> <s:name>Tim Berners-Lee</s:name> </rdf:Description> </rdf:RDF> 2 Linked Data & Semantic Web Technology
  • 3. RDF Vocabularies: RDF Schema • RDF Schema – a set of classes with certain properties using the RDF extensible knowledge representation language – providing basic elements for the description of ontologies • The resources in the RDF Schema vocabulary have URIrefs with the prefix http://www.w3.org/2000/01/rdf-schema# (conventionally associated with the QName prefix rdfs:). – W3C Recommendation 10 February 2004 • RDF Schema allows: – definition of classes and class instantiation – definition of properties and simple restrictions – definition of hierarchies of classes and properties 3 Linked Data & Semantic Web Technology
  • 4. Describing Classes • Class – "kinds of things“, the generic concept of a Type or Category • Vocabularies for describing classes – rdfs:Class • the class of resources – rdfs:Resource • all things described by RDF are called resources, and are instances of the class rdfs:Resource. – rdf:type • to state that a resource is an instance of a class – rdfs:subClassOf • to state that all the instances of one class are instances of another 4 Linked Data & Semantic Web Technology
  • 5. A Vehicle Class Hierarchy rdfs:Resource ex:PassengerVehicle rdfs:Class ex:Truck ex:MiniVan ex:Van ex:MotorVehicle rdf:type exthings:companyCar rdfs:subClassOf 5 Linked Data & Semantic Web Technology
  • 6. A Vehicle Class Hierarchy rdfs:Resource ex:PassengerVehicle rdfs:Class ex:Truck ex:MiniVan rdfs:subClassOf ex:Van ex:MotorVehicle rdf:type rdf:type exthings:companyCar rdfs:subClassOf inferred triple 6 Linked Data & Semantic Web Technology
  • 7. ex:MotorVehicle rdf:type rdfs:Class . ex:PassengerVehicle rdf:type rdfs:Class . ex:Van rdf:type rdfs:Class . ex:Truck rdf:type rdfs:Class . ex:MiniVan rdf:type rdfs:Class . ex:PassengerVehicle rdfs:subClassOf ex:MotorVehicle . ex:Van rdfs:subClassOf ex:MotorVehicle . ex:Truck rdfs:subClassOf ex:MotorVehicle . ex:MiniVan rdfs:subClassOf ex:Van . ex:MiniVan rdfs:subClassOf ex:PassengerVehicle . <?xml version="1.0"?> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xml:base="http://example.org/schemas/vehicles"> ex:PassengerVehicle <rdfs:Class rdf:ID="MotorVehicle"/> rdfs:Class <rdfs:Class rdf:ID="PassengerVehicle"> <rdfs:subClassOf rdf:resource="#MotorVehicle"/> </rdfs:Class> ex:MiniVan ex:Truck <rdfs:Class rdf:ID="Truck"> <rdfs:subClassOf rdf:resource="#MotorVehicle"/> </rdfs:Class> <rdfs:Class rdf:ID="Van"> <rdfs:subClassOf rdf:resource="#MotorVehicle"/> </rdfs:Class> ex:Van ex:MotorVehicle <rdfs:Class rdf:ID="MiniVan"> <rdfs:subClassOf rdf:resource="#Van"/> <rdfs:subClassOf rdf:resource="#PassengerVehicle"/> </rdfs:Class> </rdf:RDF> 7 Linked Data & Semantic Web Technology
  • 8. Describing Properties • Vocabularies for describing properties – rdf:Property • the class of RDF properties – rdfs:subPropertyOf • to state that all resources related by one property are also related by another – rdfs:domain • to state that any resource that has a given property is an instance of one or more classes – rdfs:range • to state that the values of a property are instances of one or more classes 8 Linked Data & Semantic Web Technology
  • 9. Properties of Vehicle Schema rdf:type rdfs:range rdfs:domain rdfs:subPropertyOf rdfs:subClassOf ex:Person ex:registeredTo ex:MotorVehicle rdfs:Class ex:driver rdf:Property ex:primaryDriver rdfs:Datatype xsd:integer ex:rearSeatLegRoom ex:PassengerVehicle 9 Linked Data & Semantic Web Technology
  • 10. Properties of Vehicle Schema rdf:type rdfs:range rdfs:domain rdfs:subPropertyOf rdfs:subClassOf infered triple ex:Person ex:registeredTo ex:MotorVehicle rdfs:Class ex:driver rdfs:domain rdf:Property ex:primaryDriver rdfs:domain rdfs:Datatype xsd:integer ex:rearSeatLegRoom ex:PassengerVehicle 10 Linked Data & Semantic Web Technology
  • 11. An Instance of Vehicle Schema rdf:type ex:Person ex:registeredTo rdfs:range rdfs:domain ex:MotorVehicle rdfs:subPropertyOf rdfs:subClassOf rdf:Property ex:driver infered triple ex:primaryDriver ex:PassengerVehicle ex:registeredTo ex:primaryDriver exthings:staff85740 exthings:johnSmithsCar exhings:JohnSmith 11 Linked Data & Semantic Web Technology
  • 12. An Instance of Vehicle Schema rdf:type ex:Person ex:registeredTo rdfs:range rdfs:domain ex:MotorVehicle rdfs:subPropertyOf rdfs:subClassOf rdf:Property ex:driver infered triple ex:primaryDriver ex:PassengerVehicle rdf:type rdf:type ex:registeredTo ex:primaryDriver exthings:staff85740 exthings:johnSmithsCar exhings:JohnSmith ex:driver 12 Linked Data & Semantic Web Technology
  • 13. TBox and ABox • TBox – "terminological component" – a conceptualization associated with a set of facts • ABox – "assertion component" – a fact associated with a terminological vocabulary within a knowledge base 13 Linked Data & Semantic Web Technology
  • 14. TBox and ABox rdf:type ex:Person ex:registeredTo rdfs:range rdfs:domain ex:MotorVehicle rdfs:subPropertyOf rdfs:subClassOf rdf:Property ex:driver infered triple ex:primaryDriver ex:PassengerVehicle rdf:type rdf:type TBox ABox ex:registeredTo ex:primaryDriver exthings:staff85740 exthings:johnSmithsCar exhings:JohnSmith ex:driver 14 Linked Data & Semantic Web Technology
  • 15. Other Vocabularies • rdfs:label – to provide a human-readable version of a resource's name • rdfs:comment – to provide a human-readable description of a resource • rdfs:seeAlso – to indicate a resource that might provide additional information about the subject resource • rdfs:isDefinedBy – to indicate a resource defining the subject resource <?xml version="1.0"?> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:kdc="http://data.kdata.kr/class/" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"> <kdc:StateDesignatedHeritage rdf:about="http://data.kdata.kr/resource/Namdaemun"> <rdfs:label xml:lang="ko">남대문</rdfs:label> <rdfs:label xml:lang="en">Namdaemun</rdfs:label> <rdfs:seeAlso rdf:resource="http://dbpedia.org/resource/Namdaemun"/> <rdfs:comment>국보 1호</rdfs:comment> </kdc:StateDesignatedHeritage> </rdf:RDF> 15 Linked Data & Semantic Web Technology
  • 16. Structure of RDF Vocabularies 16 Linked Data & Semantic Web Technology
  • 17. References • http://www.w3.org/TR/2004/REC-rdf-primer-20040210/ • http://www.w3.org/TR/rdf-schema/ • http://www.slideshare.net/lysander07/openhpi-22 • http://seijikoide.files.wordpress.com/2011/10/rdfs_entities.jpg 17 Linked Data & Semantic Web Technology
  • 18. Dr. Myungjin Lee e-Mail : mjlee@li-st.com Twitter : http://twitter.com/MyungjinLee Facebook : http://www.facebook.com/mjinlee SlideShare : http://www.slideshare.net/onlyjiny/ 18 18 Linked Data & Semantic Web Technology