SlideShare a Scribd company logo
1 of 33
Download to read offline
Digital Enterprise Research Institute                                                      www.deri.ie




                   Produce and Consume Linked Data
                             with Drupal!
                               Stéphane Corlosquet, Renaud Delbru, Tim Clark,
                                      Axel Polleres and Stefan Decker
                                                 ISWC 2009




 scorlosquet@gmail.com
 DERI NUI Galway, MGH
 October 27th, 2009
                                                                             Chapter   1
Copyright 2009 Digital Enterprise Research Institute. All rights reserved.
Loads of Data on the Web in CMS...
Digital Enterprise Research Institute       www.deri.ie




                                        2
Some Motivations...
Digital Enterprise Research Institute                                    www.deri.ie



  Status           of the current web
         Data contained in millions of documents
         Disparate platforms and systems
         Wide range of topics (personal blogs, news, etc.)
         Various types of resources (text, pictures, video, etc.)
         Note: Lots of Structured data in Content Management Systems


  Problem
         Not possible to reuse this data outside the CMS (except RSS)
         Not available as unified machine readable format




                                        3
So, here’s our idea of CMS:
Digital Enterprise Research Institute                                                                www.deri.ie

                        PROJECT BLOGS




                                                                       DBLP




                                                                          SPARQL
                                                                          endpoint



                           SPARQL                                      REMOTE DRUPAL SITE
                           endpoint




                        SELECT ?name ?title                                          Tim
                        WHERE {                                                      .........
                          ?person foaf:made ?pub.
                          ?person rdfs:label ?name.
                          ?pub dc:title ?title.                           SPARQL
                          FILTER regex(?title, "knowledge", "i")          endpoint
                        }




                                 Figure 3.5: Extended example in a typical Linked Data eco-system.
                                                                   4
Approach
Digital Enterprise Research Institute                                      www.deri.ie


 Our         Goal
      Integrate           "any" CMS site to the Web of Data


A      challenging task
      Little     incentive for users to annotate their data manually
      Site     owners do not have the resources to convert their data to RDF
      Per-siteschema: each site is different and its structure cannot be
        predefined


 Solutions
      Expose         the CMS site structure in a unified format AUTOMATICALLY!
      Use      Semantic Web standards (RDFa, SPARQL)



                                            5
Approach
Digital Enterprise Research Institute                                    www.deri.ie



        Implementation                  in Drupal
             Why?        One of the most popular CMS out there
             Modules            to take the burden off the site users

        What          our modules allow:
             1.    Automatic site vocabulary generation
             2.    Mapping Content Models to existing ontologies
             3.    Data endpoint for SPARQL querying
             4.    Lazy loading of external data (data import)




                                                6
Pre-Existing work
Digital Enterprise Research Institute                                        www.deri.ie



        “Semantic                 Content Management Systems”



             Ontology-based            CMS:
                 – Semantic community Web portals (2000)
                 – OntoWebber: Model-Driven Ontology-Based Web Site Management
                   (2001)


             Our  approach is reverse: from existing CMS structure to
               ontologies




                                               7
The Drupal CMS
Digital Enterprise Research Institute                                          www.deri.ie



        Drupal*
             Easy      to use
             Large        community
             Popularon the Web
             Hundreds of thousands of sites
             Modular           design
        Drupal            site workflow
             Site  administrator: set up the site and install modules they
               like/need
             Site editors: create the content of the site following the
               schema defined by the site administrator

                                                                   * http://drupal.org/


                                          8
Drupal: Content Construction Kit
Digital Enterprise Research Institute                                        www.deri.ie



        Content              Construction Kit (CCK) module
             GUI      for extending the internal schema of a Drupal site
             Used       on many Drupal sites
             Can  build new types of pages, known as content types
             Can create fields for each content types. Fields can be of
              various types: plain text fields, dates, email addresses, file
              uploads, reference to other pages




                                           9
Drupal: Content Construction Kit
Digital Enterprise Research Institute                                                                                                    www.deri.ie



        Demo             use case: project blogs site*
             Community                 site
                                                    PROJECT BLOGS


             Various         content:
                 – People                                                                          DBLP

                 – Organizations
                 – Projects                                                                            SPARQL
                                                                                                       endpoint


                 – Blogs                                SPARQL                                      REMOTE DRUPAL SITE
                                                        endpoint




                                                     SELECT ?name ?title                                          Tim
                                                     WHERE {                                                      .........
                                                       ?person foaf:made ?pub.
                                                       ?person rdfs:label ?name.
                                                       ?pub dc:title ?title.                           SPARQL
                                                       FILTER regex(?title, "knowledge", "i")          endpoint
                                                     }




                                                              Figure 3.5: Extended example in a typical Linked Data eco-system.


                                                  one for bridging the DBLP SPARQL endpoint to the project blogs website, and a sec-
                                                  ond for bridging the Science Collaboration Framework website. When visiting Tim’s
                                                  profile page, the relevant publication information will be fetched from both DBLP and
    * http://drupal.deri.ie/projectblogs/         SCF websites, and either new nodes will be created on the site or older ones will be
                                                  updated if necessary.


                                               10 3.4 Neologism: Easy RDFS vocabulary publishing
                                                  Neologism11 is a web-based vocabulary editor and publishing platform designed to
Drupal: Content Construction Kit
Digital Enterprise Research Institute        www.deri.ie



        CCK          User Interface




                                        11
Drupal: the Person contentConstruction KitThis form
  The fields form for
                     Content type is displayed on Figure 2.11.
llows to easily reorder the fields by a “drag and drop” technique, add new fields,
  Digital Enterprise Research Institute                                            www.deri.ie

emove existing fields or access the configuration form for a field.
          CCK User Interface




      Figure 2.12: Defining constraints on the gender field in Drupal’s CCK.
                                        12
Figures 2.9, 2.10, 2.11 and 2.12 show the typical look and feelKit
         Drupal: Content Construction of a Drupal page and
administrative interface for the Person content type, without our extensions installed.
 Digital Enterprise Research Institute                                           www.deri.ie
This content type offers fields such as name, homepage, email, colleagues, blog url,
current project,User Interface
         CCK past projects, publications, contributions.




                Figure 2.9: User profile page built with Drupal’s CCK.
                                        13
   An example of node (page) of the type Person is depicted on Figure 2.9 where all
What do we add?
Digital Enterprise Research Institute               www.deri.ie




                                        1, 2




                                               14
1. Site Vocabulary
Digital Enterprise Research Institute                                      www.deri.ie



        Automatic                  site vocabulary in RDFS/OWL from CCK
             Describes            the content types and fields
             Content          type <=> RDF class
             Field
                  <=> RDF property
             RDFa output on site
             http://siteurl/ns#




                                                15
1. Site Vocabulary
Digital Enterprise Research Institute                             www.deri.ie



        Automatic                  site vocabulary in RDFS/OWL
             Field      constraints
             Example           with cardinalities:
                 – the name of a Person is required
                 – max. 5 projects per person




                                               16
Search examples are shown in Figure 3.2. Details on improving the ran
       2.search algorithm can be found in [45].
          Mapping Content Models to existing ontologies
Digital Enterprise Research Institute                                         www.deri.ie

           3.2.3 Mapping process
        Mapping                Content Models to Existing Ontologies
           The terms suggested by both of the import service and the ontology search
             Import of any vocabulary published online
           be mapped to each content type and their fields. For mapping content ty
           choose among the classes of service
             External ontology search
                                             the imported ontologies and for fields, one
             Local terms are subclasses/subproperties of public terms
           among the properties. The local terms will be linked with rdfs:subCl
           rdfs:subPropertyOf statements, e.g.
           site:Person rdfs:subClassOf foaf:Person to the mapped
           site vocabulary; wherever a mapping is definined, extra triples using the m
           are exposed in the RDFa of the page.
             Ensure “safe” vocabulary re-use:
               – only subclassing/subproperty avoids “redefinition” properties. E.g., ass
               Additionally, we allow inverse reuse of existing
           administrator imports amight introduce inconsistencies a relation between C
               – adding cardinalities vocabulary ex: that defines still, possible to
           gions and goods user interface
                 avoid in the that this region/coutry produces via the property ex:prod
           user interface also allows to relate fields to the inverse of imported proper
           stance, the origin field could be related to ex:produces in such an inve
           resulting in
                                           17
           site:origin rdfs:subPropertyOf
2. Mapping Content Models to existing ontologies
Digital Enterprise Research Institute                           www.deri.ie



        RDF         mappings page




                                        18
                    Figure 3.2: RDF mappings management through the Dru
2. Mapping Content Models to existing ontologies
 Digital Enterprise Research Institute                     www.deri.ie



         RDF         mappings page




agement through the Drupal interface: RDF class map-
                             19
What do we add?
Digital Enterprise Research Institute               www.deri.ie




                                        1, 2
                                  3




                                               20
3. Data endpoint for complex querying
Digital Enterprise Research Institute                                     www.deri.ie



        Local          RDF data exposed in a SPARQL endpoint
             Enables          interoperability across sites
             Built      on the PHP ARC2 library
             AllRDF data indexed in the endpoint
             Each page stored as graph and kept up to date




               Figure 3.6: A list of SPARQL results (left) and an RDF SPARQL Proxy
                                        21
3. Data endpoint for complex querying
Digital Enterprise Research Institute                           www.deri.ie



        Local          RDF data exposed in a SPARQL endpoint
             enable         interoperability across sites
             built      on the PHP ARC2 library
             allRDF data indexed in the endpoint
             Each page stored as graph and kept up to date




                                              22
What do we add?
Digital Enterprise Research Institute                   www.deri.ie




                                                    4




                                        1, 2
                               3




                                               23
4. Lazy loading of external data
 Digital Enterprise Research Institute                                                 www.deri.ie



         Lazy         loading (caching) of distant RDF resources
              Enables          interoperability across sites
              Built      on the PHP ARC2 library
              CONSTRUCT                 query to map distant schema to local schema




A list of SPARQL results (left) and an RDF SPARQL Proxy profile form
                                     24
4. Lazy loading of external data
Digital Enterprise Research Institute                    www.deri.ie



        Lazy         loading of distant RDF resources




                                        25
Digital Enterprise Research Institute        www.deri.ie




                     Where is it used?




                                        26
Science Collaboration Framework
Digital Enterprise Research Institute                                                 www.deri.ie



        Web          application toolkit based on Drupal
             Enables          online scientific collaboration
                 – publishing, annotating, sharing and discussing any content
                 – articles, papers, reviews, perspectives, interviews, news, biographies
                 – profile information on community members
             Targets          biomedecine communities, but generic in essence


        Networked                      sites producing Linked Data




                                                 27
SCF collaborating sites
Digital Enterprise Research Institute                                 www.deri.ie



             Stembook             (Stem Cell articles and reviews)
                 – http://www.stembook.org/




                                                28
SCF collaborating sites
Digital Enterprise Research Institute                                 www.deri.ie



             Michael          J Fox Foundation (Parkinson disease)
                 – http://www.pdonlineresearch.org/




                                              29
Digital Enterprise Research Institute        www.deri.ie




                     Conclusion




                                        30
Conclusion
Digital Enterprise Research Institute                                  www.deri.ie



        Structureof CMS sites contain valuable schema
         information
        Our suggested “workflow”:
             site     vocabulary from the local structure (RDF CCK)
             enables out-of-the-box RDF export: expose your Drupal site
              to the Web of Data without any additional effort from site
              admin or content editors (RDF CCK)
             mapping to existing RDF vocabularies improves integration in
              the LOD cloud (evoc)
             SPARQL           endpoint
             Lazy       loading of RDF resources (RDF Proxy)




                                           31
Conclusion
Digital Enterprise Research Institute                         www.deri.ie



        Drupal            6 modules available for download
                 – http://drupal.org/project/rdfcck
                 – http://drupal.org/project/evoc
                 – http://drupal.org/project/sparql_ep
                 – http://drupal.org/project/rdfproxy
        Online            prototype
                 – http://drupal.deri.ie/projectblogs/




                                            32
Good news from Drupal 7:
Digital Enterprise Research Institute                                                           www.deri.ie



        RDF         mapping feature committed to Drupal 7 core
             RDFa  output by default (blogs, forums, comments, etc.)
               using FOAF, SIOC, DC, SKOS.
             Download             development snapshot
                      – http://ftp.drupal.org/files/projects/drupal-7.x-dev.tar.gz
        Currently               more than 200.000* sites on Drupal 6
             waiting to make the switch to Drupal 7
             waiting to massively increase the amount of RDF data
              on the Web
        Discussion
             http://groups.drupal.org/semantic-web


                                                                * http://drupal.org/project/usage/drupal


                                               33

More Related Content

Similar to Produce and Consume Linked Data with Drupal!

Drupal Overview For Techies
Drupal Overview For TechiesDrupal Overview For Techies
Drupal Overview For TechiesRobert Carr
 
Drupal in 30 Minutes
Drupal in 30 MinutesDrupal in 30 Minutes
Drupal in 30 MinutesRobert Carr
 
Produce and consume_linked_data_with_drupal
Produce and consume_linked_data_with_drupalProduce and consume_linked_data_with_drupal
Produce and consume_linked_data_with_drupalSTIinnsbruck
 
Drupal 8 and iOS - an Open Source App
Drupal 8 and iOS - an Open Source AppDrupal 8 and iOS - an Open Source App
Drupal 8 and iOS - an Open Source ApplittleMAS
 
Open Source Content Management Systems
Open Source Content Management SystemsOpen Source Content Management Systems
Open Source Content Management SystemsMatthew Turland
 
Choosing an Open Source CMS
Choosing an Open Source CMSChoosing an Open Source CMS
Choosing an Open Source CMSPhase2
 
Drupal with CONTENTdm Digital Collections, Drupal Camp Vancouver 2012
Drupal with CONTENTdm Digital Collections, Drupal Camp Vancouver 2012Drupal with CONTENTdm Digital Collections, Drupal Camp Vancouver 2012
Drupal with CONTENTdm Digital Collections, Drupal Camp Vancouver 2012Marcus Emmanuel Barnes
 
Linked Data Publishing with Drupal (SWIB13 workshop)
Linked Data Publishing with Drupal (SWIB13 workshop)Linked Data Publishing with Drupal (SWIB13 workshop)
Linked Data Publishing with Drupal (SWIB13 workshop)Joachim Neubert
 
Drupal for Webmasters by Brett Baker
Drupal for Webmasters by Brett BakerDrupal for Webmasters by Brett Baker
Drupal for Webmasters by Brett Bakerwebfinearts
 
Drupal PT Meetup Lisbon (December 2011)
Drupal PT Meetup Lisbon (December 2011)Drupal PT Meetup Lisbon (December 2011)
Drupal PT Meetup Lisbon (December 2011)Paulo Gomes
 
Drupal Recipe
Drupal RecipeDrupal Recipe
Drupal Recipehernanibf
 
Lecture semantic dataaccess_presentation
Lecture semantic dataaccess_presentationLecture semantic dataaccess_presentation
Lecture semantic dataaccess_presentationIKS - Project
 
Exploring the Semantic Web
Exploring the Semantic WebExploring the Semantic Web
Exploring the Semantic WebRoberto García
 
Things Made Easy: One Click CMS Integration with Solr & Drupal
Things Made Easy: One Click CMS Integration with Solr & DrupalThings Made Easy: One Click CMS Integration with Solr & Drupal
Things Made Easy: One Click CMS Integration with Solr & Drupallucenerevolution
 
Introduction to the Semantic Web
Introduction to the Semantic WebIntroduction to the Semantic Web
Introduction to the Semantic WebNuxeo
 
SMOB - A Framework for Semantic Microblogging
SMOB - A Framework for Semantic MicrobloggingSMOB - A Framework for Semantic Microblogging
SMOB - A Framework for Semantic MicrobloggingAlexandre Passant
 
Above the cloud joarder kamal
Above the cloud   joarder kamalAbove the cloud   joarder kamal
Above the cloud joarder kamalJoarder Kamal
 

Similar to Produce and Consume Linked Data with Drupal! (20)

Drupal Overview For Techies
Drupal Overview For TechiesDrupal Overview For Techies
Drupal Overview For Techies
 
Drupal in 30 Minutes
Drupal in 30 MinutesDrupal in 30 Minutes
Drupal in 30 Minutes
 
Produce and consume_linked_data_with_drupal
Produce and consume_linked_data_with_drupalProduce and consume_linked_data_with_drupal
Produce and consume_linked_data_with_drupal
 
Drupal 8 and iOS - an Open Source App
Drupal 8 and iOS - an Open Source AppDrupal 8 and iOS - an Open Source App
Drupal 8 and iOS - an Open Source App
 
Drupal
DrupalDrupal
Drupal
 
Open Source Content Management Systems
Open Source Content Management SystemsOpen Source Content Management Systems
Open Source Content Management Systems
 
Rd Fa In Drupal
Rd Fa In DrupalRd Fa In Drupal
Rd Fa In Drupal
 
Choosing an Open Source CMS
Choosing an Open Source CMSChoosing an Open Source CMS
Choosing an Open Source CMS
 
Drupal with CONTENTdm Digital Collections, Drupal Camp Vancouver 2012
Drupal with CONTENTdm Digital Collections, Drupal Camp Vancouver 2012Drupal with CONTENTdm Digital Collections, Drupal Camp Vancouver 2012
Drupal with CONTENTdm Digital Collections, Drupal Camp Vancouver 2012
 
Linked Data Publishing with Drupal (SWIB13 workshop)
Linked Data Publishing with Drupal (SWIB13 workshop)Linked Data Publishing with Drupal (SWIB13 workshop)
Linked Data Publishing with Drupal (SWIB13 workshop)
 
Drupal for Webmasters by Brett Baker
Drupal for Webmasters by Brett BakerDrupal for Webmasters by Brett Baker
Drupal for Webmasters by Brett Baker
 
Drupal PT Meetup Lisbon (December 2011)
Drupal PT Meetup Lisbon (December 2011)Drupal PT Meetup Lisbon (December 2011)
Drupal PT Meetup Lisbon (December 2011)
 
Drupal
DrupalDrupal
Drupal
 
Drupal Recipe
Drupal RecipeDrupal Recipe
Drupal Recipe
 
Lecture semantic dataaccess_presentation
Lecture semantic dataaccess_presentationLecture semantic dataaccess_presentation
Lecture semantic dataaccess_presentation
 
Exploring the Semantic Web
Exploring the Semantic WebExploring the Semantic Web
Exploring the Semantic Web
 
Things Made Easy: One Click CMS Integration with Solr & Drupal
Things Made Easy: One Click CMS Integration with Solr & DrupalThings Made Easy: One Click CMS Integration with Solr & Drupal
Things Made Easy: One Click CMS Integration with Solr & Drupal
 
Introduction to the Semantic Web
Introduction to the Semantic WebIntroduction to the Semantic Web
Introduction to the Semantic Web
 
SMOB - A Framework for Semantic Microblogging
SMOB - A Framework for Semantic MicrobloggingSMOB - A Framework for Semantic Microblogging
SMOB - A Framework for Semantic Microblogging
 
Above the cloud joarder kamal
Above the cloud   joarder kamalAbove the cloud   joarder kamal
Above the cloud joarder kamal
 

More from scorlosquet

Using schema.org to improve SEO
Using schema.org to improve SEOUsing schema.org to improve SEO
Using schema.org to improve SEOscorlosquet
 
Keeping your Drupal site secure 2013
Keeping your Drupal site secure 2013Keeping your Drupal site secure 2013
Keeping your Drupal site secure 2013scorlosquet
 
DrupalCamp NJ 2014 Solr and Schema.org
DrupalCamp NJ 2014 Solr and Schema.orgDrupalCamp NJ 2014 Solr and Schema.org
DrupalCamp NJ 2014 Solr and Schema.orgscorlosquet
 
The Future of Search and SEO in Drupal
The Future of Search and SEO in DrupalThe Future of Search and SEO in Drupal
The Future of Search and SEO in Drupalscorlosquet
 
Schema.org & Drupal (FR)
Schema.org & Drupal (FR)Schema.org & Drupal (FR)
Schema.org & Drupal (FR)scorlosquet
 
Drupal and the Semantic Web - ESIP Webinar
Drupal and the Semantic Web - ESIP WebinarDrupal and the Semantic Web - ESIP Webinar
Drupal and the Semantic Web - ESIP Webinarscorlosquet
 
The Semantic Web and Drupal 7 - Loja 2013
The Semantic Web and Drupal 7 - Loja 2013The Semantic Web and Drupal 7 - Loja 2013
The Semantic Web and Drupal 7 - Loja 2013scorlosquet
 
Drupal as a Semantic Web platform - ISWC 2012
Drupal as a Semantic Web platform - ISWC 2012Drupal as a Semantic Web platform - ISWC 2012
Drupal as a Semantic Web platform - ISWC 2012scorlosquet
 
Slides semantic web and Drupal 7 NYCCamp 2012
Slides semantic web and Drupal 7 NYCCamp 2012Slides semantic web and Drupal 7 NYCCamp 2012
Slides semantic web and Drupal 7 NYCCamp 2012scorlosquet
 
Data strategies - Drupal Decision Makers training
Data strategies - Drupal Decision Makers trainingData strategies - Drupal Decision Makers training
Data strategies - Drupal Decision Makers trainingscorlosquet
 
Security - Drupal Decision Makers training
Security - Drupal Decision Makers trainingSecurity - Drupal Decision Makers training
Security - Drupal Decision Makers trainingscorlosquet
 
Drupal and the semantic web - SemTechBiz 2012
Drupal and the semantic web - SemTechBiz 2012Drupal and the semantic web - SemTechBiz 2012
Drupal and the semantic web - SemTechBiz 2012scorlosquet
 
Drupal 7 and schema.org module (Jan 2012)
Drupal 7 and schema.org module (Jan 2012)Drupal 7 and schema.org module (Jan 2012)
Drupal 7 and schema.org module (Jan 2012)scorlosquet
 
Drupal 7 and schema.org module
Drupal 7 and schema.org moduleDrupal 7 and schema.org module
Drupal 7 and schema.org modulescorlosquet
 
Drupal 7 and RDF
Drupal 7 and RDFDrupal 7 and RDF
Drupal 7 and RDFscorlosquet
 
How to Build Linked Data Sites with Drupal 7 and RDFa
How to Build Linked Data Sites with Drupal 7 and RDFaHow to Build Linked Data Sites with Drupal 7 and RDFa
How to Build Linked Data Sites with Drupal 7 and RDFascorlosquet
 
RDF presentation at DrupalCon San Francisco 2010
RDF presentation at DrupalCon San Francisco 2010RDF presentation at DrupalCon San Francisco 2010
RDF presentation at DrupalCon San Francisco 2010scorlosquet
 
When Drupal and RDF meet
When Drupal and RDF meetWhen Drupal and RDF meet
When Drupal and RDF meetscorlosquet
 

More from scorlosquet (19)

Using schema.org to improve SEO
Using schema.org to improve SEOUsing schema.org to improve SEO
Using schema.org to improve SEO
 
Keeping your Drupal site secure 2013
Keeping your Drupal site secure 2013Keeping your Drupal site secure 2013
Keeping your Drupal site secure 2013
 
DrupalCamp NJ 2014 Solr and Schema.org
DrupalCamp NJ 2014 Solr and Schema.orgDrupalCamp NJ 2014 Solr and Schema.org
DrupalCamp NJ 2014 Solr and Schema.org
 
The Future of Search and SEO in Drupal
The Future of Search and SEO in DrupalThe Future of Search and SEO in Drupal
The Future of Search and SEO in Drupal
 
Schema.org & Drupal (FR)
Schema.org & Drupal (FR)Schema.org & Drupal (FR)
Schema.org & Drupal (FR)
 
Drupal and the Semantic Web - ESIP Webinar
Drupal and the Semantic Web - ESIP WebinarDrupal and the Semantic Web - ESIP Webinar
Drupal and the Semantic Web - ESIP Webinar
 
The Semantic Web and Drupal 7 - Loja 2013
The Semantic Web and Drupal 7 - Loja 2013The Semantic Web and Drupal 7 - Loja 2013
The Semantic Web and Drupal 7 - Loja 2013
 
Drupal as a Semantic Web platform - ISWC 2012
Drupal as a Semantic Web platform - ISWC 2012Drupal as a Semantic Web platform - ISWC 2012
Drupal as a Semantic Web platform - ISWC 2012
 
Slides semantic web and Drupal 7 NYCCamp 2012
Slides semantic web and Drupal 7 NYCCamp 2012Slides semantic web and Drupal 7 NYCCamp 2012
Slides semantic web and Drupal 7 NYCCamp 2012
 
Data strategies - Drupal Decision Makers training
Data strategies - Drupal Decision Makers trainingData strategies - Drupal Decision Makers training
Data strategies - Drupal Decision Makers training
 
Security - Drupal Decision Makers training
Security - Drupal Decision Makers trainingSecurity - Drupal Decision Makers training
Security - Drupal Decision Makers training
 
Drupal and the semantic web - SemTechBiz 2012
Drupal and the semantic web - SemTechBiz 2012Drupal and the semantic web - SemTechBiz 2012
Drupal and the semantic web - SemTechBiz 2012
 
Drupal 7 and schema.org module (Jan 2012)
Drupal 7 and schema.org module (Jan 2012)Drupal 7 and schema.org module (Jan 2012)
Drupal 7 and schema.org module (Jan 2012)
 
Drupal 7 and schema.org module
Drupal 7 and schema.org moduleDrupal 7 and schema.org module
Drupal 7 and schema.org module
 
Drupal 7 and RDF
Drupal 7 and RDFDrupal 7 and RDF
Drupal 7 and RDF
 
How to Build Linked Data Sites with Drupal 7 and RDFa
How to Build Linked Data Sites with Drupal 7 and RDFaHow to Build Linked Data Sites with Drupal 7 and RDFa
How to Build Linked Data Sites with Drupal 7 and RDFa
 
RDF presentation at DrupalCon San Francisco 2010
RDF presentation at DrupalCon San Francisco 2010RDF presentation at DrupalCon San Francisco 2010
RDF presentation at DrupalCon San Francisco 2010
 
Drupal and RDF
Drupal and RDFDrupal and RDF
Drupal and RDF
 
When Drupal and RDF meet
When Drupal and RDF meetWhen Drupal and RDF meet
When Drupal and RDF meet
 

Recently uploaded

Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfjimielynbastida
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 

Recently uploaded (20)

Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdf
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 

Produce and Consume Linked Data with Drupal!

  • 1. Digital Enterprise Research Institute www.deri.ie Produce and Consume Linked Data with Drupal! Stéphane Corlosquet, Renaud Delbru, Tim Clark, Axel Polleres and Stefan Decker ISWC 2009 scorlosquet@gmail.com DERI NUI Galway, MGH October 27th, 2009 Chapter 1 Copyright 2009 Digital Enterprise Research Institute. All rights reserved.
  • 2. Loads of Data on the Web in CMS... Digital Enterprise Research Institute www.deri.ie 2
  • 3. Some Motivations... Digital Enterprise Research Institute www.deri.ie  Status of the current web  Data contained in millions of documents  Disparate platforms and systems  Wide range of topics (personal blogs, news, etc.)  Various types of resources (text, pictures, video, etc.)  Note: Lots of Structured data in Content Management Systems  Problem  Not possible to reuse this data outside the CMS (except RSS)  Not available as unified machine readable format 3
  • 4. So, here’s our idea of CMS: Digital Enterprise Research Institute www.deri.ie PROJECT BLOGS DBLP SPARQL endpoint SPARQL REMOTE DRUPAL SITE endpoint SELECT ?name ?title Tim WHERE { ......... ?person foaf:made ?pub. ?person rdfs:label ?name. ?pub dc:title ?title. SPARQL FILTER regex(?title, "knowledge", "i") endpoint } Figure 3.5: Extended example in a typical Linked Data eco-system. 4
  • 5. Approach Digital Enterprise Research Institute www.deri.ie  Our Goal  Integrate "any" CMS site to the Web of Data A challenging task  Little incentive for users to annotate their data manually  Site owners do not have the resources to convert their data to RDF  Per-siteschema: each site is different and its structure cannot be predefined  Solutions  Expose the CMS site structure in a unified format AUTOMATICALLY!  Use Semantic Web standards (RDFa, SPARQL) 5
  • 6. Approach Digital Enterprise Research Institute www.deri.ie  Implementation in Drupal  Why? One of the most popular CMS out there  Modules to take the burden off the site users  What our modules allow:  1. Automatic site vocabulary generation  2. Mapping Content Models to existing ontologies  3. Data endpoint for SPARQL querying  4. Lazy loading of external data (data import) 6
  • 7. Pre-Existing work Digital Enterprise Research Institute www.deri.ie  “Semantic Content Management Systems”  Ontology-based CMS: – Semantic community Web portals (2000) – OntoWebber: Model-Driven Ontology-Based Web Site Management (2001)  Our approach is reverse: from existing CMS structure to ontologies 7
  • 8. The Drupal CMS Digital Enterprise Research Institute www.deri.ie  Drupal*  Easy to use  Large community  Popularon the Web  Hundreds of thousands of sites  Modular design  Drupal site workflow  Site administrator: set up the site and install modules they like/need  Site editors: create the content of the site following the schema defined by the site administrator * http://drupal.org/ 8
  • 9. Drupal: Content Construction Kit Digital Enterprise Research Institute www.deri.ie  Content Construction Kit (CCK) module  GUI for extending the internal schema of a Drupal site  Used on many Drupal sites  Can build new types of pages, known as content types  Can create fields for each content types. Fields can be of various types: plain text fields, dates, email addresses, file uploads, reference to other pages 9
  • 10. Drupal: Content Construction Kit Digital Enterprise Research Institute www.deri.ie  Demo use case: project blogs site*  Community site PROJECT BLOGS  Various content: – People DBLP – Organizations – Projects SPARQL endpoint – Blogs SPARQL REMOTE DRUPAL SITE endpoint SELECT ?name ?title Tim WHERE { ......... ?person foaf:made ?pub. ?person rdfs:label ?name. ?pub dc:title ?title. SPARQL FILTER regex(?title, "knowledge", "i") endpoint } Figure 3.5: Extended example in a typical Linked Data eco-system. one for bridging the DBLP SPARQL endpoint to the project blogs website, and a sec- ond for bridging the Science Collaboration Framework website. When visiting Tim’s profile page, the relevant publication information will be fetched from both DBLP and * http://drupal.deri.ie/projectblogs/ SCF websites, and either new nodes will be created on the site or older ones will be updated if necessary. 10 3.4 Neologism: Easy RDFS vocabulary publishing Neologism11 is a web-based vocabulary editor and publishing platform designed to
  • 11. Drupal: Content Construction Kit Digital Enterprise Research Institute www.deri.ie  CCK User Interface 11
  • 12. Drupal: the Person contentConstruction KitThis form The fields form for Content type is displayed on Figure 2.11. llows to easily reorder the fields by a “drag and drop” technique, add new fields, Digital Enterprise Research Institute www.deri.ie emove existing fields or access the configuration form for a field.  CCK User Interface Figure 2.12: Defining constraints on the gender field in Drupal’s CCK. 12
  • 13. Figures 2.9, 2.10, 2.11 and 2.12 show the typical look and feelKit Drupal: Content Construction of a Drupal page and administrative interface for the Person content type, without our extensions installed. Digital Enterprise Research Institute www.deri.ie This content type offers fields such as name, homepage, email, colleagues, blog url, current project,User Interface  CCK past projects, publications, contributions. Figure 2.9: User profile page built with Drupal’s CCK. 13 An example of node (page) of the type Person is depicted on Figure 2.9 where all
  • 14. What do we add? Digital Enterprise Research Institute www.deri.ie 1, 2 14
  • 15. 1. Site Vocabulary Digital Enterprise Research Institute www.deri.ie  Automatic site vocabulary in RDFS/OWL from CCK  Describes the content types and fields  Content type <=> RDF class  Field <=> RDF property  RDFa output on site  http://siteurl/ns# 15
  • 16. 1. Site Vocabulary Digital Enterprise Research Institute www.deri.ie  Automatic site vocabulary in RDFS/OWL  Field constraints  Example with cardinalities: – the name of a Person is required – max. 5 projects per person 16
  • 17. Search examples are shown in Figure 3.2. Details on improving the ran 2.search algorithm can be found in [45]. Mapping Content Models to existing ontologies Digital Enterprise Research Institute www.deri.ie 3.2.3 Mapping process  Mapping Content Models to Existing Ontologies The terms suggested by both of the import service and the ontology search  Import of any vocabulary published online be mapped to each content type and their fields. For mapping content ty choose among the classes of service  External ontology search the imported ontologies and for fields, one  Local terms are subclasses/subproperties of public terms among the properties. The local terms will be linked with rdfs:subCl rdfs:subPropertyOf statements, e.g. site:Person rdfs:subClassOf foaf:Person to the mapped site vocabulary; wherever a mapping is definined, extra triples using the m are exposed in the RDFa of the page.  Ensure “safe” vocabulary re-use: – only subclassing/subproperty avoids “redefinition” properties. E.g., ass Additionally, we allow inverse reuse of existing administrator imports amight introduce inconsistencies a relation between C – adding cardinalities vocabulary ex: that defines still, possible to gions and goods user interface avoid in the that this region/coutry produces via the property ex:prod user interface also allows to relate fields to the inverse of imported proper stance, the origin field could be related to ex:produces in such an inve resulting in 17 site:origin rdfs:subPropertyOf
  • 18. 2. Mapping Content Models to existing ontologies Digital Enterprise Research Institute www.deri.ie  RDF mappings page 18 Figure 3.2: RDF mappings management through the Dru
  • 19. 2. Mapping Content Models to existing ontologies Digital Enterprise Research Institute www.deri.ie  RDF mappings page agement through the Drupal interface: RDF class map- 19
  • 20. What do we add? Digital Enterprise Research Institute www.deri.ie 1, 2 3 20
  • 21. 3. Data endpoint for complex querying Digital Enterprise Research Institute www.deri.ie  Local RDF data exposed in a SPARQL endpoint  Enables interoperability across sites  Built on the PHP ARC2 library  AllRDF data indexed in the endpoint  Each page stored as graph and kept up to date Figure 3.6: A list of SPARQL results (left) and an RDF SPARQL Proxy 21
  • 22. 3. Data endpoint for complex querying Digital Enterprise Research Institute www.deri.ie  Local RDF data exposed in a SPARQL endpoint  enable interoperability across sites  built on the PHP ARC2 library  allRDF data indexed in the endpoint  Each page stored as graph and kept up to date 22
  • 23. What do we add? Digital Enterprise Research Institute www.deri.ie 4 1, 2 3 23
  • 24. 4. Lazy loading of external data Digital Enterprise Research Institute www.deri.ie  Lazy loading (caching) of distant RDF resources  Enables interoperability across sites  Built on the PHP ARC2 library  CONSTRUCT query to map distant schema to local schema A list of SPARQL results (left) and an RDF SPARQL Proxy profile form 24
  • 25. 4. Lazy loading of external data Digital Enterprise Research Institute www.deri.ie  Lazy loading of distant RDF resources 25
  • 26. Digital Enterprise Research Institute www.deri.ie Where is it used? 26
  • 27. Science Collaboration Framework Digital Enterprise Research Institute www.deri.ie  Web application toolkit based on Drupal  Enables online scientific collaboration – publishing, annotating, sharing and discussing any content – articles, papers, reviews, perspectives, interviews, news, biographies – profile information on community members  Targets biomedecine communities, but generic in essence  Networked sites producing Linked Data 27
  • 28. SCF collaborating sites Digital Enterprise Research Institute www.deri.ie  Stembook (Stem Cell articles and reviews) – http://www.stembook.org/ 28
  • 29. SCF collaborating sites Digital Enterprise Research Institute www.deri.ie  Michael J Fox Foundation (Parkinson disease) – http://www.pdonlineresearch.org/ 29
  • 30. Digital Enterprise Research Institute www.deri.ie Conclusion 30
  • 31. Conclusion Digital Enterprise Research Institute www.deri.ie  Structureof CMS sites contain valuable schema information  Our suggested “workflow”:  site vocabulary from the local structure (RDF CCK)  enables out-of-the-box RDF export: expose your Drupal site to the Web of Data without any additional effort from site admin or content editors (RDF CCK)  mapping to existing RDF vocabularies improves integration in the LOD cloud (evoc)  SPARQL endpoint  Lazy loading of RDF resources (RDF Proxy) 31
  • 32. Conclusion Digital Enterprise Research Institute www.deri.ie  Drupal 6 modules available for download – http://drupal.org/project/rdfcck – http://drupal.org/project/evoc – http://drupal.org/project/sparql_ep – http://drupal.org/project/rdfproxy  Online prototype – http://drupal.deri.ie/projectblogs/ 32
  • 33. Good news from Drupal 7: Digital Enterprise Research Institute www.deri.ie  RDF mapping feature committed to Drupal 7 core  RDFa output by default (blogs, forums, comments, etc.) using FOAF, SIOC, DC, SKOS.  Download development snapshot – http://ftp.drupal.org/files/projects/drupal-7.x-dev.tar.gz  Currently more than 200.000* sites on Drupal 6  waiting to make the switch to Drupal 7  waiting to massively increase the amount of RDF data on the Web  Discussion  http://groups.drupal.org/semantic-web * http://drupal.org/project/usage/drupal 33