semantic web tutorial

51
RDF Vocabularies Sangwon Yang, [email protected] :me owl:sameAs <twitter.com/sangwon> . Semantic Web Tutorial : RDF 집중분석

Upload: sangwon-yang

Post on 11-May-2015

2.051 views

Category:

Technology


4 download

DESCRIPTION

Semantic Web Tutorial - RDF Vocabularies

TRANSCRIPT

Page 1: Semantic Web Tutorial

RDF����������� ������������������  Vocabularies

Sangwon����������� ������������������  Yang,

[email protected]

:me����������� ������������������  owl:sameAs����������� ������������������  <twitter.com/sangwon>����������� ������������������  .

Semantic����������� ������������������  Web����������� ������������������  Tutorial����������� ������������������  :����������� ������������������  RDF����������� ������������������  집중분석

Page 2: Semantic Web Tutorial

오늘,����������� ������������������  이런����������� ������������������  이야기

•RDF����������� ������������������  Vocabularies•FOAF,����������� ������������������  SIOC,����������� ������������������  SKOS- Overview

- 활용

Page 3: Semantic Web Tutorial

RDF����������� ������������������  Vocabularies

Page 4: Semantic Web Tutorial

RDF����������� ������������������  Vocabulary

•RDF(Resource����������� ������������������  Description����������� ������������������  

Framework)는����������� ������������������  웹상에서����������� ������������������  다양한����������� ������������������  리소스에����������� ������������������  

대한����������� ������������������  정보를����������� ������������������  표현하기����������� ������������������  위한����������� ������������������  언어이다.

•RDF����������� ������������������  Vocabulary는����������� ������������������  RDF를����������� ������������������  사용하여����������� ������������������  미리����������� ������������������  

정의된����������� ������������������  클래스와����������� ������������������  프로퍼티의����������� ������������������  집합이다.

Page 5: Semantic Web Tutorial

RDF����������� ������������������  Vocabularies

•DC•FOAF•SIOC����������� ������������������  •SKOS•SCOT•SIO

Page 6: Semantic Web Tutorial

FOAF(Friend����������� ������������������  of����������� ������������������  a����������� ������������������  

Friend)

Page 7: Semantic Web Tutorial

Link

•링크는����������� ������������������  리소스와����������� ������������������  또����������� ������������������  다른����������� ������������������  리소스간의����������� ������������������  참조이다.

- document

- data

- people...

Page 8: Semantic Web Tutorial

on����������� ������������������  the����������� ������������������  Semantic����������� ������������������  Web

•링크에����������� ������������������  의미를����������� ������������������  부여한다.- 리소스와����������� ������������������  리소스간의����������� ������������������  상호연결에����������� ������������������  의미를����������� ������������������  준다.

- 사람과����������� ������������������  사람간의����������� ������������������  링크(연결),����������� ������������������  그리고����������� ������������������  그들이����������� ������������������  생성한����������� ������������������  것들에����������� ������������������  대한����������� ������������������  관계를����������� ������������������  표현해준다.

Page 9: Semantic Web Tutorial

FOAF

•FOAF����������� ������������������  project는����������� ������������������  사람(people)과����������� ������������������  그들간의����������� ������������������  관계(links����������� ������������������  or����������� ������������������  relationships)를����������� ������������������  기술하는����������� ������������������  

machine-readable����������� ������������������  pages의����������� ������������������  Web을����������� ������������������  생성

하는����������� ������������������  것이다.

www.foaf-project.org

Page 10: Semantic Web Tutorial

FOAF

•사람,����������� ������������������  사람간의����������� ������������������  그리고����������� ������������������  개체간의����������� ������������������  연결된����������� ������������������  관

계를����������� ������������������  표현해준다.

- 사용자에����������� ������������������  대한����������� ������������������  social����������� ������������������  information을����������� ������������������  제공하는����������� ������������������  방법이다.

- 친구의����������� ������������������  관계(a����������� ������������������  network����������� ������������������  of����������� ������������������  friends)를����������� ������������������  표현하는����������� ������������������  방법이다.

Page 11: Semantic Web Tutorial

FOAF

•FOAF����������� ������������������  at����������� ������������������  a����������� ������������������  glance- 12개의����������� ������������������  클래스����������� ������������������  :����������� ������������������  Person,����������� ������������������  OnlineAccount..

- 54개의����������� ������������������  프로퍼티����������� ������������������  :����������� ������������������  accountName,����������� ������������������  knows

Page 12: Semantic Web Tutorial

People

•People����������� ������������������  Social����������� ������������������  Information- 성별,����������� ������������������  생일,����������� ������������������  위치,����������� ������������������  취미(관심)

- 이미지,

- 이메일,����������� ������������������  IM,����������� ������������������  온라인����������� ������������������  서비스,����������� ������������������  웹로그

- 직장,����������� ������������������  학교

Page 13: Semantic Web Tutorial

Describing����������� ������������������  People

•내����������� ������������������  이름은...����������� ������������������  sangwon����������� ������������������  yang•내가����������� ������������������  일하는����������� ������������������  곳은...����������� ������������������  studio����������� ������������������  6F����������� ������������������  @����������� ������������������  nurien•나의����������� ������������������  관심은...����������� ������������������  fishing•내가����������� ������������������  사는����������� ������������������  곳은...����������� ������������������  seoul•내����������� ������������������  블로그는...����������� ������������������  www.olli.co.kr

Page 14: Semantic Web Tutorial

FOAF����������� ������������������  data����������� ������������������  Example

Page 15: Semantic Web Tutorial

Relationships

•사람과����������� ������������������  사람간의����������� ������������������  관계에����������� ������������������  의미를����������� ������������������  부여한다.- <foaf:knows>,����������� ������������������  Relationships����������� ������������������  vocabulary

- :me����������� ������������������  foaf:knows����������� ������������������  :you

- :me����������� ������������������  rel:friend����������� ������������������  :you

Page 16: Semantic Web Tutorial

Relationships

sangwon과����������� ������������������  dongbum은����������� ������������������  친구다

!"#!$%&'(")

*#)+,")

!"#!$%&'(")

-")+./0

fb.com/sangwon fb.com/dongbum

!"#!$%&"'(

)*+$!),*&-

link

Page 17: Semantic Web Tutorial

Describing����������� ������������������  Relationships

Page 18: Semantic Web Tutorial

FOAF

•사람과����������� ������������������  그����������� ������������������  사람의����������� ������������������  활동,����������� ������������������  그리고����������� ������������������  다른����������� ������������������  사람����������� ������������������  및����������� ������������������  개체와의����������� ������������������  관계를����������� ������������������  의미적으로����������� ������������������  표현할����������� ������������������  수����������� ������������������  

있다.

•사용자가����������� ������������������  생산하는(그리고����������� ������������������  소유한)����������� ������������������  데이터의����������� ������������������  또����������� ������������������  다른����������� ������������������  형태이다.

•모든����������� ������������������  사람이����������� ������������������  자신만의����������� ������������������  네트워크를����������� ������������������  정밀하게����������� ������������������  표현하는����������� ������������������  것이����������� ������������������  가능하다.

Page 19: Semantic Web Tutorial
Page 20: Semantic Web Tutorial

분산된����������� ������������������  Identities

twitter:sangwon

fb:701611529

flickr:29799686@N04

me2day:olli

Page 21: Semantic Web Tutorial

Identities의����������� ������������������  통합

Sangwon Yang

twitter:sangwonflickr:29799686@N04

me2day:ollifb:701611529

Using����������� ������������������  FOAF

Page 22: Semantic Web Tutorial

holdsAccount

Page 23: Semantic Web Tutorial

owl:sameAs

•twitter:sangwon����������� ������������������  owl:sameAS����������� ������������������  me2:olli

Page 24: Semantic Web Tutorial

Sangwon Yang

twitter:sangwon

twitter:dongmulwon

twitter:spinhan

twitter:egero

twitter:adus74

twitter:purumae

twitter:ymjkim

twitter:sumoru

foaf:knows

foaf:knows

foaf:knows

foaf:knows

foaf:knows

foaf:knows

foaf:knows

Social����������� ������������������  Graph

Page 25: Semantic Web Tutorial

Social����������� ������������������  Graph

Sangwon Yang

twitter:dongmulwon

twitter:spinhan

twitter:egero

twitter:adus74

twitter:purumae

twitter:ymjkim

twitter:sumoru

twitter:sangwon

me2:olli

me2:ymjkim

me2:purumae

me2:neddang36fb:sangwon.yang

fb:youngmin.kim fb:doyeol.kim

Page 26: Semantic Web Tutorial

Sangwon Yang

twitter:sangwonflickr:29799686@N04

me2day:ollifb:701611529

Doyeol Kim

twitter:purumaeme2day:purumae

fb:doyeol.kim

Youngmin Kim

twitter:ymjkimme2day:ymjkimfb:youngmin.kim

Yoonyoung Name

twitter:yoonyoungfb:yoonyoung.nam

Page 27: Semantic Web Tutorial

Social����������� ������������������  Graph의����������� ������������������  통합

Sangwon Yang

twitter:sangwon

twitter:dongmulwon

twitter:spinhan

twitter:egero

twitter:adus74

twitter:purumae

twitter:ymjkim

twitter:sumoru

foaf:knows

foaf:knows

foaf:knows

foaf:knows

foaf:knows

foaf:knows

foaf:knows

fb:1238686601

fb:1529605506

fb:1255152455

fb:618865181

fb:1254708141

owl:sameAs

owl:sameAs

owl:sameAs

owl:sameAs

owl:sameAs

Page 28: Semantic Web Tutorial

Social����������� ������������������  Graph의����������� ������������������  통합

Sangwon Yangtwitter:sangwon

fb:701611529flckr:29799686@N04

me2:olli

Yeonju Ahntwitter:dongmulwon

fb:1529605506

Doeyull Kimtwitter:purumaefb:1238686601me2:purumae

HK Kimtwitter:egero

flckr:11095462@N04

Youngmin Kimtwitter:ymjkimfb:618856181me2:ymjkim

Daegon Kimfb:1254820102

3

3

12

2

Page 29: Semantic Web Tutorial

SIOC(Semantically-

Interlinked����������� ������������������  Online����������� ������������������  

Communities

Page 30: Semantic Web Tutorial

SIOC

•아주����������� ������������������  많은����������� ������������������  사람들이����������� ������������������  사용하는����������� ������������������  좋은����������� ������������������  Social����������� ������������������  Web����������� ������������������  서비스들이����������� ������������������  있다.

- twitter,����������� ������������������  facebook,����������� ������������������  cyworld,����������� ������������������  naver����������� ������������������  blog...

•이들은����������� ������������������  마치����������� ������������������  고립된����������� ������������������  섬처럼����������� ������������������  존재한다.- 섬들위에����������� ������������������  존재하는����������� ������������������  사용자와����������� ������������������  그들이����������� ������������������  생성하는����������� ������������������  데이터들을����������� ������������������  연결시킬����������� ������������������  방법이����������� ������������������  필요하다

Page 31: Semantic Web Tutorial

SIOC

•SIOC은����������� ������������������  온라인����������� ������������������  커뮤니티����������� ������������������  정보의����������� ������������������  통합을����������� ������������������  위한����������� ������������������  프로젝트이다.

- http://sioc-project.org

- 블로그나����������� ������������������  포럼등의����������� ������������������  온라인����������� ������������������  커뮤니티����������� ������������������  사이트에����������� ������������������  담겨있는����������� ������������������  정보를����������� ������������������  기술하며,����������� ������������������  이들����������� ������������������  사이트를����������� ������������������  함께����������� ������������������  

연결함으로써����������� ������������������  Social����������� ������������������  Web����������� ������������������  of����������� ������������������  Data의����������� ������������������  구현을����������� ������������������  

목적으로����������� ������������������  한다.

- 온라인����������� ������������������  커뮤니티����������� ������������������  사이트의����������� ������������������  콘텐츠와����������� ������������������  그����������� ������������������  구조를����������� ������������������  표현한다.

Page 32: Semantic Web Tutorial

SIOC����������� ������������������  Ontology

Page 33: Semantic Web Tutorial

Using����������� ������������������  SIOC

•sangwon이����������� ������������������  그의����������� ������������������  wordpress����������� ������������������  blog에����������� ������������������  포스트를����������� ������������������  썼다.

:mypost����������� ������������������  ����������� ������������������  rdf:type����������� ������������������  ����������� ������������������  sioc:Post����������� ������������������  ;

����������� ������������������  ����������� ������������������  ����������� ������������������  dc:title����������� ������������������  ����������� ������������������  "Semantic����������� ������������������  Web����������� ������������������  Tutorial"����������� ������������������  ;

����������� ������������������  ����������� ������������������  ����������� ������������������  sioc:has_creator����������� ������������������  ����������� ������������������  :sangwon����������� ������������������  ;

����������� ������������������  ����������� ������������������  ����������� ������������������  sioc:has_container����������� ������������������  ����������� ������������������  :mywp����������� ������������������  .

:mywp����������� ������������������  ����������� ������������������  rdf:type����������� ������������������  ����������� ������������������  sioc:Forum����������� ������������������  .

Page 34: Semantic Web Tutorial

Example����������� ������������������  of����������� ������������������  SIOC����������� ������������������  data

Page 35: Semantic Web Tutorial

Example����������� ������������������  of����������� ������������������  SIOC����������� ������������������  data

Page 36: Semantic Web Tutorial

SIOC

•온라인����������� ������������������  커뮤니티����������� ������������������  사이트에서����������� ������������������  담고����������� ������������������  있는����������� ������������������  정보를����������� ������������������  표현하기����������� ������������������  위한����������� ������������������  방법이다.

•웹상에서의����������� ������������������  사용자들의����������� ������������������  Social����������� ������������������  Activities를����������� ������������������  표현할����������� ������������������  수����������� ������������������  있다.

Page 37: Semantic Web Tutorial

sangwon

sioc:User

sangwon on twitter

sioc:Forum/sioct:Microblog

!"!"1

!"!"3sioc:creator_of

sioc:creator_of

sioc:owner_of

sioc:Post

sioc:Post sioc:container_of

sioc:container_of

Page 38: Semantic Web Tutorial

FOAF����������� ������������������  +����������� ������������������  SIOC

•SIOC과����������� ������������������  FOAF를����������� ������������������  활용하여����������� ������������������  웹상에서의����������� ������������������  사용자와����������� ������������������  친구들의����������� ������������������  activities를����������� ������������������  표현할����������� ������������������  수����������� ������������������  있

다.

- Identity����������� ������������������  &����������� ������������������  Friends

- Social����������� ������������������  Web����������� ������������������  서비스들의����������� ������������������  정보와����������� ������������������  구조.

Page 39: Semantic Web Tutorial

DongbumKim

Sangwon Yang

foaf:Person

foaf:knows rel:friendsioc:follow

twitter

sangwon

sioc:User

foaf:Document

foaf:accountServiceHomepage

foaf:holdsAccount

sangwon on twitter

sioc:Forum/sioct:Microblog

!"!"1

!"!"3sioc:creator_of

sioc:creator_of

sioc:owner_of

sioc:Post

sioc:Post sioc:container_of

sioc:container_of

foaf:Person

twitter

eastkim

sioc:User

foaf:Document

foaf:accountServiceHomepage

foaf:holdsAccount

eastkim on twitter

sioc:Forum/sioct:Microblog

!"!"2

sioc:Post sioc:container_of

sioc:creator_of

sioc:owner_of

sioc:reply_of

Page 40: Semantic Web Tutorial

SKOS(Simple����������� ������������������  

Knowledge����������� ������������������  

Organication����������� ������������������  System)

Page 41: Semantic Web Tutorial

SKOS

•웹을����������� ������������������  통한����������� ������������������  시소러스,����������� ������������������  분류,����������� ������������������  텍소노미,����������� ������������������  개념����������� ������������������  스키마����������� ������������������  등과����������� ������������������  같은����������� ������������������  지식조직시스템(KOS)의����������� ������������������  

공유와����������� ������������������  연결을����������� ������������������  위한����������� ������������������  데이터����������� ������������������  모델이다.

- KOS는����������� ������������������  유사한����������� ������������������  구조,����������� ������������������  그리고����������� ������������������  비슷한����������� ������������������  어플리케이션에서����������� ������������������  사용된다.

- SKOS는����������� ������������������  이것들을����������� ������������������  명시적으로����������� ������������������  만들고����������� ������������������  다양한����������� ������������������  어플리케이션간의����������� ������������������  데이터����������� ������������������  공유를����������� ������������������  가능하게����������� ������������������  한

다.

Page 42: Semantic Web Tutorial

SKOS

•SKOS����������� ������������������  데이터����������� ������������������  모델은����������� ������������������  KOS를����������� ������������������  Concepts의����������� ������������������  집합으로����������� ������������������  구성된����������� ������������������  Concept����������� ������������������  Scheme로����������� ������������������  여긴

다.

- skos:Concept

- skos:ConceptScheme

- ex:animals����������� ������������������  ����������� ������������������  rdf:type����������� ������������������  ����������� ������������������  skos:Concept

Page 43: Semantic Web Tutorial

SKOS

•Concept����������� ������������������  scheme가����������� ������������������  생성되면����������� ������������������  skos:inScheme����������� ������������������  property를����������� ������������������  사용하여����������� ������������������  그것

에����������� ������������������  포함된����������� ������������������  concept과����������� ������������������  연결된다.

ex:mammals����������� ������������������  rdf:type����������� ������������������  skos:Concept;

����������� ������������������  ����������� ������������������  ����������� ������������������  ����������� ������������������  skos:inScheme����������� ������������������  ex:animalThesaurus.

����������� ������������������  ex:cows����������� ������������������  rdf:type����������� ������������������  skos:Concept;

����������� ������������������  ����������� ������������������  ����������� ������������������  ����������� ������������������  skos:broader����������� ������������������  ex:mammals;

����������� ������������������  ����������� ������������������  ����������� ������������������  ����������� ������������������  skos:inScheme����������� ������������������  ex:animalThesaurus.

����������� ������������������  ex:fish����������� ������������������  rdf:type����������� ������������������  skos:Concept;

����������� ������������������  ����������� ������������������  ����������� ������������������  ����������� ������������������  skos:inScheme����������� ������������������  ex:animalThesaurus.

Page 44: Semantic Web Tutorial

SKOS

•SKOS����������� ������������������  concepts은����������� ������������������  어휘문자열로����������� ������������������  label될����������� ������������������  수����������� ������������������  있다.

- skos:preLabel

- skos:altLabel

- skos:hiddenLabel

ex:animal����������� ������������������  ����������� ������������������  rdf:type����������� ������������������  ����������� ������������������  skos:Concept����������� ������������������  ;

����������� ������������������  ����������� ������������������  skos:preLabel����������� ������������������  "animals"����������� ������������������  ����������� ������������������  .

Page 45: Semantic Web Tutorial

SKOS

•SKOS����������� ������������������  concepts은����������� ������������������  semantic����������� ������������������  relation����������� ������������������  properties를����������� ������������������  사용하여����������� ������������������  다른����������� ������������������  concept에����������� ������������������  링

크될����������� ������������������  수����������� ������������������  있다.

- skos:broader

- skos:narrower

- skos:related

Page 46: Semantic Web Tutorial

SKOS

ex:animal����������� ������������������  ����������� ������������������  rdf:type����������� ������������������  ����������� ������������������  skos:Concept����������� ������������������  ;

����������� ������������������  ����������� ������������������  skos:prefLabel����������� ������������������  "animals"����������� ������������������  ;

����������� ������������������  ����������� ������������������  skos:narrower����������� ������������������  ����������� ������������������  ex:mammals����������� ������������������  .

ex:mamals����������� ������������������  ����������� ������������������  rdf:type����������� ������������������  ����������� ������������������  skos:Concept����������� ������������������  ;

����������� ������������������  ����������� ������������������  skos:prefLabel����������� ������������������  "mammals"����������� ������������������  ;

����������� ������������������  ����������� ������������������  skos:broader����������� ������������������  ex:animals����������� ������������������  .

Page 47: Semantic Web Tutorial

Example����������� ������������������  of����������� ������������������  SKOS

skos:Conceptdb:dinosaurrdf:type

skos:definitionskos:prefLabel

Dinosaurus were... Dinosaur

Page 48: Semantic Web Tutorial

Example����������� ������������������  of����������� ������������������  SKOS

db:animals

Reptile

Bird

Animals

db:reptile

db:bird

skos:prefLabel

skos:prefLabel

skos:prefLabel

skos:broader

skos:narrower

skos:broaderskos:narrower

Page 49: Semantic Web Tutorial

DongbumKim

Sangwon Yang

foaf:Person

foaf:knows rel:friendsioc:follow

twitter

sangwon

sioc:User

foaf:Document

foaf:accountServiceHomepage

foaf:holdsAccount

sangwon on twitter

sioc:Forum/sioct:Microblog

!"!"1

!"!"3sioc:creator_of

sioc:creator_of

sioc:owner_of

sioc:Post

sioc:Post sioc:container_of

sioc:container_of

foaf:Person

twitter

eastkim

sioc:User

foaf:Document

foaf:accountServiceHomepage

foaf:holdsAccount

eastkim on twitter

sioc:Forum/sioct:Microblog

!"!"2

sioc:Post sioc:container_of

sioc:creator_of

sioc:owner_of

sioc:reply_of

Concept

Concept

sioc:topic

skos:narrower

sioc:topic

FOAF+SIOC+SKOS

Page 50: Semantic Web Tutorial
Page 51: Semantic Web Tutorial

Q/A