Top Banner
A socially managed semantic database
40
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: NYC Semantic Web Meetup -  Aug 2009

A socially managed semantic database

Page 2: NYC Semantic Web Meetup -  Aug 2009
Page 3: NYC Semantic Web Meetup -  Aug 2009
Page 4: NYC Semantic Web Meetup -  Aug 2009
Page 5: NYC Semantic Web Meetup -  Aug 2009
Page 6: NYC Semantic Web Meetup -  Aug 2009
Page 7: NYC Semantic Web Meetup -  Aug 2009

All objects in Freebase have strong identifiers

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

Page 8: NYC Semantic Web Meetup -  Aug 2009

government position held

topic:United States

Senator

topic:Barack Obama

Freebase

topic:UBS AG

took money from

topic:Barack Obama

CRP

topic:UBS AG

topic:Switzerland

is based in

SWX listing

Graph Merging Magic

Page 9: NYC Semantic Web Meetup -  Aug 2009

government position held

topic:United States

Senator

topic:Barack Obama

Freebase

topic:UBS AG

took money from

topic:UBS AG

topic:Switzerland

is based in

SWX listing

Graph Merging Magic

Page 10: NYC Semantic Web Meetup -  Aug 2009

government position held

topic:United States

Senator

topic:Barack Obama

Freebase

topic:UBS AG

took money from

topic:Switzerland

is based in

Graph Merging Magic

Page 11: NYC Semantic Web Meetup -  Aug 2009

government position held

topic:United States

Senator

topic:Barack Obama

Freebase

topic:UBS AG

took money from

topic:Switzerland

is based in

Contributions over $50000 made to members of the US congress in the 2008 election cycle by companies

headquartered outside of the United States

Page 12: NYC Semantic Web Meetup -  Aug 2009

Industry Browser

http://kiwitobes.com/industry_mashup/

Page 13: NYC Semantic Web Meetup -  Aug 2009

Industry Browser Identity Model

Industry (USCB)NAICS

Industry (SEC)SIC

NAICS/SIC MapFreebase

CompanyCIKSEC

PeopleCIKSEC

PersonWikipediaFreebase

CompanyCRP IDCRP

DonationsCRP IDCRP

LocationZIP Code

Freebase

CompanyTicker

SEC

Article

Wikipedia

Page 14: NYC Semantic Web Meetup -  Aug 2009

Freebase Suggest

Page 16: NYC Semantic Web Meetup -  Aug 2009

Using Freebase Suggest

<link type="text/css" rel="stylesheet" href="http://freebaselibs.com/static/suggest/0.9.3/suggest.min.css"/> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>

<script type="text/javascript" src="http://freebaselibs.com/static/suggest/0.9.3/suggest.min.js"></script>

<script type="text/javascript"> jQuery(function($) { $('#myinput').suggest({'type':'/my/type'}) .bind("fb-select", function(e, data) { myupdate(data.id); }); });

</script>

Page 17: NYC Semantic Web Meetup -  Aug 2009

Freebase is user writable

Don’t have a topic that you need need?

ADD IT!

Page 18: NYC Semantic Web Meetup -  Aug 2009

Data Model

John Krasinski

Person, Actor

The Office (US)TV Program

stars in starred in

Leatherheads

Film

Brown UniversityCollege/university

attended

Page 19: NYC Semantic Web Meetup -  Aug 2009

Users extend the data model

Don’t have a topic that you need need?

ADD IT!

Page 20: NYC Semantic Web Meetup -  Aug 2009

schema = vocabulary

Page 21: NYC Semantic Web Meetup -  Aug 2009

A range of of vocabularies....

1500 types with 500+ instances!!

Page 22: NYC Semantic Web Meetup -  Aug 2009

MQL

[{ "name" : null, "type" : "/film/film"}]

Page 23: NYC Semantic Web Meetup -  Aug 2009

MQL

[{ "name" : null, "type" : "/film/film",

"directed_by":"George Lucas"}]

Page 24: NYC Semantic Web Meetup -  Aug 2009

MQL

[{ "name" : null, "type" : "/film/film",

"directed_by":{"id":"/en/george_lucas"}}]

Page 25: NYC Semantic Web Meetup -  Aug 2009

[{ "name" : null, "type" : "/film/film",

"directed_by":{"id":"/en/george_lucas"}, "starring":[{

"actor":null}]

}]

Film Performance Actor

Page 26: NYC Semantic Web Meetup -  Aug 2009

[{ "name" : null, "type" : "/film/film",

"directed_by":{"id":"/en/george_lucas"}, "starring":[{

"actor":{"id":"/en/harrison_ford"}}]

}]

MQL

Page 27: NYC Semantic Web Meetup -  Aug 2009

[{ "name" : null, "type" : "/film/film",

"directed_by":{"id":"/en/george_lucas"}, "starring": [{ "actor": { "name": null, "film": [{ "film": {"id": "/en/the_great_escape"} }] } }]}]

Donald PleasenceTHX 1138

Page 28: NYC Semantic Web Meetup -  Aug 2009

A Semantic Publishing Platform

Page 29: NYC Semantic Web Meetup -  Aug 2009

http://rdf.freebase.com/

Page 30: NYC Semantic Web Meetup -  Aug 2009
Page 31: NYC Semantic Web Meetup -  Aug 2009

Freebase Schema in RDFShttp://rdfvocab.freebaseapps.com/fb2rdfs?domain=/film<rdf:RDF> <rdf:Description rdf:about="http://rdf.freebase.com/ns/film.film"> <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Class"/> <label>Film</label> </rdf:Description> <rdf:Description rdf:about="http://rdf.freebase.com/ns/film.film.initial_release_date"> <rdf:type rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/> <label>Initial release date</label> <domain rdf:resource="http://rdf.freebase.com/ns/film.film"/> <range rdf:resource="http://rdf.freebase.com/ns/type.datetime"/> </rdf:Description> <rdf:Description rdf:about="http://rdf.freebase.com/ns/type.datetime"> <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Class"/> <label>Date/Time</label> </rdf:Description> <rdf:Description rdf:about="http://rdf.freebase.com/ns/film.film.directed_by"> <rdf:type rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/> <label>Directed by</label> <domain rdf:resource="http://rdf.freebase.com/ns/film.film"/> <range rdf:resource="http://rdf.freebase.com/ns/film.director"/> </rdf:Description> <rdf:Description rdf:about="http://rdf.freebase.com/ns/film.director"> <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Class"/> <label>Film director</label>

Page 32: NYC Semantic Web Meetup -  Aug 2009
Page 33: NYC Semantic Web Meetup -  Aug 2009

We believe this for code, why not data?

Designing for change

Page 34: NYC Semantic Web Meetup -  Aug 2009

Graph Stores

Page 35: NYC Semantic Web Meetup -  Aug 2009

Portability

Data

Data

Data

Data

Semantics allows an application to utilize unanticipated new data sources

Data

Data

Data

Data

Semantics allows data to be utilized by unanticipated new applications

Plug-able

Page 36: NYC Semantic Web Meetup -  Aug 2009

DATA

Application Ecosystem

DATA

Consume RepublishProcess

Page 37: NYC Semantic Web Meetup -  Aug 2009

Application Ecosystem

Page 38: NYC Semantic Web Meetup -  Aug 2009

rel=license

Page 39: NYC Semantic Web Meetup -  Aug 2009

Strong Identifiers

Strong Semantics

Open Data

Page 40: NYC Semantic Web Meetup -  Aug 2009