Publishing Web data

Master DSC & CPS²

Antoine Zimmermann

Use arrows to navigate through the slides
 →  or  ↓  to go one slide forward
 ←  or  ↑  go one slide backward
   to go to the first slide
End to go to the last slide

1

Publishing RDF on the Web

2

Linked Data Principles

  1. Use URIs as names for things
  2. Use HTTP URI so that people can look up those names
  3. When someone looks up a URI, provide useful information, using the standards (RDF*, SPARQL)
  4. Include links to other URIs. so that they can discover more things.

See: Linked Data. Tim Berners-Lee’s design issues. July 2006 (revised June 2009)

See also: Tim Berners-Lee’s TED talk. Feb. 2009

3

Linked Data Principles

  1. Use IRIs as names for things
  2. Use HTTP IRI so that people can look up those names
  3. When someone looks up a IRI, provide useful information, using the standards (RDF*, SPARQL)
  4. Include links to other IRIs. so that they can discover more things.
4

Data should go FAIR!

5

Dereferenceing

6

What do HTTP URIs identify?

Rule of thumb:
If a URL directly locates a document then the URL must identify the document
7

W3C Technical Architecture Group advice

Warning: controversial decision of the TAG, discussions on this issue have been occasionnally showing up on mailing lists since 2002!

8

Slash IRIs (1)

Slash IRIs (1)

Hash IRIs

See also: Cool URIs for the Semantic Web – W3C Interest Group Note 3 December 2008

11

Means of publishing RDF

12

Existing online RDF datasets

13

Finding existing vocabularies

14

Build your own vocabulary

15

Case 1: Build linked data from text

The new iPhone 42, manufactured by Apple Inc., is sold by D. Adams Business Co. at $1499, but currently it is on sale at $1299 until 31st October 2025.
16

Case 2: Build linked data from existing data

TeamIDNameCountryCoach
FRAXV de FranceFranceLaporte
NZLAll BlacksNew ZealandHenry
ENGXV of the RoseEnglandAshton
PlayerIDNameTeamIDPosition
1Vincent ClercFRAwing
2Lionel BeauxisFRAflyhalf
3Joe RokocokoNZLwing
17

Case :UML to RDF vocabulary

Usually, these translations are appropriate:

18

RDF files and RDF APIs

19

Storing and managing RDF

20

Linked Data Platform

@base <http://example.com/ldp/>
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix ldp: <http://www.w3.org/ns/ldp#> .
<subfolder>  a  ldp:Container;
    dct:created  
        "2021-10-01T13:30:30+02:00"^^xsd:dateTime;
    ldp:contains
      <this>,
      <that>,
      <it> .
21

Using a Linked Data Platform

22