Embedding Linked Data Invisibly into Web Pages: Strategies and Workflows for Publishing with RDFa


Published on

As described in the April NISO/DCMI webinar by Dan Brickley, schema.org is a search-engine initiative aimed at helping webmasters use structured data markup to improve the discovery and display of search results. Drupal 7 makes it easy to markup HTML pages with schema.org terms, allowing users to quickly build websites with structured data that can be understood by Google and displayed as Rich Snippets.

Improved search results are only part of the story, however. Data-bearing documents become machine-processable once you find them. The subject matter, important facts, calendar events, authorship, licensing, and whatever else you might like to share become there for the taking. Sales reports, RSS feeds, industry analysis, maps, diagrams and process artifacts can now connect back to other data sets to provide linkage to context and related content. The key to this is the adoption standards for both the data model (RDF) and the means of weaving it into documents (RDFa). Drupal 7 has become the leading content platform to adopt these standards.

This webinar will describe how RDFa and Drupal 7 can improve how organizations publish information and data on the Web for both internal and external consumption. It will discuss what is required to use these features and how they impact publication workflow. The talk will focus on high-level and accessible demonstrations of what is possible. Technical people should learn how to proceed while non-technical people will learn what is possible.

Published in: Education
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Embedding Linked Data Invisibly into Web Pages: Strategies and Workflows for Publishing with RDFa

  1. 1. Publishing with Drupal and RDFaStéphane CorlosquetNISO/DCMI webinarOct 24th, 2012
  2. 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. 3. Who uses Drupal?
  4. 4. Who uses Drupal?
  5. 5. Who uses Drupal?
  6. 6. Who uses Drupal?
  7. 7. Who uses Drupal?
  8. 8. Who uses Drupal?
  9. 9. Who uses Drupal?
  10. 10. Who uses Drupal?
  11. 11. Who uses Drupal?
  12. 12. Who uses Drupal? http://buytaert.net/tag/drupal-sites
  13. 13. Drupal ● Open & modular architecture ● Extensible by modules ● Standards-based ● Low resource hosting ● Scalable http://drupal.org/getting-started/before/overview
  14. 14. Building a Drupal site http://www.flickr.com/photos/toomuchdew/3792159077/
  15. 15. 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/
  16. 16. Building a Drupal site● Enable the features you want Comments, tags, voting/rating, location, translations, revisions, search... http://www.flickr.com/photos/skip/42288941/
  17. 17. Building a Drupal siteSet how your content is displayed
  18. 18. Building a Drupal siteThousands of freecontributed modules● Google Analytics● Wysiwyg● Captcha● Calendar● XML sitemap● Five stars● Twitter● ... http://www.flickr.com/photos/kaptainkobold/1422600992/
  19. 19. The Drupal Community http://www.flickr.com/photos/x-foto/4923221504/
  20. 20. The Drupal Community “It’s really the Drupal community and not somuch 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
  21. 21. Try Drupal 7● Download and Install Drupal 7 ● Grab latest release http://drupal.org/project/drupal ● LAMP stack: – Mac OS: http://www.mamp.info/ – Acquia Stack http://acquia.com/downloads● Drupal Gardens: free Drupal 7 site
  22. 22. Drupal Hosting● Acquia Managed Cloud● Pantheon - Zap! Instant Drupal● http://drupal.org/hosting
  23. 23. Drupal 7 and RDFa● Drupal 7 core is RDFa 1.0 enabled● RDFa output by default on blogs, forums, comments, etc. 
using FOAF, SIOC, DC, SKOS● Extensible via RDF mapping API, e.g. schema.org
  24. 24. Drupal 7 and RDF
  25. 25. Rich Snippets
  26. 26. Google
  27. 27. Yahoo!
  28. 28. Bing
  29. 29. Schema.org
  30. 30. Schema.org● Describe the type of your content (Person, Event, Recipe, Product, Book, Movie, etc.) – 293 types and counting● Each type has a set of properties – Common properties: name, description, image, url – Specific properties depending on the type (see type page on schema.org) – 286 properties and counting
  31. 31. Schema.org
  32. 32. Schema.org module for Drupal● UI instead of code● Map your content types and fields to the schema.org terms http://drupal.org/project/schemaorg
  33. 33. Content types and Fields
  34. 34. Content types and Fields
  35. 35. Content types and Fields
  36. 36. Example: Event
  37. 37. Rich Snippet testing tool● http://www.google.com/webmasters/tools/richsnippets
  38. 38. Examples● Events – “force11 events”: http://goo.gl/VVhNM – DrupalCon Munich: http://goo.gl/jgMvw – University of Waterloo: http://goo.gl/Df9hp● Person – DGD7 – Jacine Luisi: http://t.co/rTK8N9K2 – Stéphane Corlosquet: http://goo.gl/9dWdL
  39. 39. Drupal, rNews and RDFaOpen Publish● Free Drupal distribution for building News site● rNews support in RDFa● Download
  40. 40. Useful modules● http://drupal.org/project/schemaorg – Download module (beta) – Documentation on drupal.org – Screencast + examples● http://drupal.org/project/rdfa – Implements the latest RDFa 1.1 (Drupal core is 1.0) – HTML5 and RDFa – Under development
  41. 41. Advanced use cases
  42. 42. Drupal 7 and RDF● Contributed module for more features ● RDF Extensions ● Serialization formats: RDF/XML, Turtle, N-Triples ● SPARQL ● Expose Drupal RDF data in a SPARQL Endpoint ● SPARQL Views ● Display remote RDF data in Drupal using SPARQL ● JSON-LD ● Expose Drupal RDF data as JSON-LD (CORS-enabled) ● Features and packaging ● Build distributions / deployment workflow
  43. 43. SPARQL Endpoint● Indexing http://drupal.org/project/sparql
  44. 44. SPARQL Endpoint● Public endpoint available at /sparql● http://prefix.cc/sioc,rnews.sparql
  45. 45. JSON-LD in Drupal● Client side as well as server side friendly● Browser Scripting: – Native javascript format – RDFa API in the DOM● Data can be fetched from anywhere: – Cross-Origin Resource Sharing (CORS) enabled● Client can mash data● http://drupal.org/project/jsonld
  46. 46. Domeo + Drupal● Data mash up from independent, but related sources
  47. 47. Domeo + Drupal● Data mash up from independent, but related sources
  48. 48. Thanks!● Stéphane Corlosquet: scorlosquet@gmail.com – @scorlosquet – http://openspring.net/