skos & linked data - trinity college dublin 4d2b...skos & linked data alexander o’connor ...

54
SKOS & Linked Data Alexander O’Connor <[email protected] > 1 Tuesday 6 March 12

Upload: others

Post on 04-Jun-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

SKOS & Linked DataAlexander O’Connor

<[email protected]>

1

Tuesday 6 March 12

Page 2: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

Agenda•RDF Recap•Vocabularies, Thesauri, KOSes•SKOS•SKOS-Mapping•Other Key Linked Data Vocabularies

•Dublin Core•Organisations•FOAF

•Linking Data•Asssignment

2

Tuesday 6 March 12

Page 3: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

How do we Establish

a Common Understanding?3

Tuesday 6 March 12

Page 4: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

How do we Establish

a Common Understanding?

Agreed set of words (Vocabulary)

3

Tuesday 6 March 12

Page 5: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

How do we Establish

a Common Understanding?

Agreed set of words (Vocabulary)

Agreed set of word groups (Thesaurus)

3

Tuesday 6 March 12

Page 6: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

How do we Establish

a Common Understanding?

Agreed set of words (Vocabulary)

Agreed set of word groups (Thesaurus)

Agreed word Hierarchy (Taxonomy)

3

Tuesday 6 March 12

Page 7: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

How do we Establish

a Common Understanding?

Agreed set of words (Vocabulary)

Agreed set of word groups (Thesaurus)

Agreed word Hierarchy (Taxonomy)

Agreed Concepts & Relationships (Ontology)

3

Tuesday 6 March 12

Page 8: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

How do we Establish

a Common Understanding?4

Tuesday 6 March 12

Page 9: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

How do we Establish

a Common Understanding?

Agreed File Format

4

Tuesday 6 March 12

Page 10: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

How do we Establish

a Common Understanding?

Agreed File Format

Agreed Character Set

4

Tuesday 6 March 12

Page 11: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

How do we Establish

a Common Understanding?

Agreed File Format

Agreed Character Set

Agreed Transfer Protocol

4

Tuesday 6 March 12

Page 12: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

How do we Establish

a Common Understanding?

Agreed File Format

Agreed Character Set

Agreed Transfer Protocol

Agreed Representation

4

Tuesday 6 March 12

Page 13: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

RDF Recap

http://www.sxc.hu/photo/3328725

Tuesday 6 March 12

Page 14: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

aBook

RDF Graph

6

Tuesday 6 March 12

Page 15: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

“Javascript”^^xsd:String

aBookhasTitle

RDF Graph

7

Tuesday 6 March 12

Page 16: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

“Javascript”^^xsd:String

aBookhasTitle

0596000480^^xsd:integerhasIsbn

RDF Graph

8

Tuesday 6 March 12

Page 17: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

“Javascript”^^xsd:String

aBookhasTitle

0596000480^^xsd:integerhasIsbn

aPublisherhasPublisher

“O’Reilly”^^xsd:StringhasName

RDF Graph

9

Tuesday 6 March 12

Page 18: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

“Javascript”^^xsd:String

aBookhasTitle

0596000480^^xsd:integerhasIsbn

aPublisherhasPublisher

“O’Reilly”^^xsd:StringhasName

aBook aPublisher

is-ais-a

RDF Graph

10

Tuesday 6 March 12

Page 19: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

Turtle

@PREFIX Ex:<http://example.com/>

exampleOne a Ex:Example.

exampleOne hasColour “Red”@en.

exampleOne hasOther Ex:ExampleTwo.

11

Tuesday 6 March 12

Page 20: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

Exercise 1: Write Triples

“Javascript”^^xsd:String

aBookhasTitle

0596000480^^xsd:integerhasIsbn

aPublisherhasPublisher

“O’Reilly”^^xsd:StringhasName

aBook aPublisher

is-ais-a

12

Tuesday 6 March 12

Page 21: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

SPARQLPREFIX Bib: <http://ex.org/Bib/>

SELECT ?isbn, ?title

WHERE {

?Book a Bib:Book.

?Book Bib:isbn ?isbn.

?title Bib:title "Javascript" .

}

?Book

?isbn

“Javascript”hasTitle

hasIsbn

13

Tuesday 6 March 12

Page 22: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

SKOS

http://www.sxc.hu/photo/85963414

Tuesday 6 March 12

Page 23: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

SimpleKnowledgeOrganisationSystem

(for the web)15

Tuesday 6 March 12

Page 24: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

SimpleKnowledgeOrganisationSystem

(for the web)16

Tuesday 6 March 12

Page 25: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

SimpleKnowledgeOrganisationSystem

(for the web)

Simple, machine readable format for

KOS

16

Tuesday 6 March 12

Page 26: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

SimpleKnowledgeOrganisationSystem

(for the web)

Simple, machine readable format for

KOS

Small Core with extensions

16

Tuesday 6 March 12

Page 27: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

SimpleKnowledgeOrganisationSystem

(for the web)

Simple, machine readable format for

KOS

Small Core with extensions

Support Decentralised,

Information Sharing

16

Tuesday 6 March 12

Page 28: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

Some SKOS Applications

2.1 Use Case #1 — An integrated view to medieval illuminated manuscripts

• 2.2 Use Case #2 — Bio-zen ontology framework for representing scientific discourse in life science

• 2.3 Use Case #3 — Semantic search service across mapped multilingual thesauri in the agriculture domain

• 2.4 Use Case #4 — Supporting product life cycle• 2.5 Use Case #5 — CHOICE@CATCH ranking of candidate terms for

description of radio and TV programs• 2.6 Use Case #6 — BIRNLex: a lexicon for neurosciences• 2.7 Use Case #7 — Radlex: a lexicon for radiology• 2.8 Use Case #8 — NSDL Metadata Registry

http://www.w3.org/TR/2009/NOTE-skos-ucr-2009081817

Tuesday 6 March 12

Page 29: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

Some SKOS Applications

2.1 Use Case #1 — An integrated view to medieval illuminated manuscripts

• 2.2 Use Case #2 — Bio-zen ontology framework for representing scientific discourse in life science

• 2.3 Use Case #3 — Semantic search service across mapped multilingual thesauri in the agriculture domain

• 2.4 Use Case #4 — Supporting product life cycle• 2.5 Use Case #5 — CHOICE@CATCH ranking of candidate terms for

description of radio and TV programs• 2.6 Use Case #6 — BIRNLex: a lexicon for neurosciences• 2.7 Use Case #7 — Radlex: a lexicon for radiology• 2.8 Use Case #8 — NSDL Metadata Registry

http://www.w3.org/TR/2009/NOTE-skos-ucr-2009081818

Tuesday 6 March 12

Page 30: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

Exercise 2

•Examine the Library of Congress Subject Headings

•What classes/properties would you suggest?

http://www.loc.gov/aba/cataloging/classification/lcco/lcco_q.pdf

19

Tuesday 6 March 12

Page 34: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

Labels

http://www.slideshare.net/seanb/skos-past-present-and-future

•Lexical Labels associated with Concepts•Preferred: one per language•Alternate: variants •Hidden: mis-spellings

•No domains stated, so usage possible on any resource.

•Labels pairwise disjoint.

•Label Extension (SKOS-XL) provides additional support for descriptions of labels and links

between them•E.g. acronyms, abbreviations

23

Tuesday 6 March 12

Page 36: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

Semantic Relations

http://www.slideshare.net/seanb/skos-past-present-and-future

•Hierarchical and Associative (Taxonomy & Thesaurus)•Broader/Narrower

•Loose (i.e. no formal) semantics•A publishing vehicle, not a set of

thesaurus construction guidelines•Domain/Range restrictions on semantic relations•Broader/narrower not transitive in SKOS

25

Tuesday 6 March 12

Page 37: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

Library of Congress

27

Tuesday 6 March 12

Page 39: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

SKOS Mapping• Used to state mapping (alignment) links between SKOS concepts in

different concept schemes

• Hierarchichal

• skos:broadMatch

• skos:narrowMatch

• Associative

• skos:relatedMatch

• Equivalence

• skos:closeMatch

• skos:exactMatch

29

equivalent in some sensenot transitive

strongly equivalentis transitive

Tuesday 6 March 12

Page 40: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

Common Vocabularies

http://www.sxc.hu/photo/33803830

Tuesday 6 March 12

Page 41: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

Reuse, reuse, reuse

Distributed, Decentralised Knowledge Organisation System

31

Tuesday 6 March 12

Page 42: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

Reuse, reuse, reuse

Distributed, Decentralised Knowledge Organisation System

32

Tuesday 6 March 12

Page 43: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

Reuse, reuse, reuse

Distributed, Decentralised Knowledge Organisation System

33

Tuesday 6 March 12

Page 44: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

Documents: Dublin Core• Properties in the /terms/namespace

• abstract, accessRights, accrualMethod, accrualPeriodicity, accrualPolicy, alternative, audience, available, bibliographicCitation, conformsTo, contributor, coverage, created, creator, date,dateAccepted, dateCopyrighted, dateSubmitted, description, educationLevel, extent, format, hasFormat, hasPart, hasVersion, identifier, instructionalMethod, isFormatOf, isPartOf,isReferencedBy, isReplacedBy, isRequiredBy, issued, isVersionOf, language, license, mediator, medium, modified, provenance, publisher, references, relation, replaces, requires, rights,rightsHolder, source, spatial, subject, tableOfContents, temporal, title, type, valid

• Properties in the legacy/elements/1.1/namespace

• contributor, coverage, creator, date, description, format, identifier, language, publisher, relation, rights, source, subject, title, type

34

Tuesday 6 March 12

Page 45: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

People: FOAF

http://xmlns.com/foaf/spec/

35

Tuesday 6 March 12

Page 46: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

Organisations

http://www.epimorphics.com/public/vocabulary/org.html36

Tuesday 6 March 12

Page 48: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

38

Tuesday 6 March 12

Page 49: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

Linked Open Data

1.On the Web, Open License

2.Machine Readable

3.Non-proprietary Format

4.RDF Standards

5. Linked RDF

39

Tuesday 6 March 12

Page 50: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

Linked Open Data

1.On the Web, Open License

2.Machine Readable

3.Non-proprietary Format

4.RDF Standards

5. Linked RDF

40

Tuesday 6 March 12

Page 51: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

How to Link Data?•Links happen at the instance level

•cf. Hyperlinks in HTML

•OWL:SameAs -- equivalence

•RDF:SeeAlso -- associative

Bib:aBook OWL:SameAs DBPedia:aBook.

41

Tuesday 6 March 12

Page 52: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

owl:sameAs• http://www4.wiwiss.fu-berlin.de/eurostat/resource/regions/Berlin• fbase:Berlin• http://linkedgeodata.org/triplify/node/240109189#id• http://sws.geonames.org/2950159/

DBPedia Berlin

• Can use one concept list to query another databse:• ask Geonames about the concept known in DBPedia as Berlin

http://dbpedia.org/page/Berlin

42

Tuesday 6 March 12

Page 53: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

Summary•Organise Knowledge to suit

•Distributed

•Decentralised

•SKOS for terms, builds on RDF

•Reuse common Vocabularies for everything else

•Interlink Instances

43

Tuesday 6 March 12

Page 54: SKOS & Linked Data - Trinity College Dublin 4D2b...SKOS & Linked Data Alexander O’Connor  1 Tuesday 6 March 12

Links

•http://dublincore.org/resources/training/NISO_Webinar_20120222/NISO-DCMI_Webinar_20120222.pdf

•http://www.sameas.org

•http://wordnet.princeton.edu

45

Tuesday 6 March 12