SlideShare a Scribd company logo
1 of 42
Download to read offline
Drupal 7 and RDF




Stéphane Corlosquet, <scorlosquet@gmail.com>
   - Software engineer, MGH
   - Drupal 7 core RDF maintainer
   - SemWeb geek
Linked Data Ventures, MIT, Oct 2010
   This work is licensed under a Creative Commons Attribution 3.0 License, with attribution to Stéphane Corlosquet
  Slides: http://files.openspring.net/2010/10/drupal7-rdf-mit-lod-ventures-oct-2010.pdf
Drupal
●   Dries Buytaert - small news site in 2000
●   Open Source - 2001
●   Content Management System
●   LAMP stack
●   Non-developers can build sites
    and publish content
●   Control panels instead of code



                          http://www.flickr.com/photos/funkyah/2400889778
Drupal
   ●   Open & modular
       architecture
   ●   Extensible by modules
   ●   Standards-based
   ●   Low resource hosting
   ●   Scalable
Building a Drupal site




        http://www.flickr.com/photos/toomuchdew/3792159077/
Building a Drupal site




         http://www.flickr.com/photos/georgivar/4795856532/
Building a Drupal site

●   Create the content types
    you need:
    Blog, article, wiki, forum, polls,
    image, video, podcast, e-
    commerce... (be creative)




                                 http://www.flickr.com/photos/georgivar/4795856532/
Building a Drupal site

●   Enable the features you
    want:

    Comments, tags, voting/rating,
    location, translations, revisions,
    search...




                                         http://www.flickr.com/photos/skip/42288941/
Building a Drupal site

●   Place links in the
    navigation bars and
    blocks
●   Build Views over your
    data
●   Skin your site: theming




                              http://www.flickr.com/photos/skip/42288887/
Building a Drupal site
6000 free contributed
modules
●   Google Analytics
●   Wysiwyg
●   Captcha
●   Calendar
●   XML sitemap
●   Five stars
●   Twitter
●   ...
                       http://www.flickr.com/photos/kaptainkobold/1422600992/
Drupal inside

●   Database storage (PDO)
●   Cron
●   Queue / batch API
●   File management
●   User management
●   Form API
●   Security




                                http://www.flickr.com/photos/kerim/5588760/
User experience




         http://www.flickr.com/photos/skip/42288887/
The Drupal Community




          http://www.flickr.com/photos/x-foto/4923221504/
The Drupal Community




 “It’s really the Drupal community and not so much
the software that makes the Drupal project what it
  is. So fostering the Drupal community is actually
more important than just managing the code base.” -
                     Dries Buytaert


                                        http://webchick.net/node/80
200+ Local user groups




including http://groups.drupal.org/boston
Doubles in size each release




source: http://acko.net/blog/drupal-org-explosion-and-trends   source: http://buytaert.net/drupal-site-statistics
Doubles in size each release


●   Drupal 6 (stable) - 325,145+ sites
●   Drupal 7 (beta 1) -                  20,000+ sites

●   Total estimation 500,000 sites (1% of the Web)



http://drupal.org/project/usage/drupal   http://buytaert.net/20000-drupal-gardens-sites
Who uses Drupal?
Who uses Drupal?
Who uses Drupal?
Who uses Drupal?




            http://buytaert.net/tag/drupal-sites
Try Drupal 7
●   Download and Install Drupal 7
    ●   Grab latest release http://drupal.org/project/drupal
    ●   Mac OS: MAMP http://www.mamp.info/
    ●   Acquia Stack http://acquia.com/downloads

●   Drupal Gardens: free Drupal 7 site
    http://www.drupalgardens.com/
Drupal 7 and RDF
History of RDF in Drupal
●   rdf.php (2000, Dries)
●   FOAF, vCard (2004, walkah)
●   Relationship (2005, dman)
●   Semantic Search (2006, hendler)
●   RDF (2007, Arto)
●   OpenCalais (febbraro, 2008)
●   RDF CCK (2008, scor)
●   and more...
Experiment prior Drupal 7
●   Expose Drupal's data in
    RDF
●   Automatically
●   No RDF expertise
    required
●   Module based




                              http://www.flickr.com/photos/neys/238686518
Architecture
●   User driven data model
●   Content type = RDF class
●   Field = RDF property
●   Node = RDF resource




                           http://www.flickr.com/photos/docman/221656821
Content types and Fields
Content types and Fields
Node
Mapping to RDF
●   site:Person a rdfs:Class;
                rdfs:subClassOf foaf:Person.


●   site:first_name a rdf:Property;
                   rdfs:subPropertyOf foaf:firstName.


●   site:colleague rdfs:domain site:Person.
Mapping to RDF
Mapping to RDF
Experiment continued
●   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)
Drupal 7 and RDF
●   Drupal 7 core is RDFa enabled!
●
    RDFa output by default on blogs, forums,
    comments, etc. 
using FOAF, SIOC, DC, SKOS
●   Beta1 released a few days ago
Drupal 7 and RDF
Drupal 7 contributed modules
●   http://drupal.org/project/rdf
    ●   Import vocabularies
    ●   Interface for mappings


●   http://drupal.org/project/sparql_ep
    ●   SPARQL endpoint on Drupal data


●   PHP ARC2 library http://github.com/semsol/arc2
RDFDB: an RDF Database API
●   Access RDF stores via a consistent API
●   SPARQL 1.1
●   Vendor agnostic
●   Similar to Drupal 7 Database abstraction layer
    ●   rdfdb_insert_data($graph, $triples)->execute();
    ●   rdfdb_select('?g ?s ?p ?o')->where('GRAPH ?g { ?
        s ?p ?o . }')->limit(1000)->execute();
RDFDB: an RDF Database API
●   Similar to Drupal 7 Database abstraction layer
    ●   rdfdb_insert_data($graph, $triples)->execute();
    ●   rdfdb_select('?s ?p ?o')->where('?s ?p ?o')-
        >limit(10)->execute();
    ●   rdfdb_clear($graph)->execute()


●   Do not worry about what RDF store the
    SPARQL endpoint is running on
RDFDB: an RDF Database API
●   Connection info:




●   Support for master/slave servers
●   Drivers for ARC2, Virtuoso, 4store
●   Comes with tests!
RDFDB: an RDF Database API
●   Why an abstraction layer?
    ●   Every store has its own way to implement SPARQL
        updates, some are RESTful, some others have their
        own SPARQL update syntax.
    ●   ARC2: SPARQL+ via POST requests
    ●   4store: POST, PUT and DELETE requests

●   Download
    ●   http://github.com/scor/rdfdb
How to get involved
●   So many ways... code, documentation, support,
    translations, graphic design
●   http://drupal.org/getting-involved
●   Watch video http://webchick.net/node/80
How to get involved
●   Subscribe to the Semantic Web group at
    http://groups.drupal.org/semantic-web
●   Semantic Drupal news at http://semantic-drupal.com/
Questions?




 Good luck!


       http://www.flickr.com/photos/tracer/61061174/

More Related Content

What's hot

The Web of data and web data commons
The Web of data and web data commonsThe Web of data and web data commons
The Web of data and web data commonsJesse Wang
 
AWS Public Data Sets: How to Stage Petabytes of Data for Analysis in AWS (WPS...
AWS Public Data Sets: How to Stage Petabytes of Data for Analysis in AWS (WPS...AWS Public Data Sets: How to Stage Petabytes of Data for Analysis in AWS (WPS...
AWS Public Data Sets: How to Stage Petabytes of Data for Analysis in AWS (WPS...Amazon Web Services
 
Publishing Linked Data 3/5 Semtech2011
Publishing Linked Data 3/5 Semtech2011Publishing Linked Data 3/5 Semtech2011
Publishing Linked Data 3/5 Semtech2011Juan Sequeda
 
BDT204 Awesome Applications of Open Data - AWS re: Invent 2012
BDT204 Awesome Applications of Open Data - AWS re: Invent 2012BDT204 Awesome Applications of Open Data - AWS re: Invent 2012
BDT204 Awesome Applications of Open Data - AWS re: Invent 2012Amazon Web Services
 
Linked Data, Ontologies and Inference
Linked Data, Ontologies and InferenceLinked Data, Ontologies and Inference
Linked Data, Ontologies and InferenceBarry Norton
 
AWS Customer Presentation: Freie Univerisitat - Berlin Summit 2012
AWS Customer Presentation: Freie Univerisitat - Berlin Summit 2012AWS Customer Presentation: Freie Univerisitat - Berlin Summit 2012
AWS Customer Presentation: Freie Univerisitat - Berlin Summit 2012Amazon Web Services
 
When Drupal and RDF meet
When Drupal and RDF meetWhen Drupal and RDF meet
When Drupal and RDF meetscorlosquet
 
Semantic web for ontology chapter4 bynk
Semantic web for ontology chapter4 bynkSemantic web for ontology chapter4 bynk
Semantic web for ontology chapter4 bynkNamgee Lee
 
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
 
Cenitpede: Analyzing Webcrawl
Cenitpede: Analyzing WebcrawlCenitpede: Analyzing Webcrawl
Cenitpede: Analyzing WebcrawlPrimal Pappachan
 
Geospatial Querying in Apache Marmotta - Apache Big Data North America 2016
Geospatial Querying in Apache Marmotta -  Apache Big Data North America 2016Geospatial Querying in Apache Marmotta -  Apache Big Data North America 2016
Geospatial Querying in Apache Marmotta - Apache Big Data North America 2016Sergio Fernández
 
So we all have ORCID integrations, now what?
So we all have ORCID integrations, now what?So we all have ORCID integrations, now what?
So we all have ORCID integrations, now what?Bram Luyten
 
Mining a Large Web Corpus
Mining a Large Web CorpusMining a Large Web Corpus
Mining a Large Web CorpusRobert Meusel
 
Building a Scalable Web Crawler with Hadoop
Building a Scalable Web Crawler with HadoopBuilding a Scalable Web Crawler with Hadoop
Building a Scalable Web Crawler with HadoopHadoop User Group
 
Eclipse RDF4J - Working with RDF in Java
Eclipse RDF4J - Working with RDF in JavaEclipse RDF4J - Working with RDF in Java
Eclipse RDF4J - Working with RDF in JavaJeen Broekstra
 

What's hot (20)

Drupal and RDF
Drupal and RDFDrupal and RDF
Drupal and RDF
 
The Web of data and web data commons
The Web of data and web data commonsThe Web of data and web data commons
The Web of data and web data commons
 
AWS Public Data Sets: How to Stage Petabytes of Data for Analysis in AWS (WPS...
AWS Public Data Sets: How to Stage Petabytes of Data for Analysis in AWS (WPS...AWS Public Data Sets: How to Stage Petabytes of Data for Analysis in AWS (WPS...
AWS Public Data Sets: How to Stage Petabytes of Data for Analysis in AWS (WPS...
 
Publishing Linked Data 3/5 Semtech2011
Publishing Linked Data 3/5 Semtech2011Publishing Linked Data 3/5 Semtech2011
Publishing Linked Data 3/5 Semtech2011
 
BDT204 Awesome Applications of Open Data - AWS re: Invent 2012
BDT204 Awesome Applications of Open Data - AWS re: Invent 2012BDT204 Awesome Applications of Open Data - AWS re: Invent 2012
BDT204 Awesome Applications of Open Data - AWS re: Invent 2012
 
Linked Data, Ontologies and Inference
Linked Data, Ontologies and InferenceLinked Data, Ontologies and Inference
Linked Data, Ontologies and Inference
 
AWS Customer Presentation: Freie Univerisitat - Berlin Summit 2012
AWS Customer Presentation: Freie Univerisitat - Berlin Summit 2012AWS Customer Presentation: Freie Univerisitat - Berlin Summit 2012
AWS Customer Presentation: Freie Univerisitat - Berlin Summit 2012
 
Shaun-Ellis-feb25
Shaun-Ellis-feb25Shaun-Ellis-feb25
Shaun-Ellis-feb25
 
When Drupal and RDF meet
When Drupal and RDF meetWhen Drupal and RDF meet
When Drupal and RDF meet
 
Semantic web for ontology chapter4 bynk
Semantic web for ontology chapter4 bynkSemantic web for ontology chapter4 bynk
Semantic web for ontology chapter4 bynk
 
Shawn-Averkamp-feb25
Shawn-Averkamp-feb25Shawn-Averkamp-feb25
Shawn-Averkamp-feb25
 
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
 
Cenitpede: Analyzing Webcrawl
Cenitpede: Analyzing WebcrawlCenitpede: Analyzing Webcrawl
Cenitpede: Analyzing Webcrawl
 
Geospatial Querying in Apache Marmotta - Apache Big Data North America 2016
Geospatial Querying in Apache Marmotta -  Apache Big Data North America 2016Geospatial Querying in Apache Marmotta -  Apache Big Data North America 2016
Geospatial Querying in Apache Marmotta - Apache Big Data North America 2016
 
Apache Marmotta - Introduction
Apache Marmotta - IntroductionApache Marmotta - Introduction
Apache Marmotta - Introduction
 
So we all have ORCID integrations, now what?
So we all have ORCID integrations, now what?So we all have ORCID integrations, now what?
So we all have ORCID integrations, now what?
 
Mining a Large Web Corpus
Mining a Large Web CorpusMining a Large Web Corpus
Mining a Large Web Corpus
 
Building a Scalable Web Crawler with Hadoop
Building a Scalable Web Crawler with HadoopBuilding a Scalable Web Crawler with Hadoop
Building a Scalable Web Crawler with Hadoop
 
Eclipse RDF4J - Working with RDF in Java
Eclipse RDF4J - Working with RDF in JavaEclipse RDF4J - Working with RDF in Java
Eclipse RDF4J - Working with RDF in Java
 
D2RQ
D2RQD2RQ
D2RQ
 

Viewers also liked (20)

Lemaia Conference Vienna Feb2008
Lemaia Conference Vienna Feb2008Lemaia Conference Vienna Feb2008
Lemaia Conference Vienna Feb2008
 
Leven In Media 2010
Leven In Media 2010Leven In Media 2010
Leven In Media 2010
 
Interesting Times: Will Business Survive?
Interesting Times: Will Business Survive?Interesting Times: Will Business Survive?
Interesting Times: Will Business Survive?
 
Citizen science project list (Europe & worldwide) v1
Citizen science project list (Europe & worldwide) v1Citizen science project list (Europe & worldwide) v1
Citizen science project list (Europe & worldwide) v1
 
Graziadio Magazine (Third Edition)
Graziadio Magazine (Third Edition)Graziadio Magazine (Third Edition)
Graziadio Magazine (Third Edition)
 
Using the Private Cost of Capital Model
Using the Private Cost of Capital ModelUsing the Private Cost of Capital Model
Using the Private Cost of Capital Model
 
CP Presentation
CP PresentationCP Presentation
CP Presentation
 
The Connected Library
The Connected LibraryThe Connected Library
The Connected Library
 
Nature of bank_deposits_in_canada
Nature of bank_deposits_in_canadaNature of bank_deposits_in_canada
Nature of bank_deposits_in_canada
 
File9350
File9350File9350
File9350
 
058 q humanity_earth_soil[1]
058 q humanity_earth_soil[1]058 q humanity_earth_soil[1]
058 q humanity_earth_soil[1]
 
Dukengineer2012
Dukengineer2012Dukengineer2012
Dukengineer2012
 
Resume Erich Gunsenheimer
Resume Erich GunsenheimerResume Erich Gunsenheimer
Resume Erich Gunsenheimer
 
bbliografia.doc
bbliografia.docbbliografia.doc
bbliografia.doc
 
Guth elf5
Guth elf5Guth elf5
Guth elf5
 
LMS meets Web 2.0: mid-2008
LMS meets Web 2.0: mid-2008LMS meets Web 2.0: mid-2008
LMS meets Web 2.0: mid-2008
 
Presentación: Diseño de Blogs
Presentación: Diseño de BlogsPresentación: Diseño de Blogs
Presentación: Diseño de Blogs
 
Week1
Week1Week1
Week1
 
wordcampUK SEO tools & plugins
wordcampUK SEO tools & pluginswordcampUK SEO tools & plugins
wordcampUK SEO tools & plugins
 
Modelos de PLE
Modelos de PLEModelos de PLE
Modelos de PLE
 

Similar to Drupal 7 and RDF

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
 
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
 
Data strategies - Drupal Decision Makers training
Data strategies - Drupal Decision Makers trainingData strategies - Drupal Decision Makers training
Data strategies - Drupal Decision Makers trainingscorlosquet
 
Linked data enhanced publishing for special collections (with Drupal)
Linked data enhanced publishing for special collections (with Drupal)Linked data enhanced publishing for special collections (with Drupal)
Linked data enhanced publishing for special collections (with Drupal)Joachim Neubert
 
Lupus Decoupled Drupal - Drupal Austria Meetup - 2023-04.pdf
Lupus Decoupled Drupal - Drupal Austria Meetup - 2023-04.pdfLupus Decoupled Drupal - Drupal Austria Meetup - 2023-04.pdf
Lupus Decoupled Drupal - Drupal Austria Meetup - 2023-04.pdfWolfgangZiegler6
 
Drupal south 2014 - bootstrap vs foundation deathmatch - v.1.1
Drupal south 2014 - bootstrap vs foundation deathmatch - v.1.1Drupal south 2014 - bootstrap vs foundation deathmatch - v.1.1
Drupal south 2014 - bootstrap vs foundation deathmatch - v.1.1Vladimir Roudakov
 
Drupal + composer = new love !?
Drupal + composer = new love !?Drupal + composer = new love !?
Drupal + composer = new love !?nuppla
 
Drupal in 5mins + Previewing Drupal 8.x
Drupal in 5mins + Previewing Drupal 8.xDrupal in 5mins + Previewing Drupal 8.x
Drupal in 5mins + Previewing Drupal 8.xWong Hoi Sing Edison
 
Plain english guide to drupal 8 criticals
Plain english guide to drupal 8 criticalsPlain english guide to drupal 8 criticals
Plain english guide to drupal 8 criticalsAngela Byron
 
Semantic content management: consuming and producing RDF in Drupal
Semantic content management: consuming and producing RDF in DrupalSemantic content management: consuming and producing RDF in Drupal
Semantic content management: consuming and producing RDF in DrupalThom Bunting
 
Doctrine Project
Doctrine ProjectDoctrine Project
Doctrine ProjectDaniel Lima
 
[HKDUG] #20151017 - BarCamp 2015 - Drupal 8 is Coming! Are You Ready?
[HKDUG] #20151017 - BarCamp 2015 - Drupal 8 is Coming! Are You Ready?[HKDUG] #20151017 - BarCamp 2015 - Drupal 8 is Coming! Are You Ready?
[HKDUG] #20151017 - BarCamp 2015 - Drupal 8 is Coming! Are You Ready?Wong Hoi Sing Edison
 
Scaling up and accelerating Drupal 8 with NoSQL
Scaling up and accelerating Drupal 8 with NoSQLScaling up and accelerating Drupal 8 with NoSQL
Scaling up and accelerating Drupal 8 with NoSQLOSInet
 
[Srijan Wednesday Webinars] Breaking Limitations using Drupal 8
[Srijan Wednesday Webinars] Breaking Limitations using Drupal 8[Srijan Wednesday Webinars] Breaking Limitations using Drupal 8
[Srijan Wednesday Webinars] Breaking Limitations using Drupal 8Srijan Technologies
 
Super powered Drupal development with docker
Super powered Drupal development with dockerSuper powered Drupal development with docker
Super powered Drupal development with dockerMaciej Lukianski
 

Similar to Drupal 7 and RDF (20)

Embedding Linked Data Invisibly into Web Pages: Strategies and Workflows for ...
Embedding Linked Data Invisibly into Web Pages: Strategies and Workflows for ...Embedding Linked Data Invisibly into Web Pages: Strategies and Workflows for ...
Embedding Linked Data Invisibly into Web Pages: Strategies and Workflows for ...
 
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
 
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
 
Data strategies - Drupal Decision Makers training
Data strategies - Drupal Decision Makers trainingData strategies - Drupal Decision Makers training
Data strategies - Drupal Decision Makers training
 
Linked data enhanced publishing for special collections (with Drupal)
Linked data enhanced publishing for special collections (with Drupal)Linked data enhanced publishing for special collections (with Drupal)
Linked data enhanced publishing for special collections (with Drupal)
 
Lupus Decoupled Drupal - Drupal Austria Meetup - 2023-04.pdf
Lupus Decoupled Drupal - Drupal Austria Meetup - 2023-04.pdfLupus Decoupled Drupal - Drupal Austria Meetup - 2023-04.pdf
Lupus Decoupled Drupal - Drupal Austria Meetup - 2023-04.pdf
 
Drupal south 2014 - bootstrap vs foundation deathmatch - v.1.1
Drupal south 2014 - bootstrap vs foundation deathmatch - v.1.1Drupal south 2014 - bootstrap vs foundation deathmatch - v.1.1
Drupal south 2014 - bootstrap vs foundation deathmatch - v.1.1
 
Drupal in-depth
Drupal in-depthDrupal in-depth
Drupal in-depth
 
Drupal + composer = new love !?
Drupal + composer = new love !?Drupal + composer = new love !?
Drupal + composer = new love !?
 
Drupal in 5mins + Previewing Drupal 8.x
Drupal in 5mins + Previewing Drupal 8.xDrupal in 5mins + Previewing Drupal 8.x
Drupal in 5mins + Previewing Drupal 8.x
 
Plain english guide to drupal 8 criticals
Plain english guide to drupal 8 criticalsPlain english guide to drupal 8 criticals
Plain english guide to drupal 8 criticals
 
Drupal Flyover, CMS Expo
Drupal Flyover, CMS ExpoDrupal Flyover, CMS Expo
Drupal Flyover, CMS Expo
 
Semantic content management: consuming and producing RDF in Drupal
Semantic content management: consuming and producing RDF in DrupalSemantic content management: consuming and producing RDF in Drupal
Semantic content management: consuming and producing RDF in Drupal
 
Doctrine Project
Doctrine ProjectDoctrine Project
Doctrine Project
 
Migrations
MigrationsMigrations
Migrations
 
[HKDUG] #20151017 - BarCamp 2015 - Drupal 8 is Coming! Are You Ready?
[HKDUG] #20151017 - BarCamp 2015 - Drupal 8 is Coming! Are You Ready?[HKDUG] #20151017 - BarCamp 2015 - Drupal 8 is Coming! Are You Ready?
[HKDUG] #20151017 - BarCamp 2015 - Drupal 8 is Coming! Are You Ready?
 
Beginners Guide to Drupal
Beginners Guide to DrupalBeginners Guide to Drupal
Beginners Guide to Drupal
 
Scaling up and accelerating Drupal 8 with NoSQL
Scaling up and accelerating Drupal 8 with NoSQLScaling up and accelerating Drupal 8 with NoSQL
Scaling up and accelerating Drupal 8 with NoSQL
 
[Srijan Wednesday Webinars] Breaking Limitations using Drupal 8
[Srijan Wednesday Webinars] Breaking Limitations using Drupal 8[Srijan Wednesday Webinars] Breaking Limitations using Drupal 8
[Srijan Wednesday Webinars] Breaking Limitations using Drupal 8
 
Super powered Drupal development with docker
Super powered Drupal development with dockerSuper powered Drupal development with docker
Super powered Drupal development with docker
 

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
 
Security - Drupal Decision Makers training
Security - Drupal Decision Makers trainingSecurity - Drupal Decision Makers training
Security - Drupal Decision Makers trainingscorlosquet
 
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
 
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
 
Produce and Consume Linked Data with Drupal!
Produce and Consume Linked Data with Drupal!Produce and Consume Linked Data with Drupal!
Produce and Consume Linked Data with Drupal!scorlosquet
 

More from scorlosquet (11)

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)
 
Security - Drupal Decision Makers training
Security - Drupal Decision Makers trainingSecurity - Drupal Decision Makers training
Security - Drupal Decision Makers training
 
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
 
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
 
Produce and Consume Linked Data with Drupal!
Produce and Consume Linked Data with Drupal!Produce and Consume Linked Data with Drupal!
Produce and Consume Linked Data with Drupal!
 

Recently uploaded

Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 

Recently uploaded (20)

Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 

Drupal 7 and RDF

  • 1. Drupal 7 and RDF Stéphane Corlosquet, <scorlosquet@gmail.com> - Software engineer, MGH - Drupal 7 core RDF maintainer - SemWeb geek Linked Data Ventures, MIT, Oct 2010 This work is licensed under a Creative Commons Attribution 3.0 License, with attribution to Stéphane Corlosquet Slides: http://files.openspring.net/2010/10/drupal7-rdf-mit-lod-ventures-oct-2010.pdf
  • 2. Drupal ● Dries Buytaert - small news site in 2000 ● Open Source - 2001 ● Content Management System ● LAMP stack ● Non-developers can build sites and publish content ● Control panels instead of code http://www.flickr.com/photos/funkyah/2400889778
  • 3. Drupal ● Open & modular architecture ● Extensible by modules ● Standards-based ● Low resource hosting ● Scalable
  • 4. Building a Drupal site http://www.flickr.com/photos/toomuchdew/3792159077/
  • 5. Building a Drupal site http://www.flickr.com/photos/georgivar/4795856532/
  • 6. Building a Drupal site ● Create the content types you need: Blog, article, wiki, forum, polls, image, video, podcast, e- commerce... (be creative) http://www.flickr.com/photos/georgivar/4795856532/
  • 7. Building a Drupal site ● Enable the features you want: Comments, tags, voting/rating, location, translations, revisions, search... http://www.flickr.com/photos/skip/42288941/
  • 8. Building a Drupal site ● Place links in the navigation bars and blocks ● Build Views over your data ● Skin your site: theming http://www.flickr.com/photos/skip/42288887/
  • 9. Building a Drupal site 6000 free contributed modules ● Google Analytics ● Wysiwyg ● Captcha ● Calendar ● XML sitemap ● Five stars ● Twitter ● ... http://www.flickr.com/photos/kaptainkobold/1422600992/
  • 10. Drupal inside ● Database storage (PDO) ● Cron ● Queue / batch API ● File management ● User management ● Form API ● Security http://www.flickr.com/photos/kerim/5588760/
  • 11. User experience http://www.flickr.com/photos/skip/42288887/
  • 12. The Drupal Community http://www.flickr.com/photos/x-foto/4923221504/
  • 13. The Drupal Community “It’s really the Drupal community and not so much the software that makes the Drupal project what it is. So fostering the Drupal community is actually more important than just managing the code base.” - Dries Buytaert http://webchick.net/node/80
  • 14. 200+ Local user groups including http://groups.drupal.org/boston
  • 15. Doubles in size each release source: http://acko.net/blog/drupal-org-explosion-and-trends source: http://buytaert.net/drupal-site-statistics
  • 16. Doubles in size each release ● Drupal 6 (stable) - 325,145+ sites ● Drupal 7 (beta 1) - 20,000+ sites ● Total estimation 500,000 sites (1% of the Web) http://drupal.org/project/usage/drupal http://buytaert.net/20000-drupal-gardens-sites
  • 20. Who uses Drupal? http://buytaert.net/tag/drupal-sites
  • 21. Try Drupal 7 ● Download and Install Drupal 7 ● Grab latest release http://drupal.org/project/drupal ● Mac OS: MAMP http://www.mamp.info/ ● Acquia Stack http://acquia.com/downloads ● Drupal Gardens: free Drupal 7 site http://www.drupalgardens.com/
  • 23. History of RDF in Drupal ● rdf.php (2000, Dries) ● FOAF, vCard (2004, walkah) ● Relationship (2005, dman) ● Semantic Search (2006, hendler) ● RDF (2007, Arto) ● OpenCalais (febbraro, 2008) ● RDF CCK (2008, scor) ● and more...
  • 24. Experiment prior Drupal 7 ● Expose Drupal's data in RDF ● Automatically ● No RDF expertise required ● Module based http://www.flickr.com/photos/neys/238686518
  • 25. Architecture ● User driven data model ● Content type = RDF class ● Field = RDF property ● Node = RDF resource http://www.flickr.com/photos/docman/221656821
  • 28. Node
  • 29. Mapping to RDF ● site:Person a rdfs:Class; rdfs:subClassOf foaf:Person. ● site:first_name a rdf:Property; rdfs:subPropertyOf foaf:firstName. ● site:colleague rdfs:domain site:Person.
  • 32. Experiment continued ● 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)
  • 33. Drupal 7 and RDF ● Drupal 7 core is RDFa enabled! ● RDFa output by default on blogs, forums, comments, etc. 
using FOAF, SIOC, DC, SKOS ● Beta1 released a few days ago
  • 35. Drupal 7 contributed modules ● http://drupal.org/project/rdf ● Import vocabularies ● Interface for mappings ● http://drupal.org/project/sparql_ep ● SPARQL endpoint on Drupal data ● PHP ARC2 library http://github.com/semsol/arc2
  • 36. RDFDB: an RDF Database API ● Access RDF stores via a consistent API ● SPARQL 1.1 ● Vendor agnostic ● Similar to Drupal 7 Database abstraction layer ● rdfdb_insert_data($graph, $triples)->execute(); ● rdfdb_select('?g ?s ?p ?o')->where('GRAPH ?g { ? s ?p ?o . }')->limit(1000)->execute();
  • 37. RDFDB: an RDF Database API ● Similar to Drupal 7 Database abstraction layer ● rdfdb_insert_data($graph, $triples)->execute(); ● rdfdb_select('?s ?p ?o')->where('?s ?p ?o')- >limit(10)->execute(); ● rdfdb_clear($graph)->execute() ● Do not worry about what RDF store the SPARQL endpoint is running on
  • 38. RDFDB: an RDF Database API ● Connection info: ● Support for master/slave servers ● Drivers for ARC2, Virtuoso, 4store ● Comes with tests!
  • 39. RDFDB: an RDF Database API ● Why an abstraction layer? ● Every store has its own way to implement SPARQL updates, some are RESTful, some others have their own SPARQL update syntax. ● ARC2: SPARQL+ via POST requests ● 4store: POST, PUT and DELETE requests ● Download ● http://github.com/scor/rdfdb
  • 40. How to get involved ● So many ways... code, documentation, support, translations, graphic design ● http://drupal.org/getting-involved ● Watch video http://webchick.net/node/80
  • 41. How to get involved ● Subscribe to the Semantic Web group at http://groups.drupal.org/semantic-web ● Semantic Drupal news at http://semantic-drupal.com/
  • 42. Questions? Good luck! http://www.flickr.com/photos/tracer/61061174/