SlideShare uma empresa Scribd logo
1 de 44
Baixar para ler offline
Digital Enterprise Research Institute                                                                   www.deri.ie




                                        The state of RDF in Drupal 7
                                                      -
                                           DrupalCon Paris 2009
                                                                       Stéphane “scor” Corlosquet




    scorlosquet@gmail.com
§
                                                                                 Chapter            1
! Copyright 2008 Digital Enterprise Research Institute. All rights reserved.                             www.deri.org
Presentation outline
Digital Enterprise Research Institute     www.deri.ie


       ! The current web
       ! The vision of the Semantic Web
       !   Semantic Web technologies
       !   Initiatives and projects
            " Data      portability
            " Linking        Open Data




                    2
Digital Enterprise Research Institute   www.deri.ie




        The current web



                    3
Many web applications
Digital Enterprise Research Institute   www.deri.ie




                    4
Many information silos
Digital Enterprise Research Institute                                          www.deri.ie




                           * Source: Pidgin Technologies, www.pidgintech.com



                    5
Current Web
Digital Enterprise Research Institute                                                            www.deri.ie



       !    web pages
            "     20 billion public pages
            "     900 billion deep web pages
            "     62 links per page
            "     = 55 trillion links in the full web



                                        http://www.kk.org/thetechnium/archives/2007/11/dimensions_of_t.php


                    6
Current Web
Digital Enterprise Research Institute                                                            www.deri.ie



       !    web storage
            "     246 exabytes of data (246 billion GB)
       !    tra!c
            "     8 terabytes / s
            "     2 million emails / s



                                        http://www.kk.org/thetechnium/archives/2007/11/dimensions_of_t.php


                    7
http://www.kk.org/thetechnium/archives/2007/11/dimensions_of_t.php


      Technology, The Movie
 eplace Humanity by 2100?
 Civilizations Are Creatures
                                           Current Web
                                  Machine (one billion from the one billion online PCs) as there transitors in an
                                  Itanium chip. The Machine is a super computer where each "transistor" is
 s on the Future of Science
                                  computer. A very rough estimate of the computing power of this Machine
  The Myth of Leapfrogging        then is that it contains a billion times a billion, or one quintillion (10 ^ 18)
e Rise and Fall of the Copy
                                 Digital Enterprise Researchservers have a billion processors, the
                                  transistors. Since only the newest
                                                                        Institute                                                                                                                                              www.deri.ie
Asymmetrical Technologies         figure is probably an order of magnitude smaller. When we add the                who is webchick? - Google Search                                                                     http://www.google.com/search?q=who+is+webchick%3
o the Fires of Computation



                                                   mostly text and links
                                  transistors for cell phones, handhelds, it calculates out to about 170

                                          !
           The Forever Book
  The Speed of Information
                                  quadrillion (10^17) transistors wired into the Machine
            Atom Versus Net                                                                                                  Web Images Maps          News    Shopping    Gmail    more !                                          scorlosquet@gmail.com | My Noteboo
 e Computational Metaphor         There are about 100 billion neurons in the human brain. Today the Machine
 Singularity Is Always Near       has as 5 orders more transistors than you have neurons in your head. And
                                                                                                                            Google
 xical Nature of Technology       the Machine, unlike your brain, is doubling in power every couple of years at                                                                                                                             Advanced Search
      Immortal Technologies       the minimum.
                                                                                                                                                          who is webchick?                                                       Search     Preferences
 Identity From What-is-Not
   The Futility of Prohibition
                                   In 2003 alone a total one quintillion transistors were produced, but not all of
       The Seventh Kingdom                                                                                                    Web                                                                                              Results 1 - 10 of about 31,600 for who is we
  on the Change of Change
                                   them are wired up into the Machine. Many transistors made their way into
 r Transitions in Technology       cameras, TVs, GPS units and the like, few of which are currently online. One
                                                                                                                             Webchick wins best contributor at Google-O'Reilly Open Source ...                                                                       Spons
Major Transitions in Biology       day they will be. Every chip will eventually connect to the web in some
  ption of being anonymous         fashion. That would mean we would be adding as many transistors to the                    Please comment below if you've received help or have helped webchick help others as a way
 Innovations in the Method                                                                                                   of demonstrating your congratulations. ...                                                                               Who is Lookup
                                   Machine in a year as exist right now.
on of the Scientific Method                                                                                                  drupal.org/webchick-wins-best-contributor-open-source-awards - 115k -                                                    Global Who is Looku
  The Name of What We Do                                                                                                                                                                                                                              domain names and t
                                   If the Machine has 100 quadrillion transistors, how fast is it running? If we             Cached - Similar pages - Note this
           Only One Machine                                                                                                                                                                                                                           www.who.is
  When Answers Are Cheap           include spam, there are 196 billion emails sent every day. That's 2.2 million
      Brains of White Matter       per second, or 2 megahertz. Every year 1trillion text messages are sent.                  Goodbye, World... :( | webchick.net
Number of Species We Use           That works out to 31,000 per second, or 31 kilohertz. Each day 14 billion                 I about poo'd myself when it read this in my RSS feed reader, then I realized, ohh yeah. Pffft,
   What Will Big Brains Do?        instant messages are sent, at 162 kilohertz. The number of searches runs at               webchick leave the drupal community, hahahaha. ...
  Cosmic Origins of Extropy                                                                                                  webchick.net/goodbye-world - 34k - Cached - Similar pages - Note this
                                   14 kilohertz. Links are clicked at the rate of 520,000 per second, or .5
    Inventing Our Humanity
 ch for the Meaning of Tech        megahertz.
                                                                                                                                    Uh. Holy crap... | webchick.net
                                   There are 20 billion visible, searchable web pages and another 900 billion                       However, I wonder what will happen when they find out what many of us have suspected for a
                 RSS Feed
                                   dark, unsearchable, or deep web pages (for instance pages behind                                 long time now: that webchick is just an alias, ...
               +My Yahoo!
               +NewsGator          passwords or the kind of dynamic page that Amazon will produce when you                          webchick.net/node/34 - 26k - Cached - Similar pages - Note this
                     +Rojo         query it). The average number of links found on each searchable web page                         More results from webchick.net »
               +NewsBurst          is 62. Assuming the same count for dynamic pages that means there's 55
            +Google Reader
                                   trillion links in the full web. We could think of each link as a synapse -- a
                                                                                                                             webchick.net - How popular is webchick.net? (://URLFAN)
                    +Pluck                                                                                                   webchick.net. Ranks 249086 out 1515000 sites Mentioned in 4 feeds ... sources
                 +My AOL           potential connection waiting to me made. There is roughly between 100
                                                                                                                             www.webchick.net groups.drupal.org www.chesnok.com www.garfieldtech.com ...
              +FeedLounge          billion and 100 trillion synapses in the human brain, which puts the Machine
                +NetVibes
                                                                                                                             www.urlfan.com/site/webchick_net/1442668.html - 12k - Cached - Similar pages - Note this
                                   in the same neighborhood as our brains.
                +BlogLines
                                                                                                                             webchick
                                                                                                                             webchick.org. Loading. DOT.ORG - The miscellaneous TLD for organizations that didn't fit
                                                                                                                             anywhere ... WEBCHICK.ORG SPEAKS VALID XHTML. SUPPORT GOOD IDEAS. ...
                                                                                                                             www.webchick.org/ - 31k - Cached - Similar pages - Note this
                                                                                                                                        30/08/2007 13:42

                                                                                                                             Quicksketch + Webchick = Drupal Love | Rob Loach .Net
                                                                                                                             webchick For those of you who have been living in a rock and don't know who ... The reason I


                                                                                                                   1 of 2

                                                              8
Digital Enterprise Research Institute   www.deri.ie




       The vision of the Semantic Web




                    9
Giant Global Graph (2007)
Digital Enterprise Research Institute                                       www.deri.ie



       !    Transition
            " WWW = content+links
                                                                 Tim Berners-
                                                                 Lee




            "   GGG = WWW+relationships
               +descriptions
       !    Universal medium for data, information
           and knowledge exchange
                                        http://dig.csail.mit.edu/breadcrumbs/node/215


                    10
The One machine
Digital Enterprise Research Institute                                                            www.deri.ie



       !   The One machine (Kevin Kelly, 2007)
            "   1.2 billion personal computers
            "   27 million data servers
            "   2.7 billion cell phones
            "   80 million wireless PDAs
            "   600 billion RFID tags in use



                                        http://www.kk.org/thetechnium/archives/2007/11/dimensions_of_t.php



                    11
Evolution of the Web
Digital Enterprise Research Institute   www.deri.ie




                    12
The Key
Digital Enterprise Research Institute                                                    www.deri.ie




            Agree on standards




                                        Open your data

                                             http://www.flickr.com/photos/11437726@N08/2781739886/



                    13
Digital Enterprise Research Institute   www.deri.ie




       Semantic Web technologies




                    14
Links
Digital Enterprise Research Institute                                          www.deri.ie


         !     Let's give a meaning to the hyperlinks

              page1          ->         user1       page1   -hasAuthor->   user1
              page1          ->         book1       page1   -isPartOf-->   book1
              page1          ->         page24      page1   -refersTo-->   page24
              page1          ->         Cats        page1   -isAbout--->   Cats



                                         triple:   subject -property-> object




                    15
Graph Model - RDF
Digital Enterprise Research Institute   www.deri.ie




                    16
Graph Model - RDF
Digital Enterprise Research Institute   www.deri.ie




                    17
Resources on the Semantic Web
Digital Enterprise Research Institute                                www.deri.ie


         !     Internet of Things
         "    URI: Uniform Resource Identifier
                    "    http://dbpedia.org/resource/Apple
                    "    http://dbpedia.org/resource/Apple_Inc
                    "    http://dbpedia.org/resource/Apple_River
                    "    http://dbpedia.org/resource/Apple_(band)
                    "    http://dbpedia.org/resource/Apple_(album)
         "    URIs should be dereferenceable



                    18
RDF - Describe your data
Digital Enterprise Research Institute                                            www.deri.ie


       !   Various RDF formats
            " RDF   is not XML! XML is one of the ways to write RDF data, ie. it's
               a language/syntax
            " RDF/XML

            " N-triple

            " Turtle

            " RDFa

       !   shortcut notation for URIs: CURIE (Compact URI)
            " prefix:id

                 – example: foaf:knows, sioc:User, etc.




                    19
RDF - Describe your data
Digital Enterprise Research Institute                                                 www.deri.ie


       !   Various languages
            " scor       knows danbri              (English)
            " scor       connait danbri            (French)


            " scor                        danbri   (drawing)


       !   One meaning in RDF
            " scor       foaf:knows danbri                scor
                                                           scor   foaf:knows
                                                                   foaf:knows   danbri
                                                                                 walkah




                    20
RDF - Vocabularies
Digital Enterprise Research Institute                                           www.deri.ie


       !   Semantic links are categorized in vocabularies
            " Dublin        Core - DC
                 – title, creator, description, date

            " Friend       of a Friend - FOAF
                 – hasName, knows, homepage

            " Description           of a Project - DOAP
            " Semantically              Interlinked Online Communities - SIOC
            " Simple        Knowledge Organization System - SKOS




                    21
SPARQL - query the GGG data
Digital Enterprise Research Institute                                              www.deri.ie


            " standardized              in January 2008
            " Example,          return the capital of all the african countries:


                   PREFIX abc: <http://example.com/exampleOntology#>
                   SELECT ?capital ?country
                   WHERE {
                     ?x abc:cityname ?capital ;
                        abc:isCapitalOf ?y .
                     ?y abc:countryname ?country ;
                        abc:isInContinent abc:Africa .
                   }




                    22
Digital Enterprise Research Institute   www.deri.ie




       Semantic Web practical
       applications and initiatives




                    23
Dataportability
Digital Enterprise Research Institute                       www.deri.ie




       !   Merge my social networks between various sites

       !   Move information from one service to another




                    24
Local communities
Digital Enterprise Research Institute                                          www.deri.ie




                           * Source: Pidgin Technologies, www.pidgintech.com



                    25
Many isolated and disparate communities
Digital Enterprise Research Institute                                          www.deri.ie




                           * Source: Pidgin Technologies, www.pidgintech.com



                    26
(De-)centralized profile
Digital Enterprise Research Institute                                      www.deri.ie




                                        http://www.johnbreslin.com/blog/



                    27
Decentralized profiles
Digital Enterprise Research Institute                                      www.deri.ie




                                        http://www.johnbreslin.com/blog/



                    28
Linking Open Data project
Digital Enterprise Research Institute                                             www.deri.ie




                                        http://richard.cyganiak.de/2007/10/lod/



                    29
Sindice - The Semantic Web index
       Search results for term “europe” - Sindice                                                                                                   http://sindice.com/search?q=europe&qt


Digital Enterprise Research Institute                                                                                                               www.deri.ie



                                                                                                          Home        About     Search     Submit          Forum          Dev




                       europe



                      Search results for term “europe”, found about 54.2 thousand
                      Birds of Europe (RDF)
                         2008-07-26 – 363 triples in 52.7 kb
                      http://dbpedia.org/resource/Category:Birds_of_Europe (Search) (Cached) (Ontologies)

                      Europe (RDF)
                         2008-07-22 – 91 triples in 13.1 kb
                      http://dbpedia.org/resource/Category:Europe (Search) (Cached) (Ontologies)

                      Europe 1 (RDF)
                         2008-07-22 – 639 triples in 91.4 kb
                      http://dbpedia.org/resource/Europe_1 (Search) (Cached) (Ontologies)

                      Flora of Europe (RDF)
                         2008-07-26 – 297 triples in 43.4 kb
                      http://dbpedia.org/resource/Category:Flora_of_Europe (Search) (Cached) (Ontologies)

                      Europe (Band), Europe (musique), Europe (                     ),                (          ), Europe (band), Europe (RDF)
                                                                                                                                            http://sindice.com/
                         2008-07-20 – 1062 triples in 224 kb
                      http://dbpedia.org/resource/Europe_%28band%29 (Search) (Cached) (Ontologies)

                       30

       1 of 2                                                                                                                                                                   30/08/2007
Digital Enterprise Research Institute   www.deri.ie




       RDF in Drupal




                    31
RDF in Drupal core
Digital Enterprise Research Institute                      www.deri.ie


       !   RDFa only
           " RDF serialization format recommended by W3C
            " RDF in xHTML
            " Yahoo! SearchMonkey and Google parse it
            " no need to generate another output:
                human and machine readable document




                    32
DrupalCon DC RDFa video
Digital Enterprise Research Institute   www.deri.ie


       !   DrupalCon DC RDFa video




                    33
Status of RDF in Drupal 7: architecture
Digital Enterprise Research Institute                                       www.deri.ie



       ! Semantics                 at the module level
            " Modules   can export data along with their semantics in the
               format they want
                 – Core => RDFa
                 – Contrib => RDF/XML, ntriples and what not.
            " No  duplicate definition of semantics.
            " Built in semantics can be altered.
            " The theme layer does not have to worry about the semantics
               anymore, it simply outputs it along with the data.
            " Better control on what namespaces are being used for a given
               page so that only these namespaces are included in the
               header of the HTML document.




                    34
Status of RDF in Drupal 7
Digital Enterprise Research Institute                      www.deri.ie


       !   Architecture of the RDF API in core
              –hook_rdf_mapping() : Allow modules to define
               their own RDF mappings
              –hook_rdf_mapping_alter(&$mapping) : Allow
               modules to override existing mappings
              –rdf_get_mapping($bundle) : Returns the mapping
               for the attributes of the given bundle as an
               associative array




                    35
Status of RDF in Drupal 7
Digital Enterprise Research Institute   www.deri.ie


       !   hook_rdf_mapping()




                    36
Status of RDF in Drupal 7
Digital Enterprise Research Institute   www.deri.ie


       !   rendered HTML




                    37
Status of RDF in Drupal 7
Digital Enterprise Research Institute   www.deri.ie


       !   What’s already committed
           " RDFa doctype




                    38
Status of RDF in Drupal 7
Digital Enterprise Research Institute      www.deri.ie


       !   What’s already committed
           " Common RDF prefix definitions




                    39
Status of RDF in Drupal 7
Digital Enterprise Research Institute           www.deri.ie


       !   What’s pending
           "The rest!
            "1 week for the API
            "6 weeks for testing (code slush)




                    40
Status of RDF in Drupal 7
Digital Enterprise Research Institute                           www.deri.ie


       !   Theming layer
           "Hardest part of the work
            "Many  tags are hardcoded in the tpl files
              –we want to avoid modifing these, themers should
               not have to care about RDFa
            "Dilema
              –centralize everything in the RDF module
              –distribute the RDF in all modules (and patch these
               modules)




                    41
Status of RDF in Drupal 7
Digital Enterprise Research Institute                             www.deri.ie




             building block modules     beneficiary modules
             page/block                 blog
             node                       forum
             field                       book
             user                       openid
             comment                    profile
             taxonomy                   all contributed modules




                    42
Thank you
Digital Enterprise Research Institute   www.deri.ie


       !   Credits
            "   Frédéric Marand
            "   Florian Lorétan
            "   John Breslin
            "   John Morahan
            "   Mark Birbeck
            "   Rolf Guescini
            "   Benjamin Doherty
            "   Benjamin Melançon
            "   Stefan Freudenberg
            "   Peter Wolanin
            "   Barry Jaspan
            "   yched
            "   catch
            "   ...




                      43
Contribute
Digital Enterprise Research Institute                      www.deri.ie




       ! IRC: #drupal-rdf
       ! list of issues to review at
         http://drupal.org/project/issues/search/drupal?
         issue_tags=RDF

       ! Talk to us
       ! Keynote tomorrow by Dan Brickley
       ! code sprint on Saturday




                    44

Mais conteúdo relacionado

Mais procurados

Internet of Things: Luxury for the Rich or Sustainable Equity for All?
Internet of Things: Luxury for the Rich or Sustainable Equity for All?Internet of Things: Luxury for the Rich or Sustainable Equity for All?
Internet of Things: Luxury for the Rich or Sustainable Equity for All?The Transformation Society
 
ESWC SS 2013 - Monday Keynote Stefan Decker: From Linked Data to Networked Kn...
ESWC SS 2013 - Monday Keynote Stefan Decker: From Linked Data to Networked Kn...ESWC SS 2013 - Monday Keynote Stefan Decker: From Linked Data to Networked Kn...
ESWC SS 2013 - Monday Keynote Stefan Decker: From Linked Data to Networked Kn...eswcsummerschool
 
The chasm of cyberinfrastructures
The chasm of cyberinfrastructuresThe chasm of cyberinfrastructures
The chasm of cyberinfrastructuresHarold Teunissen
 
EDF2013: Keynote Stefan Decker: Big Data In Ireland - Linked Data and beyond
EDF2013: Keynote Stefan Decker: Big Data In Ireland - Linked Data and beyondEDF2013: Keynote Stefan Decker: Big Data In Ireland - Linked Data and beyond
EDF2013: Keynote Stefan Decker: Big Data In Ireland - Linked Data and beyondEuropean Data Forum
 
The Internet of Things How the Next Evolution of the Internet Is Changing Eve...
The Internet of Things How the Next Evolution of the Internet Is Changing Eve...The Internet of Things How the Next Evolution of the Internet Is Changing Eve...
The Internet of Things How the Next Evolution of the Internet Is Changing Eve...Business of Software Conference
 
Mary Barnsdale article about Fog Computing for Cisco
Mary Barnsdale article about Fog Computing for CiscoMary Barnsdale article about Fog Computing for Cisco
Mary Barnsdale article about Fog Computing for CiscoMary Barnsdale
 
Using Linked Data and the Internet of Things for Energy Management
Using Linked Data and the Internet of Things for Energy ManagementUsing Linked Data and the Internet of Things for Energy Management
Using Linked Data and the Internet of Things for Energy ManagementEdward Curry
 
Future of technical innovation 3 trends that impact enterprise users
Future of technical innovation   3 trends that impact enterprise usersFuture of technical innovation   3 trends that impact enterprise users
Future of technical innovation 3 trends that impact enterprise usersJohn Gibbon
 
Enterprise Energy Management using a Linked Dataspace for Energy Intelligence
Enterprise Energy Management using a Linked Dataspace for Energy IntelligenceEnterprise Energy Management using a Linked Dataspace for Energy Intelligence
Enterprise Energy Management using a Linked Dataspace for Energy IntelligenceEdward Curry
 
20090906 On Future Internet, Cloud Computing, and Semantics – You name it
20090906 On Future Internet, Cloud Computing, and Semantics – You name it20090906 On Future Internet, Cloud Computing, and Semantics – You name it
20090906 On Future Internet, Cloud Computing, and Semantics – You name itArian Zwegers
 
Research: The Internet of Things
Research: The Internet of ThingsResearch: The Internet of Things
Research: The Internet of ThingsAmy Ee
 

Mais procurados (15)

Internet of Things: Luxury for the Rich or Sustainable Equity for All?
Internet of Things: Luxury for the Rich or Sustainable Equity for All?Internet of Things: Luxury for the Rich or Sustainable Equity for All?
Internet of Things: Luxury for the Rich or Sustainable Equity for All?
 
ESWC SS 2013 - Monday Keynote Stefan Decker: From Linked Data to Networked Kn...
ESWC SS 2013 - Monday Keynote Stefan Decker: From Linked Data to Networked Kn...ESWC SS 2013 - Monday Keynote Stefan Decker: From Linked Data to Networked Kn...
ESWC SS 2013 - Monday Keynote Stefan Decker: From Linked Data to Networked Kn...
 
The chasm of cyberinfrastructures
The chasm of cyberinfrastructuresThe chasm of cyberinfrastructures
The chasm of cyberinfrastructures
 
EDF2013: Keynote Stefan Decker: Big Data In Ireland - Linked Data and beyond
EDF2013: Keynote Stefan Decker: Big Data In Ireland - Linked Data and beyondEDF2013: Keynote Stefan Decker: Big Data In Ireland - Linked Data and beyond
EDF2013: Keynote Stefan Decker: Big Data In Ireland - Linked Data and beyond
 
The Internet of Things How the Next Evolution of the Internet Is Changing Eve...
The Internet of Things How the Next Evolution of the Internet Is Changing Eve...The Internet of Things How the Next Evolution of the Internet Is Changing Eve...
The Internet of Things How the Next Evolution of the Internet Is Changing Eve...
 
Lgd 2
Lgd 2Lgd 2
Lgd 2
 
The Web of Things
The Web of ThingsThe Web of Things
The Web of Things
 
IoT overview 2014
IoT overview 2014IoT overview 2014
IoT overview 2014
 
WIRA brochure 2010
WIRA brochure 2010WIRA brochure 2010
WIRA brochure 2010
 
Mary Barnsdale article about Fog Computing for Cisco
Mary Barnsdale article about Fog Computing for CiscoMary Barnsdale article about Fog Computing for Cisco
Mary Barnsdale article about Fog Computing for Cisco
 
Using Linked Data and the Internet of Things for Energy Management
Using Linked Data and the Internet of Things for Energy ManagementUsing Linked Data and the Internet of Things for Energy Management
Using Linked Data and the Internet of Things for Energy Management
 
Future of technical innovation 3 trends that impact enterprise users
Future of technical innovation   3 trends that impact enterprise usersFuture of technical innovation   3 trends that impact enterprise users
Future of technical innovation 3 trends that impact enterprise users
 
Enterprise Energy Management using a Linked Dataspace for Energy Intelligence
Enterprise Energy Management using a Linked Dataspace for Energy IntelligenceEnterprise Energy Management using a Linked Dataspace for Energy Intelligence
Enterprise Energy Management using a Linked Dataspace for Energy Intelligence
 
20090906 On Future Internet, Cloud Computing, and Semantics – You name it
20090906 On Future Internet, Cloud Computing, and Semantics – You name it20090906 On Future Internet, Cloud Computing, and Semantics – You name it
20090906 On Future Internet, Cloud Computing, and Semantics – You name it
 
Research: The Internet of Things
Research: The Internet of ThingsResearch: The Internet of Things
Research: The Internet of Things
 

Destaque

Destaque (6)

State Of Drupal September 2009
State Of Drupal September 2009State Of Drupal September 2009
State Of Drupal September 2009
 
Rd Fa In Drupal
Rd Fa In DrupalRd Fa In Drupal
Rd Fa In Drupal
 
Web Typography Fundamentals
Web Typography FundamentalsWeb Typography Fundamentals
Web Typography Fundamentals
 
Enterprise Sitemanagement 2
Enterprise Sitemanagement 2Enterprise Sitemanagement 2
Enterprise Sitemanagement 2
 
Sketching
SketchingSketching
Sketching
 
Staging Drupal 8 31 09 1 3
Staging Drupal 8 31 09 1 3Staging Drupal 8 31 09 1 3
Staging Drupal 8 31 09 1 3
 

Semelhante a The State Of Rdf In Drupal 7

Data Tribology: Overcoming Data Friction with Cloud Automation
Data Tribology: Overcoming Data Friction with Cloud AutomationData Tribology: Overcoming Data Friction with Cloud Automation
Data Tribology: Overcoming Data Friction with Cloud AutomationIan Foster
 
The internet of everything
The internet of everythingThe internet of everything
The internet of everythingSergey Zhdanov
 
Introducing the Internet of Things: lecture @IULM University
Introducing the Internet of Things: lecture @IULM UniversityIntroducing the Internet of Things: lecture @IULM University
Introducing the Internet of Things: lecture @IULM UniversityLeandro Agro'
 
ISWC 2013 Tutorial on the Web of Things
ISWC 2013 Tutorial on the Web of ThingsISWC 2013 Tutorial on the Web of Things
ISWC 2013 Tutorial on the Web of Thingscarolninap
 
2018 05 hype lightning talk
2018 05 hype lightning talk2018 05 hype lightning talk
2018 05 hype lightning talkChris Dwan
 
Locative Media And Responsive Environments
Locative Media And Responsive EnvironmentsLocative Media And Responsive Environments
Locative Media And Responsive EnvironmentsJeff Watson
 
The Future of the Internet – Real-Time-Web by Synaptic
The Future of the Internet – Real-Time-Web by Synaptic The Future of the Internet – Real-Time-Web by Synaptic
The Future of the Internet – Real-Time-Web by Synaptic MobileMonday Norway
 
Some thoughts on IoT, HKNOG 4.0
Some thoughts on IoT, HKNOG 4.0Some thoughts on IoT, HKNOG 4.0
Some thoughts on IoT, HKNOG 4.0APNIC
 
IoT: from zero to hero for web developers - GDG DevFest Nantes 2016
IoT: from zero to hero for web developers - GDG DevFest Nantes 2016IoT: from zero to hero for web developers - GDG DevFest Nantes 2016
IoT: from zero to hero for web developers - GDG DevFest Nantes 2016Jan Jongboom
 
Internet of things (IoT) and big data- r.nabati
Internet of things (IoT) and big data- r.nabatiInternet of things (IoT) and big data- r.nabati
Internet of things (IoT) and big data- r.nabatinabati
 
Crocotta R&D - Alternate Reality - a Virtual World made of Particles
Crocotta R&D - Alternate Reality - a Virtual World made of ParticlesCrocotta R&D - Alternate Reality - a Virtual World made of Particles
Crocotta R&D - Alternate Reality - a Virtual World made of ParticlesCrocotta RD Limited
 
computer past present future
computer past present futurecomputer past present future
computer past present futuredheva B
 
Digital Entrepreneurs and the Internet of Things
Digital Entrepreneurs and the Internet of ThingsDigital Entrepreneurs and the Internet of Things
Digital Entrepreneurs and the Internet of ThingsKathryn Woolf
 
Web 3.0 & Internet of Things
Web 3.0 & Internet of Things Web 3.0 & Internet of Things
Web 3.0 & Internet of Things Chris Becker
 
New Technologies of the Fourth Industrial Revolution: AI, IoT, Robotics, and ...
New Technologies of the Fourth Industrial Revolution: AI, IoT, Robotics, and ...New Technologies of the Fourth Industrial Revolution: AI, IoT, Robotics, and ...
New Technologies of the Fourth Industrial Revolution: AI, IoT, Robotics, and ...Bohyun Kim
 
Next Generation Innovation Platform for Research and Economic Development in ...
Next Generation Innovation Platform for Research and Economic Development in ...Next Generation Innovation Platform for Research and Economic Development in ...
Next Generation Innovation Platform for Research and Economic Development in ...Ed Dodds
 

Semelhante a The State Of Rdf In Drupal 7 (20)

Data Tribology: Overcoming Data Friction with Cloud Automation
Data Tribology: Overcoming Data Friction with Cloud AutomationData Tribology: Overcoming Data Friction with Cloud Automation
Data Tribology: Overcoming Data Friction with Cloud Automation
 
The internet of everything
The internet of everythingThe internet of everything
The internet of everything
 
Introducing the Internet of Things: lecture @IULM University
Introducing the Internet of Things: lecture @IULM UniversityIntroducing the Internet of Things: lecture @IULM University
Introducing the Internet of Things: lecture @IULM University
 
Understanding big data using IoT
Understanding big data using IoTUnderstanding big data using IoT
Understanding big data using IoT
 
ISWC 2013 Tutorial on the Web of Things
ISWC 2013 Tutorial on the Web of ThingsISWC 2013 Tutorial on the Web of Things
ISWC 2013 Tutorial on the Web of Things
 
2018 05 hype lightning talk
2018 05 hype lightning talk2018 05 hype lightning talk
2018 05 hype lightning talk
 
Locative Media And Responsive Environments
Locative Media And Responsive EnvironmentsLocative Media And Responsive Environments
Locative Media And Responsive Environments
 
The Future of the Internet – Real-Time-Web by Synaptic
The Future of the Internet – Real-Time-Web by Synaptic The Future of the Internet – Real-Time-Web by Synaptic
The Future of the Internet – Real-Time-Web by Synaptic
 
Some thoughts on IoT, HKNOG 4.0
Some thoughts on IoT, HKNOG 4.0Some thoughts on IoT, HKNOG 4.0
Some thoughts on IoT, HKNOG 4.0
 
IoT: from zero to hero for web developers - GDG DevFest Nantes 2016
IoT: from zero to hero for web developers - GDG DevFest Nantes 2016IoT: from zero to hero for web developers - GDG DevFest Nantes 2016
IoT: from zero to hero for web developers - GDG DevFest Nantes 2016
 
PhD Admission Pitching
PhD Admission PitchingPhD Admission Pitching
PhD Admission Pitching
 
Io t(internet of_things)
Io t(internet of_things)Io t(internet of_things)
Io t(internet of_things)
 
Internet of things (IoT) and big data- r.nabati
Internet of things (IoT) and big data- r.nabatiInternet of things (IoT) and big data- r.nabati
Internet of things (IoT) and big data- r.nabati
 
Crocotta R&D - Alternate Reality - a Virtual World made of Particles
Crocotta R&D - Alternate Reality - a Virtual World made of ParticlesCrocotta R&D - Alternate Reality - a Virtual World made of Particles
Crocotta R&D - Alternate Reality - a Virtual World made of Particles
 
computer past present future
computer past present futurecomputer past present future
computer past present future
 
Digital Entrepreneurs and the Internet of Things
Digital Entrepreneurs and the Internet of ThingsDigital Entrepreneurs and the Internet of Things
Digital Entrepreneurs and the Internet of Things
 
Web 3.0 & Internet of Things
Web 3.0 & Internet of Things Web 3.0 & Internet of Things
Web 3.0 & Internet of Things
 
New Technologies of the Fourth Industrial Revolution: AI, IoT, Robotics, and ...
New Technologies of the Fourth Industrial Revolution: AI, IoT, Robotics, and ...New Technologies of the Fourth Industrial Revolution: AI, IoT, Robotics, and ...
New Technologies of the Fourth Industrial Revolution: AI, IoT, Robotics, and ...
 
Internet of Things
Internet of ThingsInternet of Things
Internet of Things
 
Next Generation Innovation Platform for Research and Economic Development in ...
Next Generation Innovation Platform for Research and Economic Development in ...Next Generation Innovation Platform for Research and Economic Development in ...
Next Generation Innovation Platform for Research and Economic Development in ...
 

Mais de Drupalcon Paris

Mais de Drupalcon Paris (10)

Taxonomy Everywhere
Taxonomy EverywhereTaxonomy Everywhere
Taxonomy Everywhere
 
Localize Drupal Org
Localize Drupal OrgLocalize Drupal Org
Localize Drupal Org
 
Presentation Edipresse Experience Drupalcon
Presentation Edipresse Experience DrupalconPresentation Edipresse Experience Drupalcon
Presentation Edipresse Experience Drupalcon
 
Praes
PraesPraes
Praes
 
20minutes Quart
20minutes Quart20minutes Quart
20minutes Quart
 
Field Api Drupalcon Paris
Field Api Drupalcon ParisField Api Drupalcon Paris
Field Api Drupalcon Paris
 
Drupalcon2009 Heuer3
Drupalcon2009 Heuer3Drupalcon2009 Heuer3
Drupalcon2009 Heuer3
 
Danbri Drupalcon Export
Danbri Drupalcon ExportDanbri Drupalcon Export
Danbri Drupalcon Export
 
Building Community
Building CommunityBuilding Community
Building Community
 
How To Contribute To Drupal Drupal - DrupalCon Paris
How To Contribute To Drupal Drupal - DrupalCon ParisHow To Contribute To Drupal Drupal - DrupalCon Paris
How To Contribute To Drupal Drupal - DrupalCon Paris
 

The State Of Rdf In Drupal 7

  • 1. Digital Enterprise Research Institute www.deri.ie The state of RDF in Drupal 7 - DrupalCon Paris 2009 Stéphane “scor” Corlosquet scorlosquet@gmail.com § Chapter 1 ! Copyright 2008 Digital Enterprise Research Institute. All rights reserved. www.deri.org
  • 2. Presentation outline Digital Enterprise Research Institute www.deri.ie ! The current web ! The vision of the Semantic Web ! Semantic Web technologies ! Initiatives and projects " Data portability " Linking Open Data 2
  • 3. Digital Enterprise Research Institute www.deri.ie The current web 3
  • 4. Many web applications Digital Enterprise Research Institute www.deri.ie 4
  • 5. Many information silos Digital Enterprise Research Institute www.deri.ie * Source: Pidgin Technologies, www.pidgintech.com 5
  • 6. Current Web Digital Enterprise Research Institute www.deri.ie ! web pages " 20 billion public pages " 900 billion deep web pages " 62 links per page " = 55 trillion links in the full web http://www.kk.org/thetechnium/archives/2007/11/dimensions_of_t.php 6
  • 7. Current Web Digital Enterprise Research Institute www.deri.ie ! web storage " 246 exabytes of data (246 billion GB) ! tra!c " 8 terabytes / s " 2 million emails / s http://www.kk.org/thetechnium/archives/2007/11/dimensions_of_t.php 7
  • 8. http://www.kk.org/thetechnium/archives/2007/11/dimensions_of_t.php Technology, The Movie eplace Humanity by 2100? Civilizations Are Creatures Current Web Machine (one billion from the one billion online PCs) as there transitors in an Itanium chip. The Machine is a super computer where each "transistor" is s on the Future of Science computer. A very rough estimate of the computing power of this Machine The Myth of Leapfrogging then is that it contains a billion times a billion, or one quintillion (10 ^ 18) e Rise and Fall of the Copy Digital Enterprise Researchservers have a billion processors, the transistors. Since only the newest Institute www.deri.ie Asymmetrical Technologies figure is probably an order of magnitude smaller. When we add the who is webchick? - Google Search http://www.google.com/search?q=who+is+webchick%3 o the Fires of Computation mostly text and links transistors for cell phones, handhelds, it calculates out to about 170 ! The Forever Book The Speed of Information quadrillion (10^17) transistors wired into the Machine Atom Versus Net Web Images Maps News Shopping Gmail more ! scorlosquet@gmail.com | My Noteboo e Computational Metaphor There are about 100 billion neurons in the human brain. Today the Machine Singularity Is Always Near has as 5 orders more transistors than you have neurons in your head. And Google xical Nature of Technology the Machine, unlike your brain, is doubling in power every couple of years at Advanced Search Immortal Technologies the minimum. who is webchick? Search Preferences Identity From What-is-Not The Futility of Prohibition In 2003 alone a total one quintillion transistors were produced, but not all of The Seventh Kingdom Web Results 1 - 10 of about 31,600 for who is we on the Change of Change them are wired up into the Machine. Many transistors made their way into r Transitions in Technology cameras, TVs, GPS units and the like, few of which are currently online. One Webchick wins best contributor at Google-O'Reilly Open Source ... Spons Major Transitions in Biology day they will be. Every chip will eventually connect to the web in some ption of being anonymous fashion. That would mean we would be adding as many transistors to the Please comment below if you've received help or have helped webchick help others as a way Innovations in the Method of demonstrating your congratulations. ... Who is Lookup Machine in a year as exist right now. on of the Scientific Method drupal.org/webchick-wins-best-contributor-open-source-awards - 115k - Global Who is Looku The Name of What We Do domain names and t If the Machine has 100 quadrillion transistors, how fast is it running? If we Cached - Similar pages - Note this Only One Machine www.who.is When Answers Are Cheap include spam, there are 196 billion emails sent every day. That's 2.2 million Brains of White Matter per second, or 2 megahertz. Every year 1trillion text messages are sent. Goodbye, World... :( | webchick.net Number of Species We Use That works out to 31,000 per second, or 31 kilohertz. Each day 14 billion I about poo'd myself when it read this in my RSS feed reader, then I realized, ohh yeah. Pffft, What Will Big Brains Do? instant messages are sent, at 162 kilohertz. The number of searches runs at webchick leave the drupal community, hahahaha. ... Cosmic Origins of Extropy webchick.net/goodbye-world - 34k - Cached - Similar pages - Note this 14 kilohertz. Links are clicked at the rate of 520,000 per second, or .5 Inventing Our Humanity ch for the Meaning of Tech megahertz. Uh. Holy crap... | webchick.net There are 20 billion visible, searchable web pages and another 900 billion However, I wonder what will happen when they find out what many of us have suspected for a RSS Feed dark, unsearchable, or deep web pages (for instance pages behind long time now: that webchick is just an alias, ... +My Yahoo! +NewsGator passwords or the kind of dynamic page that Amazon will produce when you webchick.net/node/34 - 26k - Cached - Similar pages - Note this +Rojo query it). The average number of links found on each searchable web page More results from webchick.net » +NewsBurst is 62. Assuming the same count for dynamic pages that means there's 55 +Google Reader trillion links in the full web. We could think of each link as a synapse -- a webchick.net - How popular is webchick.net? (://URLFAN) +Pluck webchick.net. Ranks 249086 out 1515000 sites Mentioned in 4 feeds ... sources +My AOL potential connection waiting to me made. There is roughly between 100 www.webchick.net groups.drupal.org www.chesnok.com www.garfieldtech.com ... +FeedLounge billion and 100 trillion synapses in the human brain, which puts the Machine +NetVibes www.urlfan.com/site/webchick_net/1442668.html - 12k - Cached - Similar pages - Note this in the same neighborhood as our brains. +BlogLines webchick webchick.org. Loading. DOT.ORG - The miscellaneous TLD for organizations that didn't fit anywhere ... WEBCHICK.ORG SPEAKS VALID XHTML. SUPPORT GOOD IDEAS. ... www.webchick.org/ - 31k - Cached - Similar pages - Note this 30/08/2007 13:42 Quicksketch + Webchick = Drupal Love | Rob Loach .Net webchick For those of you who have been living in a rock and don't know who ... The reason I 1 of 2 8
  • 9. Digital Enterprise Research Institute www.deri.ie The vision of the Semantic Web 9
  • 10. Giant Global Graph (2007) Digital Enterprise Research Institute www.deri.ie ! Transition " WWW = content+links Tim Berners- Lee " GGG = WWW+relationships +descriptions ! Universal medium for data, information and knowledge exchange http://dig.csail.mit.edu/breadcrumbs/node/215 10
  • 11. The One machine Digital Enterprise Research Institute www.deri.ie ! The One machine (Kevin Kelly, 2007) " 1.2 billion personal computers " 27 million data servers " 2.7 billion cell phones " 80 million wireless PDAs " 600 billion RFID tags in use http://www.kk.org/thetechnium/archives/2007/11/dimensions_of_t.php 11
  • 12. Evolution of the Web Digital Enterprise Research Institute www.deri.ie 12
  • 13. The Key Digital Enterprise Research Institute www.deri.ie Agree on standards Open your data http://www.flickr.com/photos/11437726@N08/2781739886/ 13
  • 14. Digital Enterprise Research Institute www.deri.ie Semantic Web technologies 14
  • 15. Links Digital Enterprise Research Institute www.deri.ie ! Let's give a meaning to the hyperlinks page1 -> user1 page1 -hasAuthor-> user1 page1 -> book1 page1 -isPartOf--> book1 page1 -> page24 page1 -refersTo--> page24 page1 -> Cats page1 -isAbout---> Cats triple: subject -property-> object 15
  • 16. Graph Model - RDF Digital Enterprise Research Institute www.deri.ie 16
  • 17. Graph Model - RDF Digital Enterprise Research Institute www.deri.ie 17
  • 18. Resources on the Semantic Web Digital Enterprise Research Institute www.deri.ie ! Internet of Things " URI: Uniform Resource Identifier " http://dbpedia.org/resource/Apple " http://dbpedia.org/resource/Apple_Inc " http://dbpedia.org/resource/Apple_River " http://dbpedia.org/resource/Apple_(band) " http://dbpedia.org/resource/Apple_(album) " URIs should be dereferenceable 18
  • 19. RDF - Describe your data Digital Enterprise Research Institute www.deri.ie ! Various RDF formats " RDF is not XML! XML is one of the ways to write RDF data, ie. it's a language/syntax " RDF/XML " N-triple " Turtle " RDFa ! shortcut notation for URIs: CURIE (Compact URI) " prefix:id – example: foaf:knows, sioc:User, etc. 19
  • 20. RDF - Describe your data Digital Enterprise Research Institute www.deri.ie ! Various languages " scor knows danbri (English) " scor connait danbri (French) " scor danbri (drawing) ! One meaning in RDF " scor foaf:knows danbri scor scor foaf:knows foaf:knows danbri walkah 20
  • 21. RDF - Vocabularies Digital Enterprise Research Institute www.deri.ie ! Semantic links are categorized in vocabularies " Dublin Core - DC – title, creator, description, date " Friend of a Friend - FOAF – hasName, knows, homepage " Description of a Project - DOAP " Semantically Interlinked Online Communities - SIOC " Simple Knowledge Organization System - SKOS 21
  • 22. SPARQL - query the GGG data Digital Enterprise Research Institute www.deri.ie " standardized in January 2008 " Example, return the capital of all the african countries: PREFIX abc: <http://example.com/exampleOntology#> SELECT ?capital ?country WHERE { ?x abc:cityname ?capital ; abc:isCapitalOf ?y . ?y abc:countryname ?country ; abc:isInContinent abc:Africa . } 22
  • 23. Digital Enterprise Research Institute www.deri.ie Semantic Web practical applications and initiatives 23
  • 24. Dataportability Digital Enterprise Research Institute www.deri.ie ! Merge my social networks between various sites ! Move information from one service to another 24
  • 25. Local communities Digital Enterprise Research Institute www.deri.ie * Source: Pidgin Technologies, www.pidgintech.com 25
  • 26. Many isolated and disparate communities Digital Enterprise Research Institute www.deri.ie * Source: Pidgin Technologies, www.pidgintech.com 26
  • 27. (De-)centralized profile Digital Enterprise Research Institute www.deri.ie http://www.johnbreslin.com/blog/ 27
  • 28. Decentralized profiles Digital Enterprise Research Institute www.deri.ie http://www.johnbreslin.com/blog/ 28
  • 29. Linking Open Data project Digital Enterprise Research Institute www.deri.ie http://richard.cyganiak.de/2007/10/lod/ 29
  • 30. Sindice - The Semantic Web index Search results for term “europe” - Sindice http://sindice.com/search?q=europe&qt Digital Enterprise Research Institute www.deri.ie Home About Search Submit Forum Dev europe Search results for term “europe”, found about 54.2 thousand Birds of Europe (RDF) 2008-07-26 – 363 triples in 52.7 kb http://dbpedia.org/resource/Category:Birds_of_Europe (Search) (Cached) (Ontologies) Europe (RDF) 2008-07-22 – 91 triples in 13.1 kb http://dbpedia.org/resource/Category:Europe (Search) (Cached) (Ontologies) Europe 1 (RDF) 2008-07-22 – 639 triples in 91.4 kb http://dbpedia.org/resource/Europe_1 (Search) (Cached) (Ontologies) Flora of Europe (RDF) 2008-07-26 – 297 triples in 43.4 kb http://dbpedia.org/resource/Category:Flora_of_Europe (Search) (Cached) (Ontologies) Europe (Band), Europe (musique), Europe ( ), ( ), Europe (band), Europe (RDF) http://sindice.com/ 2008-07-20 – 1062 triples in 224 kb http://dbpedia.org/resource/Europe_%28band%29 (Search) (Cached) (Ontologies) 30 1 of 2 30/08/2007
  • 31. Digital Enterprise Research Institute www.deri.ie RDF in Drupal 31
  • 32. RDF in Drupal core Digital Enterprise Research Institute www.deri.ie ! RDFa only " RDF serialization format recommended by W3C " RDF in xHTML " Yahoo! SearchMonkey and Google parse it " no need to generate another output: human and machine readable document 32
  • 33. DrupalCon DC RDFa video Digital Enterprise Research Institute www.deri.ie ! DrupalCon DC RDFa video 33
  • 34. Status of RDF in Drupal 7: architecture Digital Enterprise Research Institute www.deri.ie ! Semantics at the module level " Modules can export data along with their semantics in the format they want – Core => RDFa – Contrib => RDF/XML, ntriples and what not. " No duplicate definition of semantics. " Built in semantics can be altered. " The theme layer does not have to worry about the semantics anymore, it simply outputs it along with the data. " Better control on what namespaces are being used for a given page so that only these namespaces are included in the header of the HTML document. 34
  • 35. Status of RDF in Drupal 7 Digital Enterprise Research Institute www.deri.ie ! Architecture of the RDF API in core –hook_rdf_mapping() : Allow modules to define their own RDF mappings –hook_rdf_mapping_alter(&$mapping) : Allow modules to override existing mappings –rdf_get_mapping($bundle) : Returns the mapping for the attributes of the given bundle as an associative array 35
  • 36. Status of RDF in Drupal 7 Digital Enterprise Research Institute www.deri.ie ! hook_rdf_mapping() 36
  • 37. Status of RDF in Drupal 7 Digital Enterprise Research Institute www.deri.ie ! rendered HTML 37
  • 38. Status of RDF in Drupal 7 Digital Enterprise Research Institute www.deri.ie ! What’s already committed " RDFa doctype 38
  • 39. Status of RDF in Drupal 7 Digital Enterprise Research Institute www.deri.ie ! What’s already committed " Common RDF prefix definitions 39
  • 40. Status of RDF in Drupal 7 Digital Enterprise Research Institute www.deri.ie ! What’s pending "The rest! "1 week for the API "6 weeks for testing (code slush) 40
  • 41. Status of RDF in Drupal 7 Digital Enterprise Research Institute www.deri.ie ! Theming layer "Hardest part of the work "Many tags are hardcoded in the tpl files –we want to avoid modifing these, themers should not have to care about RDFa "Dilema –centralize everything in the RDF module –distribute the RDF in all modules (and patch these modules) 41
  • 42. Status of RDF in Drupal 7 Digital Enterprise Research Institute www.deri.ie building block modules beneficiary modules page/block blog node forum field book user openid comment profile taxonomy all contributed modules 42
  • 43. Thank you Digital Enterprise Research Institute www.deri.ie ! Credits " Frédéric Marand " Florian Lorétan " John Breslin " John Morahan " Mark Birbeck " Rolf Guescini " Benjamin Doherty " Benjamin Melançon " Stefan Freudenberg " Peter Wolanin " Barry Jaspan " yched " catch " ... 43
  • 44. Contribute Digital Enterprise Research Institute www.deri.ie ! IRC: #drupal-rdf ! list of issues to review at http://drupal.org/project/issues/search/drupal? issue_tags=RDF ! Talk to us ! Keynote tomorrow by Dan Brickley ! code sprint on Saturday 44