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

Publishing Linked Data 3/5 Semtech2011
Publishing Linked Data 3/5 Semtech2011Publishing Linked Data 3/5 Semtech2011
Publishing Linked Data 3/5 Semtech2011
Juan Sequeda
 
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
Amazon Web Services
 
Cenitpede: Analyzing Webcrawl
Cenitpede: Analyzing WebcrawlCenitpede: Analyzing Webcrawl
Cenitpede: Analyzing Webcrawl
Primal Pappachan
 

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

CP Presentation
CP PresentationCP Presentation
CP Presentation
boylesea
 
Nature of bank_deposits_in_canada
Nature of bank_deposits_in_canadaNature of bank_deposits_in_canada
Nature of bank_deposits_in_canada
k_khetarpal
 
058 q humanity_earth_soil[1]
058 q humanity_earth_soil[1]058 q humanity_earth_soil[1]
058 q humanity_earth_soil[1]
Dora SCerruti
 
Dukengineer2012
Dukengineer2012Dukengineer2012
Dukengineer2012
鋒博 蔡
 
bbliografia.doc
bbliografia.docbbliografia.doc
bbliografia.doc
butest
 

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

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 ...
National Information Standards Organization (NISO)
 
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
scorlosquet
 
Data strategies - Drupal Decision Makers training
Data strategies - Drupal Decision Makers trainingData strategies - Drupal Decision Makers training
Data strategies - Drupal Decision Makers training
scorlosquet
 
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
 
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
Angela Byron
 

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

Keeping your Drupal site secure 2013
Keeping your Drupal site secure 2013Keeping your Drupal site secure 2013
Keeping your Drupal site secure 2013
scorlosquet
 
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
scorlosquet
 
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
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

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
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
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
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
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
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
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 

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/