大象传媒

A skim-read introduction to linked data

Introductions

Software Engineer

Information Architect

大象传媒 Audio and Music

Some egg sucking

The internet

...provides a means to connect machines

The internet ≠ the web

World Wide Web

The web

...provides a means to connect documents

The web = the internet

The web = the internet + links

The web = the internet + links + documents

...or....

The web = the internet + http + html

Web standards

https://en.wikipedia.org/wiki/Web_standards#Common_usage

When a web site or web page is described as complying with web standards, it usually means that the site or page has valid or nearly valid HTML, CSS and JavaScript. The HTML should also meet accessibility and semantic guidelines.

We tend to obsess on the documents:

...at the expense of the links:

The trouble is...

...HTML has always been...

Everything that's good about the web comes from links

If you can point at something you can talk about it and share it

The web = the internet + http + html

<aside>

On SEO (sorry)

</aside>

Magazines are made of pages....

...websites are made of links

One problem with the web

We need to get from this...

a web of documents

..to this

a web of things

The other problem with the web...

...people can parse documents and extract meaning...

meaning

...but machines can't

no meaning

We need to help machines to understand the web...

...so machines can help us to understand things

The semantic web

Mk 1

<aside>

RDF

</aside>

The RDF data model

RDF

More examples

So what happened

Semweb mk 1 = the internet + http + rdf

<yet_another_aside>

On REST

If I ask for a document about Yves...

The key is

Content negotiation - what I want / what I accept

I'd like this resource about Yves, I speak English but I can just about get by in French and I'd like it for my mobile, please

Content negotiation - what I'm given

Can't do you English but I've got French and can send as xhtml-mp. Here you go

Not always successful

Content negotiation - what I want / what I accept

I'd like this resource about Yves, I speak English but I can just about get by in French and I'd like it for my mobile, please

Content negotiation - what I'm not given

I've got that resource but can only do German. 406

An honorary mention for One Web

If you can point at something you can talk about it and share it... universally

</yet_another_aside>

Back to linked data

Linked data

Linked data = the internet + http + rdf

Linked data = web standards

Design issues for linked data

Use URIs as names for things (my emphasis)

The map is not the territory

Non-information resources

We want to be able to make different claims about the thing and the document about the thing

So we need URIs for non-information resources - stuff that you can't send down wires

What happens if someone asks for a non-information resource?

I'd like Yves, and by the way I speak English but I can just about get by in French

What happens if someone asks for a non-information resource?

Yves will not fit down the wires but (303) I can give you some information about him in English

Comparing the microformats and linked data approaches

Given 2 websites...

One owned by Michael, one owned by Yves

The microformats approach: XFN @rel

Colleague, friend, met

The linked data approach: 2 new non-information resources...

one for Michael, one for Yves

...each with a homepage...

via foaf:homepage

...tying together the 2 people, not the 2 documents

via foaf:knows

Designing URIs for non-information resources

Hashes

Slashes

URIs in pictures: slash + 303 + conneg

slash uris

You need to be able to configure your server for 303s and content negotiation.

URIs in pictures: hash + conneg

hash uris

Cheaper setup - no need to set up for 303s although you still need content negotiation. Fewer round trips to server.

URIs in pictures: RDFa

RDFa uris

Cheapest setup - no need to set up for 303s or content negotiation.

So, what's the point?

Different people know (or claim to know) different things about the same topic

Linked data is a web-scale database

A special mention for owl:sameAs

owl:sameAs

When sameAs goes wrong

An example stolen from Tom Heath

When we declare sameAs we need to be careful

When using sameAs you need to decide

Ceci n'est pas une pipe...

...and this is not Hamlet

Photo of book cover of Hamlet

It is...

<aside>

FRBR

FRBR can also be used to describe music

Music ontology

</aside>

Once you've minted a URI for a non-information resource

Linked data can describe anything

There are vocabularies available for

And if an ontology doesn't exist

What's been made so far

Linking open data

The LOD cloud - baby steps

Linking open data cloud in 2007

The LOD cloud - today

Linking open data cloud in 2009

Fin!

Questions?