Drupal 7 and Semantic Web Hands-on Tutorial › files › slides_austin_part2.pdfDrupal 7 and...
Transcript of Drupal 7 and Semantic Web Hands-on Tutorial › files › slides_austin_part2.pdfDrupal 7 and...
![Page 1: Drupal 7 and Semantic Web Hands-on Tutorial › files › slides_austin_part2.pdfDrupal 7 and Semantic Web Hands-on Tutorial Stéphane Corlosquet, Austin,](https://reader033.fdocuments.net/reader033/viewer/2022052723/5f0f1b617e708231d442866b/html5/thumbnails/1.jpg)
Drupal 7 and Semantic Web Hands-on Tutorial
Stéphane Corlosquet, <[email protected]>Austin, TX – Sat, October 1st 2011
Advanced
![Page 2: Drupal 7 and Semantic Web Hands-on Tutorial › files › slides_austin_part2.pdfDrupal 7 and Semantic Web Hands-on Tutorial Stéphane Corlosquet, Austin,](https://reader033.fdocuments.net/reader033/viewer/2022052723/5f0f1b617e708231d442866b/html5/thumbnails/2.jpg)
Towards RDF in Drupal core
"Video from the future"
DrupalCon Boston 2008
Dries' keynote
http://video.google.com/videoplay?docid=8487255297768440860
![Page 3: Drupal 7 and Semantic Web Hands-on Tutorial › files › slides_austin_part2.pdfDrupal 7 and Semantic Web Hands-on Tutorial Stéphane Corlosquet, Austin,](https://reader033.fdocuments.net/reader033/viewer/2022052723/5f0f1b617e708231d442866b/html5/thumbnails/3.jpg)
Towards RDF in Drupal core
Code sprint
May 2009
DERI Galway, Ireland
http://drupal.org/node/443824
![Page 4: Drupal 7 and Semantic Web Hands-on Tutorial › files › slides_austin_part2.pdfDrupal 7 and Semantic Web Hands-on Tutorial Stéphane Corlosquet, Austin,](https://reader033.fdocuments.net/reader033/viewer/2022052723/5f0f1b617e708231d442866b/html5/thumbnails/4.jpg)
Towards RDF in Drupal core
http://twitter.com/dries/status/4997311434
![Page 5: Drupal 7 and Semantic Web Hands-on Tutorial › files › slides_austin_part2.pdfDrupal 7 and Semantic Web Hands-on Tutorial Stéphane Corlosquet, Austin,](https://reader033.fdocuments.net/reader033/viewer/2022052723/5f0f1b617e708231d442866b/html5/thumbnails/5.jpg)
RDF in Drupal 7
● Expose Drupal's data in RDF
● Automatically● No RDF expertise
required● Module based
http://www.flickr.com/photos/neys/2386865187
![Page 6: Drupal 7 and Semantic Web Hands-on Tutorial › files › slides_austin_part2.pdfDrupal 7 and Semantic Web Hands-on Tutorial Stéphane Corlosquet, Austin,](https://reader033.fdocuments.net/reader033/viewer/2022052723/5f0f1b617e708231d442866b/html5/thumbnails/6.jpg)
Architecture
● User driven data model● Structured data: instances
of types with properties and relationships
● Content type = RDF class● Field = RDF property● Node = RDF resource
http://www.flickr.com/photos/docman/2216568210
![Page 7: Drupal 7 and Semantic Web Hands-on Tutorial › files › slides_austin_part2.pdfDrupal 7 and Semantic Web Hands-on Tutorial Stéphane Corlosquet, Austin,](https://reader033.fdocuments.net/reader033/viewer/2022052723/5f0f1b617e708231d442866b/html5/thumbnails/7.jpg)
Content types and Fields
![Page 8: Drupal 7 and Semantic Web Hands-on Tutorial › files › slides_austin_part2.pdfDrupal 7 and Semantic Web Hands-on Tutorial Stéphane Corlosquet, Austin,](https://reader033.fdocuments.net/reader033/viewer/2022052723/5f0f1b617e708231d442866b/html5/thumbnails/8.jpg)
Content types and Fields
![Page 9: Drupal 7 and Semantic Web Hands-on Tutorial › files › slides_austin_part2.pdfDrupal 7 and Semantic Web Hands-on Tutorial Stéphane Corlosquet, Austin,](https://reader033.fdocuments.net/reader033/viewer/2022052723/5f0f1b617e708231d442866b/html5/thumbnails/9.jpg)
Node
![Page 10: Drupal 7 and Semantic Web Hands-on Tutorial › files › slides_austin_part2.pdfDrupal 7 and Semantic Web Hands-on Tutorial Stéphane Corlosquet, Austin,](https://reader033.fdocuments.net/reader033/viewer/2022052723/5f0f1b617e708231d442866b/html5/thumbnails/10.jpg)
Drupal 7 core RDF mappings
![Page 11: Drupal 7 and Semantic Web Hands-on Tutorial › files › slides_austin_part2.pdfDrupal 7 and Semantic Web Hands-on Tutorial Stéphane Corlosquet, Austin,](https://reader033.fdocuments.net/reader033/viewer/2022052723/5f0f1b617e708231d442866b/html5/thumbnails/11.jpg)
Drupal 7 RDFa benefts
● FOAF, SIOC, SKOS, DC “out of the box”
● All users have a WebID
– user/3#me => foaf:Person– WebID authentication
![Page 12: Drupal 7 and Semantic Web Hands-on Tutorial › files › slides_austin_part2.pdfDrupal 7 and Semantic Web Hands-on Tutorial Stéphane Corlosquet, Austin,](https://reader033.fdocuments.net/reader033/viewer/2022052723/5f0f1b617e708231d442866b/html5/thumbnails/12.jpg)
RDF UI (RDF Extentions)
RDF Mapping User Interface for site administrators to customize RDF mappings
![Page 13: Drupal 7 and Semantic Web Hands-on Tutorial › files › slides_austin_part2.pdfDrupal 7 and Semantic Web Hands-on Tutorial Stéphane Corlosquet, Austin,](https://reader033.fdocuments.net/reader033/viewer/2022052723/5f0f1b617e708231d442866b/html5/thumbnails/13.jpg)
SPARQL endpoint (SPARQL)
SPARQL Endpoint: anyone can query your site data with SPARQL queries
![Page 14: Drupal 7 and Semantic Web Hands-on Tutorial › files › slides_austin_part2.pdfDrupal 7 and Semantic Web Hands-on Tutorial Stéphane Corlosquet, Austin,](https://reader033.fdocuments.net/reader033/viewer/2022052723/5f0f1b617e708231d442866b/html5/thumbnails/14.jpg)
SPARQL ViewsSPARQL Views: reuse remote data and display it on your site using Views. Credits to @linclark.
![Page 15: Drupal 7 and Semantic Web Hands-on Tutorial › files › slides_austin_part2.pdfDrupal 7 and Semantic Web Hands-on Tutorial Stéphane Corlosquet, Austin,](https://reader033.fdocuments.net/reader033/viewer/2022052723/5f0f1b617e708231d442866b/html5/thumbnails/15.jpg)
Hands on
● Blog post as an RDF Graph (Sindice)● RDF UI● Node references
![Page 16: Drupal 7 and Semantic Web Hands-on Tutorial › files › slides_austin_part2.pdfDrupal 7 and Semantic Web Hands-on Tutorial Stéphane Corlosquet, Austin,](https://reader033.fdocuments.net/reader033/viewer/2022052723/5f0f1b617e708231d442866b/html5/thumbnails/16.jpg)
Hands on
● Content Negotiation– Install Rest WS module– Allow permission to 'Access the resource node'– RDF/XML node/1.rdf– Turtle node/1.ttl– N Triples node/1.nt
● curl -H 'Accept: application/rdf+xml'
![Page 17: Drupal 7 and Semantic Web Hands-on Tutorial › files › slides_austin_part2.pdfDrupal 7 and Semantic Web Hands-on Tutorial Stéphane Corlosquet, Austin,](https://reader033.fdocuments.net/reader033/viewer/2022052723/5f0f1b617e708231d442866b/html5/thumbnails/17.jpg)
Thanks!
● Semantic Web discussion group:http://groups.drupal.org/semantic-web
● My blog, mostly on Semantic Web & Drupal: http://openspring.net/
● Twitter: @scorlosquet