A socially managed semantic database
All objects in Freebase have strong identifiers




http://rdf.freebase.com/ns/en.yorkie
Graph Merging Magic


          topic:                topic:             topic:
   Barack Obama            Barack Obama        Switzerland



government position held   took money from      is based in



          topic:
                                topic:             topic:
    United States                               UBS AG
                              UBS AG
      Senator




   Freebase                   CRP            SWX listing
Graph Merging Magic


                                  topic:                                     topic:
                            Barack Obama                                 Switzerland



             government position held      took money from                is based in



    topic:
                                                              topic:         topic:
United States                                                             UBS AG
                                                             UBS AG
  Senator




                            Freebase                                   SWX listing
Graph Merging Magic


                                  topic:                                                topic:
                            Barack Obama                                             Switzerland



             government position held      took money from             is based in



    topic:
                                                              topic:
United States
                                                             UBS AG
  Senator




                                                  Freebase
Contributions over $50000 made to members of the
US congress in the 2008 election cycle by companies
    headquartered outside of the United States

                                        topic:                                                topic:
                                  Barack Obama                                             Switzerland



                   government position held      took money from             is based in



          topic:
                                                                    topic:
      United States
                                                                   UBS AG
        Senator




                                                        Freebase
Industry Browser




http://kiwitobes.com/industry_mashup/
Industry Browser Identity Model
Industry (USCB)         Company              Company              Donations
    NAICS                Ticker        CRP    CRP ID     CRP       CRP ID

       NAICS/SIC Map
                            SEC
          Freebase


Industry (SEC)          Company               People               Person
     SIC          SEC     CIK          SEC     CIK     Freebase   Wikipedia

                            Freebase                                  Wikipedia


                        Location                                   Article
                        ZIP Code
Freebase Suggest
http://dev.freebaseapps.com/docs/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>

            Using Freebase Suggest
Don’t have a topic that you need need?

                 ADD IT!




Freebase is user writable
The Office (US)                                        Leatherheads
TV Program                                            Film




                 stars in                         starred in




                             John Krasinski
                             Person, Actor




                                       attended




                             Brown University
                             College/university




                            Data Model
Don’t have a topic that you need need?

                  ADD IT!




Users extend the data model
schema = vocabulary
1500 types with 500+ instances!!




A range of of vocabularies....
[{
     "name" : null,
     "type" : "/film/film"
}]




         MQL
[{
     "name" : null,
     "type" : "/film/film",
     "directed_by":"George Lucas"
}]




                    MQL
[{
     "name" : null,
     "type" : "/film/film",
     "directed_by":{"id":"/en/george_lucas"}
}]




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




Film                      Performance                  Actor
[{
     "name" : null,
     "type" : "/film/film",
     "directed_by":{"id":"/en/george_lucas"},
     "starring":[{
            "actor":{"id":"/en/harrison_ford"}
         }]
}]




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


                     Donald Pleasence
                        THX 1138
A Semantic Publishing Platform
http://rdf.freebase.com/
Freebase Schema in RDFS
http://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>
Designing for change




We believe this for code, why not data?
Graph Stores
Data            Data
                        Portability
                        Semantics allows data to
                        be utilized by
                Data
                        unanticipated new
                        applications
Data




         Data          Plug-able
                       Semantics allows an
Data



                       application to utilize
                       unanticipated new
  Data




         Data
                       data sources
Consume   Process   Republish



DATA                DATA




  Application Ecosystem
Application Ecosystem
rel=license
Strong Identifiers

Strong Semantics

   Open Data
NYC Semantic Web Meetup -  Aug 2009

NYC Semantic Web Meetup - Aug 2009

  • 1.
    A socially managedsemantic database
  • 7.
    All objects inFreebase have strong identifiers http://rdf.freebase.com/ns/en.yorkie
  • 8.
    Graph Merging Magic topic: topic: topic: Barack Obama Barack Obama Switzerland government position held took money from is based in topic: topic: topic: United States UBS AG UBS AG Senator Freebase CRP SWX listing
  • 9.
    Graph Merging Magic topic: topic: Barack Obama Switzerland government position held took money from is based in topic: topic: topic: United States UBS AG UBS AG Senator Freebase SWX listing
  • 10.
    Graph Merging Magic topic: topic: Barack Obama Switzerland government position held took money from is based in topic: topic: United States UBS AG Senator Freebase
  • 11.
    Contributions over $50000made to members of the US congress in the 2008 election cycle by companies headquartered outside of the United States topic: topic: Barack Obama Switzerland government position held took money from is based in topic: topic: United States UBS AG Senator Freebase
  • 12.
  • 13.
    Industry Browser IdentityModel Industry (USCB) Company Company Donations NAICS Ticker CRP CRP ID CRP CRP ID NAICS/SIC Map SEC Freebase Industry (SEC) Company People Person SIC SEC CIK SEC CIK Freebase Wikipedia Freebase Wikipedia Location Article ZIP Code
  • 14.
  • 15.
  • 16.
    <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> Using Freebase Suggest
  • 17.
    Don’t have atopic that you need need? ADD IT! Freebase is user writable
  • 18.
    The Office (US) Leatherheads TV Program Film stars in starred in John Krasinski Person, Actor attended Brown University College/university Data Model
  • 19.
    Don’t have atopic that you need need? ADD IT! Users extend the data model
  • 20.
  • 21.
    1500 types with500+ instances!! A range of of vocabularies....
  • 22.
    [{ "name" : null, "type" : "/film/film" }] MQL
  • 23.
    [{ "name" : null, "type" : "/film/film", "directed_by":"George Lucas" }] MQL
  • 24.
    [{ "name" : null, "type" : "/film/film", "directed_by":{"id":"/en/george_lucas"} }] MQL
  • 25.
    [{ "name" : null, "type" : "/film/film", "directed_by":{"id":"/en/george_lucas"}, "starring":[{ "actor":null }] }] Film Performance Actor
  • 26.
    [{ "name" : null, "type" : "/film/film", "directed_by":{"id":"/en/george_lucas"}, "starring":[{ "actor":{"id":"/en/harrison_ford"} }] }] MQL
  • 27.
    [{ "name" : null, "type" : "/film/film", "directed_by":{"id":"/en/george_lucas"}, "starring": [{ "actor": { "name": null, "film": [{ "film": {"id": "/en/the_great_escape"} }] } }] }] Donald Pleasence THX 1138
  • 28.
  • 29.
  • 31.
    Freebase Schema inRDFS http://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>
  • 33.
    Designing for change Webelieve this for code, why not data?
  • 34.
  • 35.
    Data Data Portability Semantics allows data to be utilized by Data unanticipated new applications Data Data Plug-able Semantics allows an Data application to utilize unanticipated new Data Data data sources
  • 36.
    Consume Process Republish DATA DATA Application Ecosystem
  • 37.
  • 38.
  • 39.