SlideShare une entreprise Scribd logo
1  sur  56
Télécharger pour lire hors ligne
Drupal as a
       Semantic Web platform




Stéphane Corlosquet, Sudeshna Das, Emily Merrill, Paolo Ciccarese,
and Tim Clark
Massachusetts General Hospital
ISWC 2012, Boston, USA – Nov 14th, 2012
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
Who uses Drupal?
Who uses Drupal?
Who uses Drupal?
Who uses Drupal?
Who uses Drupal?
Who uses Drupal?
Who uses Drupal?
Who uses Drupal?
Who uses Drupal?
Who uses Drupal?




            http://buytaert.net/tag/drupal-sites
Drupal
   ●   Open & modular
       architecture
   ●   Extensible by modules
   ●   Standards-based
   ●   Low resource hosting
   ●   Scalable




   http://drupal.org/getting-started/before/overview
Building a Drupal site




        http://www.flickr.com/photos/toomuchdew/3792159077/
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
Building a Drupal site
Thousands of free
contributed modules
●   Google Analytics
●   Wysiwyg
●   Captcha
●   Calendar
●   XML sitemap
●   Five stars
●   Twitter
●   ...
                       http://www.flickr.com/photos/kaptainkobold/1422600992/
The Drupal Community




          http://www.flickr.com/photos/x-foto/4923221504/
Use Case #1:

Stem Cell Commons
 http://stemcellcommons.org
Repository
•   New repository for stem cell data as part of Stem
    Cell Commons
•   Harvard Stem Cell Institute (HSCI): Blood and
    Cancer program system
•   Designed to incorporate
            - multiple stem cell types
            - multiple assay types
            - user requested features
•   Integrated with analytical tools
•   Enhanced search and browsing capabilities
Content types
Integrated with Analysis tools
What about RDF?
Drupal 7 default RDF Schema
SCC RDF Schema
Backend architecture
Modules used
●   Contributed module for more features
    ●   RDF Extensions
           ●   Serialization formats: RDF/XML, Turtle, N-Triples
    ●   SPARQL
           ●   Expose Drupal RDF data in a SPARQL Endpoint
    ●   Features and packaging
           ●   Build distributions / deployment workflow
SPARQL Endpoint
●   SPARQL Endpoint available at /sparql
SPARQL Endpoint
●   Need to query Drupal data across different
    classes from R
●   Need a standard query language
●   SQL?
●   Query Drupal data with SPARQL
Backend architecture (revisited)
SPARQL query
PREFIX obo: <http://purl.obolibrary.org/obo/>
PREFIX mged: <http://mged.sourceforge.net/ontologies/MGEDontology.php#>
PREFIX dc: <http://purl.org/dc/terms/>

SELECT ?bioassay_title WHERE {
  ?experiment obo:OBI_0000070 ?bioassay;
         dc:title ?bioassay_title .
  ?bioassay mged:LabelCompound <http://exframe-dev.sciencecollaboration.org/taxonomy/term/588> .
}
GROUP BY ?bioassay_title
ORDER BY ASC(dc:date)
Wrap up use case #1
●   Drupal is a good fit for building web frontends
●   Editing User Interfaces out of the box
●   Querying Data in SQL:
    ●   not very friendly
    ●   may not be appropriate / performant
●   Querying with SPARQL:
    ●   Use the backend that match your needs
    ●   ARC2 can be sufficient for prototyping and
        lightweight use cases
Use Case #2:

 Data Layers

Domeo + Drupal
Domeo
●   Annotation Tool developed by MIND
    Informatics, Massachusetts General Hospital
●   Annotate HTML documents
●   Share annotations
●   Annotation Ontology (AO), provenance, ACL
●   JSON-LD Service to retrieve annotations
●   http://annotationframework.org/
Domeo
Domeo
Domeo
Domeo
JSON-LD
●   JSON for Linked Data
●   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) required
●   Clients can mash data
List of publications in Drupal
Can we layer personal annotations on top?
What do we have?
●   RDFa markup for each publication
RDFa API
●   Extract structured data from RDFa documents
●   Green Turtle: RDFa 1.1 library in Javascript

document.getElementsByType('http://schema.org/ScholarlyArticle');
RDFa API
Domeo + Drupal
●   Data mash up from independent sources
Domeo + Drupal
Wrap up use case #2
●   Another use case for exposing data as RDFa
●   RDFa and JSON-LD fit well together
    ●   HTML → RDFa
    ●   JSON → JSON-LD


●   CORS support not yet available everywhere
    ●   Grails didn't have it
    ●   Use JSONP instead
Thanks!

●   Stéphane Corlosquet
    ●   scorlosquet@gmail.com
    ●   @scorlosquet
    ●   http://openspring.net/


●   MIND Informatics
    ●   http://www.mindinformatics.org/

Contenu connexe

Tendances

Semantic Media Management with Apache Marmotta
Semantic Media Management with Apache MarmottaSemantic Media Management with Apache Marmotta
Semantic Media Management with Apache Marmotta
Thomas Kurz
 
Open source data_warehousing_overview
Open source data_warehousing_overviewOpen source data_warehousing_overview
Open source data_warehousing_overview
Alex Meadows
 

Tendances (18)

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
 
Semantic Media Management with Apache Marmotta
Semantic Media Management with Apache MarmottaSemantic Media Management with Apache Marmotta
Semantic Media Management with Apache Marmotta
 
Enabling access to Linked Media with SPARQL-MM
Enabling access to Linked Media with SPARQL-MMEnabling access to Linked Media with SPARQL-MM
Enabling access to Linked Media with SPARQL-MM
 
Linked Media Management with Apache Marmotta
Linked Media Management with Apache MarmottaLinked Media Management with Apache Marmotta
Linked Media Management with Apache Marmotta
 
How to create your own ODF
How to create your own ODFHow to create your own ODF
How to create your own ODF
 
Custom Drupal Development, Secure and Performant
Custom Drupal Development, Secure and PerformantCustom Drupal Development, Secure and Performant
Custom Drupal Development, Secure and Performant
 
Linked Media and Data Using Apache Marmotta
Linked Media and Data Using Apache MarmottaLinked Media and Data Using Apache Marmotta
Linked Media and Data Using Apache Marmotta
 
Fedora 4 Deep Dive
Fedora 4 Deep DiveFedora 4 Deep Dive
Fedora 4 Deep Dive
 
Web Development
Web DevelopmentWeb Development
Web Development
 
Open source data_warehousing_overview
Open source data_warehousing_overviewOpen source data_warehousing_overview
Open source data_warehousing_overview
 
Dynamic websites
Dynamic websitesDynamic websites
Dynamic websites
 
Steam Learn: An introduction to Redis
Steam Learn: An introduction to RedisSteam Learn: An introduction to Redis
Steam Learn: An introduction to Redis
 
Arango DB
Arango DBArango DB
Arango DB
 
Redis
RedisRedis
Redis
 
Web Development Intro
Web Development IntroWeb Development Intro
Web Development Intro
 
DOC Presentation by DOC Contractor Alison McCauley
DOC Presentation by DOC Contractor Alison McCauleyDOC Presentation by DOC Contractor Alison McCauley
DOC Presentation by DOC Contractor Alison McCauley
 
Mongo DB for Java, Python and PHP Developers
Mongo DB for Java, Python and PHP DevelopersMongo DB for Java, Python and PHP Developers
Mongo DB for Java, Python and PHP Developers
 

Similaire à Drupal as a Semantic Web platform - ISWC 2012

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)
 
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
 
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
 
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
 

Similaire à Drupal as a Semantic Web platform - ISWC 2012 (20)

Drupal 7 and RDF
Drupal 7 and RDFDrupal 7 and RDF
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 ...
 
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
 
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
 
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)
 
Drupal in-depth
Drupal in-depthDrupal in-depth
Drupal in-depth
 
Doctrine Project
Doctrine ProjectDoctrine Project
Doctrine Project
 
Introduction to drupal
Introduction to drupalIntroduction to drupal
Introduction to drupal
 
Introduction to Apache Spark
Introduction to Apache SparkIntroduction to Apache Spark
Introduction to Apache Spark
 
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
 
[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?
 
Bio2RDF presentation at Combine 2012
Bio2RDF presentation at Combine 2012Bio2RDF presentation at Combine 2012
Bio2RDF presentation at Combine 2012
 
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
 
Publishing Linked Data using Schema.org
Publishing Linked Data using Schema.orgPublishing Linked Data using Schema.org
Publishing Linked Data using Schema.org
 
Using schema.org to improve SEO
Using schema.org to improve SEOUsing schema.org to improve SEO
Using schema.org to improve SEO
 
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)
 
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
 
Beginners Guide to Drupal
Beginners Guide to DrupalBeginners Guide to Drupal
Beginners Guide to Drupal
 
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
 

Plus de 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
 

Plus de scorlosquet (6)

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

Dernier

+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@
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Dernier (20)

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
 
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
 
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
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
+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...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
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
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
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
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
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...
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 

Drupal as a Semantic Web platform - ISWC 2012

  • 1. Drupal as a Semantic Web platform Stéphane Corlosquet, Sudeshna Das, Emily Merrill, Paolo Ciccarese, and Tim Clark Massachusetts General Hospital ISWC 2012, Boston, USA – Nov 14th, 2012
  • 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
  • 12. Who uses Drupal? http://buytaert.net/tag/drupal-sites
  • 13. Drupal ● Open & modular architecture ● Extensible by modules ● Standards-based ● Low resource hosting ● Scalable http://drupal.org/getting-started/before/overview
  • 14. Building a Drupal site http://www.flickr.com/photos/toomuchdew/3792159077/
  • 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. Building a Drupal site ● Enable the features you want Comments, tags, voting/rating, location, translations, revisions, search... http://www.flickr.com/photos/skip/42288941/
  • 18. Building a Drupal site Thousands of free contributed modules ● Google Analytics ● Wysiwyg ● Captcha ● Calendar ● XML sitemap ● Five stars ● Twitter ● ... http://www.flickr.com/photos/kaptainkobold/1422600992/
  • 19. The Drupal Community http://www.flickr.com/photos/x-foto/4923221504/
  • 20. Use Case #1: Stem Cell Commons http://stemcellcommons.org
  • 21. Repository • New repository for stem cell data as part of Stem Cell Commons • Harvard Stem Cell Institute (HSCI): Blood and Cancer program system • Designed to incorporate - multiple stem cell types - multiple assay types - user requested features • Integrated with analytical tools • Enhanced search and browsing capabilities
  • 22.
  • 23.
  • 24.
  • 25.
  • 27.
  • 28.
  • 31. Drupal 7 default RDF Schema
  • 34. Modules used ● Contributed module for more features ● RDF Extensions ● Serialization formats: RDF/XML, Turtle, N-Triples ● SPARQL ● Expose Drupal RDF data in a SPARQL Endpoint ● Features and packaging ● Build distributions / deployment workflow
  • 35. SPARQL Endpoint ● SPARQL Endpoint available at /sparql
  • 36. SPARQL Endpoint ● Need to query Drupal data across different classes from R ● Need a standard query language ● SQL? ● Query Drupal data with SPARQL
  • 38.
  • 39. SPARQL query PREFIX obo: <http://purl.obolibrary.org/obo/> PREFIX mged: <http://mged.sourceforge.net/ontologies/MGEDontology.php#> PREFIX dc: <http://purl.org/dc/terms/> SELECT ?bioassay_title WHERE { ?experiment obo:OBI_0000070 ?bioassay; dc:title ?bioassay_title . ?bioassay mged:LabelCompound <http://exframe-dev.sciencecollaboration.org/taxonomy/term/588> . } GROUP BY ?bioassay_title ORDER BY ASC(dc:date)
  • 40. Wrap up use case #1 ● Drupal is a good fit for building web frontends ● Editing User Interfaces out of the box ● Querying Data in SQL: ● not very friendly ● may not be appropriate / performant ● Querying with SPARQL: ● Use the backend that match your needs ● ARC2 can be sufficient for prototyping and lightweight use cases
  • 41. Use Case #2: Data Layers Domeo + Drupal
  • 42. Domeo ● Annotation Tool developed by MIND Informatics, Massachusetts General Hospital ● Annotate HTML documents ● Share annotations ● Annotation Ontology (AO), provenance, ACL ● JSON-LD Service to retrieve annotations ● http://annotationframework.org/
  • 43. Domeo
  • 44. Domeo
  • 45. Domeo
  • 46. Domeo
  • 47. JSON-LD ● JSON for Linked Data ● 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) required ● Clients can mash data
  • 48. List of publications in Drupal
  • 49. Can we layer personal annotations on top?
  • 50. What do we have? ● RDFa markup for each publication
  • 51. RDFa API ● Extract structured data from RDFa documents ● Green Turtle: RDFa 1.1 library in Javascript document.getElementsByType('http://schema.org/ScholarlyArticle');
  • 53. Domeo + Drupal ● Data mash up from independent sources
  • 55. Wrap up use case #2 ● Another use case for exposing data as RDFa ● RDFa and JSON-LD fit well together ● HTML → RDFa ● JSON → JSON-LD ● CORS support not yet available everywhere ● Grails didn't have it ● Use JSONP instead
  • 56. Thanks! ● Stéphane Corlosquet ● scorlosquet@gmail.com ● @scorlosquet ● http://openspring.net/ ● MIND Informatics ● http://www.mindinformatics.org/