Creating Linked Data

Creating Linked Data
Juan F. Sequeda
Semantic Technology Conference
June 2011
Linked Data is a set of best practices
to publish and interlink data
on the web
Linked Data Principles
1. Use URIs as names for
2. Use HTTP URIs so that
people can look up
(dereference) those
3. When someone looks up
a URI, provide useful
4. Include links to other
URIs so that they can
discover more things.
1) Use URIs as names for things
1) Use URIs as names for things
• Uniform Resource Identifiers identify real
world objects and abstract concepts
– Not only web documents and digital content
– People, places, locations, my car
– Know somebody, from somewhere
1) Use URIs as names for things
1) Use URIs as names for things
– Identifies the person
– Identifies an RDF document
2) Use HTTP URIs so that people can
look up (dereference) those names.
2) Use HTTP URIs so that people can
look up (dereference) those names.
• HTTP protocol is the Web’s universal access
• Linked Data only uses HTTP URIs
– URI: unique name
– HTTP URI: universal means of access to the URI
• HTTP URIs should be dereferencable
Dereference a URI?
What’s with the redirection?
<div xmlns:dc=“”>
<h2 property=“dc:title”>The trouble with Bob</h2>
<h3 property=“dc:creator”>Alice</h3>
Minting HTTP URIs
• If you own the domain name and run a web
server at that location, mint URIs in this
• I own the domain
• I run a webserver
• I now can mint URIs in this namespace:
Create Cool URIs
• If you don’t control a namespace, don’t
misuse it
• Avoid implementation details
• Use Natural Keys within URI
Three different URIs
• URI for the real world object (non-information resource)
• URI for the HTML document (information resource) that describes
the real world object
• URI for the RDF document (information resource) that describes the
real world object
3) Provide useful information
3) Provide useful information
• How do we provide useful information in
document form on the web?  HTML
• How do we provide useful information in data
form on the web  RDF
• Different ways of serializing RDF
– RDFa
– N3
– turtle
subject – predicate – object
Coldplay is the artist of Viva la Vida
Coldplay is the artist of Viva la Vida
prefix dbpedia-owl: <>
prefix foaf: <>
prefix dbprop: <>
prefix geo: <>
<> <> <> .
<> <> <> .
<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:rdf="">
<dbpedia-owl:Band xmlns:dbpedia-owl=""
<dbpedia-owl:artist rdf:resource=""/>
@prefix rdf: <> .
a <> ;
<> <> .
My name is Bob Smith, but people call me Smithy. Here is my home page:
<a href=""></a>.
I live in Albuquerque, NM and work as an engineer at ACME Corp.
My friends:
<a href="">Darryl</a>,
<a href="">Edna</a>
<div xmlns:v="" typeof="v:Person">
My name is <span property="v:name">Bob Smith</span>,
but people call me <span property="v:nickname">Smithy</span>.
Here is my homepage:
<a href="" rel="v:url"></a>.
I live in
<span rel="v:address">
<span typeof="v:Address">
<span property="v:locality">Albuquerque</span>,
<span property="v:region">NM</span>
and work as an <span property="v:title">engineer</span>
at <span property="v:affiliation">ACME Corp</span>.
My friends:
<a href="" rel="v:friend">Darryl</a>,
<a href="" rel="v:friend">Edna</a>
What to publish?
• Literal Triples
• Outgoing Links
• Incoming Link
What to publish?
• Description of the data set
– Semantic Sitemaps
– voiD (Vocabulary of Interlinked Datasets)
• Provenance Metadata
• Licenses Information
Vocabularies (or Schemas or
• Create your own using
– Simple Knowledge Organization Systems (SKOS)
• Taxonomy
– RDF Vocabulary Description Language (RDF
• Light weight vocabularies
– Web Ontological Language (OWL)
• Highly expressive and capable of inferencing
Vocabularies (or Schemas or
• Reuse vocabularies
– Dublin Core: metadata attributes
– Friend of a Friend (FOAF): persons and relationships
– Semantically Interlinked Online Communities (SIOC):
describing users, posts, blogs, etc
– Description of a Project (DOAP)
– Music Ontology
– Programmes Ontology: TV and radio programs
– Good Relations: describing products and services
– Review Vocabulary
– Basic Geo (WGS84) Vocabulary
4) Include links to other things
4) Include links to other things
• Set external RDF links into other data sources
on the Web
– Subject of the triple is in the namespace of one
data set
– Object of the triple is a URI in the namespace of
another data set
• Connect siloed data islands
• Enable discovery
4) Include links to other things
• Relationship Links
• Identity Link
• Vocabulary Links
Which predicate for linking to choose?
• Depends on your domain
• Is it widely used?
– owl:sameAs
– foaf:knows
– foaf:based_near
• If you create your own, relate it to a widely
used predicate
How to create the links?
• Manually
– Works for small and static data sets
– I want to find another URI that identifies the same
real object that I have
• Sindice and Falcons provide index of URIs by keyword
• (Semi) Automatic
– Record Linkage/Identity Resolution/Co-reference
– Silk: