freebase, rdf and the semantic web

73
SF Semantic Web Meet-up May 2009 Colin Evans + Jamie Taylor A socially managed semantic database

Upload: jamie-taylor

Post on 01-Nov-2014

12.054 views

Category:

Technology


2 download

DESCRIPTION

A presentation to the SF Semantic Web Meet-up (5/14/09) describing Freebase and its connection to RDF, Linked Data and the Semantic Web.

TRANSCRIPT

Page 1: Freebase, RDF and the Semantic Web

SF Semantic Web Meet-up May 2009 Colin Evans + Jamie Taylor

A socially managed semantic database

Page 2: Freebase, RDF and the Semantic Web

A Brief History of Data Modeling

Photo CC-BY: http://en.wikipedia.org/wiki/File:McDonalds_on_Interstate_44.jpg

Page 3: Freebase, RDF and the Semantic Web

Ugly Tabular Data

Page 4: Freebase, RDF and the Semantic Web

A Simple Restaurant Schema

Page 5: Freebase, RDF and the Semantic Web

A Simple Restaurant Schema

Page 6: Freebase, RDF and the Semantic Web

A Big, Ugly Schema

Page 7: Freebase, RDF and the Semantic Web

What Went Wrong?

• Things change

• Requirements change

• User expectations change

• Data structures change

• Our data models aren’t keeping up

Page 8: Freebase, RDF and the Semantic Web

Using Graphs to Model Data

Page 9: Freebase, RDF and the Semantic Web

Metadata is Data

• Relationships are represented explicitly

• Schema can be represented as a graph

• Data integration is the union of two graphs

• This makes creating, extending, and combining data much easier than before

Page 10: Freebase, RDF and the Semantic Web

A

B

C

EF

E

D

C

B

A

Data Integration

Page 11: Freebase, RDF and the Semantic Web

• Semantics facilitate shared meaning through

• Subject Identity

• Strong and Consistent Semantics

• Open APIS + Open Data

• These principles make it much easier to extend, combine, and integrate data

Why Does This Work?

Page 12: Freebase, RDF and the Semantic Web

What is Freebase?

• Structured Database

• Strong Collaboratively Edited Subjects

• Strong Collaboratively Developed Semantics

• Open API + Open Data

Page 13: Freebase, RDF and the Semantic Web

Freebase is a database of things.

Page 14: Freebase, RDF and the Semantic Web
Page 15: Freebase, RDF and the Semantic Web
Page 16: Freebase, RDF and the Semantic Web
Page 17: Freebase, RDF and the Semantic Web
Page 18: Freebase, RDF and the Semantic Web
Page 19: Freebase, RDF and the Semantic Web
Page 20: Freebase, RDF and the Semantic Web
Page 21: Freebase, RDF and the Semantic Web
Page 22: Freebase, RDF and the Semantic Web
Page 23: Freebase, RDF and the Semantic Web
Page 24: Freebase, RDF and the Semantic Web

5,203,825 Topics

14,110,006 Named Entities

Page 25: Freebase, RDF and the Semantic Web
Page 26: Freebase, RDF and the Semantic Web

Users can write to Freebase+ add entities+ add properties+ create data models!

Page 27: Freebase, RDF and the Semantic Web

All objects in Freebase have strong identifiers!

Page 28: Freebase, RDF and the Semantic Web
Page 29: Freebase, RDF and the Semantic Web
Page 30: Freebase, RDF and the Semantic Web
Page 31: Freebase, RDF and the Semantic Web
Page 32: Freebase, RDF and the Semantic Web
Page 33: Freebase, RDF and the Semantic Web
Page 34: Freebase, RDF and the Semantic Web

/guid/9202a8c04000641f8000000000009d0e

/business/cik/0000012927

/wikipedia/en_id/3709

/wikipedia/en/Boeing

/en/boeing

NYSE: BATYO: 7661

Page 36: Freebase, RDF and the Semantic Web

Topics in Freebase are Unique(no two Topics represent the same thing)

Page 37: Freebase, RDF and the Semantic Web

BoeingMarket Capitalization

CEO

Airc

raft

Man

ufac

ture

d Ticker Symbol

Subsidiaries

CIK Code

SIC Code

Operating IncomeDate Founded

Hea

dqua

rter

sP

olitica

l Contrib

utio

ns

Rock

ets

Manufa

cture

d

Once you access an object in Freebase you have access to all facets of information

Page 38: Freebase, RDF and the Semantic Web

What are people doing with the results?

Page 39: Freebase, RDF and the Semantic Web
Page 40: Freebase, RDF and the Semantic Web
Page 41: Freebase, RDF and the Semantic Web
Page 42: Freebase, RDF and the Semantic Web
Page 43: Freebase, RDF and the Semantic Web
Page 44: Freebase, RDF and the Semantic Web
Page 45: Freebase, RDF and the Semantic Web

Microsoft Political Blog

Page 46: Freebase, RDF and the Semantic Web
Page 47: Freebase, RDF and the Semantic Web
Page 48: Freebase, RDF and the Semantic Web

What else can you do with Freebase?

Page 49: Freebase, RDF and the Semantic Web

Use Freebase to publish into the LOD Cloud

Page 50: Freebase, RDF and the Semantic Web
Page 51: Freebase, RDF and the Semantic Web

<fb:people.sibling_relationship rdf:about="http://rdf.freebase.com/ns/guid.9202a8c04000641f8000000004598a74"> <fb:people.sibling_relationship.sibling

rdf:resource="http://rdf.freebase.com/ns/en.carlene_barous"/> <fb:people.sibling_relationship.sibling

rdf:resource="http://rdf.freebase.com/ns/en.terri_brosius"/> </fb:people.sibling_relationship>

http://rdf.freebase.com/ns/en.terri_brosius

Page 52: Freebase, RDF and the Semantic Web

RDFa

Page 53: Freebase, RDF and the Semantic Web

<span xmlns:v="http://rdf.data-vocabulary.org/" typeof="v:Review">

<span rel="v:itemReviewed"> <span about="http://komalavilas.com" property="v:name" typeof="v:Restaurant">Komala Vilas</span> </span>

<span rel="v:reviewer"> <span about="http://rdf.freebase.com/ns/en.s_meenakshi_ammal" property="v:name">Meenakshi Ammal</span> </span>

<span property="v:rating" >3.7</span> <span property="v:date">1st April 2005</span> <span property="v:summary">

Best south Indian vegetarian food in the bay area</span>

</span>

An example of an RDFa Restaurant Review

Page 54: Freebase, RDF and the Semantic Web

5,203,825 Topics

14,110,006 Named Entities

Page 55: Freebase, RDF and the Semantic Web

Freebase Suggest

http://code.google.com/p/freebase-suggest/

Page 56: Freebase, RDF and the Semantic Web

ACRE: The Freebase Javascript Development Environment

Page 57: Freebase, RDF and the Semantic Web

The Acre application environment

Page 58: Freebase, RDF and the Semantic Web

A source of Vocabularies

Page 59: Freebase, RDF and the Semantic Web

Freebase is a database of types.

A source of Vocabularies

Page 60: Freebase, RDF and the Semantic Web
Page 61: Freebase, RDF and the Semantic Web
Page 62: Freebase, RDF and the Semantic Web
Page 63: Freebase, RDF and the Semantic Web

publ

ic d

omai

n ph

oto:

htt

p://e

n.w

ikip

edia

.org

/wik

i/File

:Sw

issR

eHQ

.jpg

Page 64: Freebase, RDF and the Semantic Web

phot

o by

Jam

ie

Page 65: Freebase, RDF and the Semantic Web
Page 66: Freebase, RDF and the Semantic Web
Page 67: Freebase, RDF and the Semantic Web

Can’t find a vocabulary you need?

Write your own!

Page 68: Freebase, RDF and the Semantic Web
Page 69: Freebase, RDF and the Semantic Web

sameas.freebase.com

Page 70: Freebase, RDF and the Semantic Web

/en/ibm

sameas.freebase.com

CIK0000051143

GovTrack

Page 71: Freebase, RDF and the Semantic Web

MQL: Metaweb Query Language

{ “id”:”/en/ibm”, “type”:”/business/company”, “founded”:null}

Query:

July 15, 1916

Page 72: Freebase, RDF and the Semantic Web

MQL Extensions + sameAs Map

{ “id”:”/en/ibm”, “type”:”/business/company”, “lod”:[{ }]}

Query:

Page 73: Freebase, RDF and the Semantic Web