Digital Repositories – Linked Open Data – the possible Role of D4Science Workshop, December 2010, FAO use cases A tool to create Linked Data providers and consumers Valeria Pesce Global Forum on Agricultural Research (GFAR)
Digital Repositories – Linked Open Data – the possible Role of D4Science The AgriDrupal community The AgriDrupal community is made up of people who work in the community of agricultural information management specialists and have been experimenting with IM solutions with the Drupal CMS The community interacts using the AIMS community platform: community/home community/home
Digital Repositories – Linked Open Data – the possible Role of D4Science AgriDrupal solutions and demo tool One or more reference installations of AgriDrupal including all or only selected functionalities can be made available –for testing purposes –for adoption by Institutions looking for a full-fledged tool for integrated information management and dissemination
Digital Repositories – Linked Open Data – the possible Role of D4Science Drupal as a LOD provider 1. Content types, metadata and RDF In-built capacity to treat any kind of user-defined content type: from simple web pages to events, contacts, bibliographical records or any custom content types For each content type, a suitable metadata set can be designed with no programming Each content type can be mapped to an RDF class from any vocabulary; each field in the metadata set can be mapped to an RDF property from any vocabulary Content types = classes. Nodes = entities, instantiation of content types / classes. Nodes URLs are the entities URIs. - All structured contents - Custom RDF vocabularies - URIs
Digital Repositories – Linked Open Data – the possible Role of D4Science Mapping metadata to RDF vocabularies
Digital Repositories – Linked Open Data – the possible Role of D4Science Using recommended vocabularies Analyze this decisional workflow, apply the scenario you prefer mapping of fields/elements to RDF properties custom content model Example: recommendations for AGRIS (from Immas slides) Implement the recommendations in Drupal
Digital Repositories – Linked Open Data – the possible Role of D4Science Drupal as LOD provider 2. Views and SPARQL engine Drupal has the in-built capacity to provide any number and type of views over the stored contents: from simple lists of news to tables with selected columns to calendars to feeds and XML/RDF or Json exports Drupal can make available a SPARQL engine to query the whole triple store - RDF outputs available in different notations (e.g. RDF/XML for Agris) - RDF store exposed through a SPARQL engine
Digital Repositories – Linked Open Data – the possible Role of D4Science Example of view: RDF feed
Digital Repositories – Linked Open Data – the possible Role of D4Science Drupal as a SPARQL endpoint Query run on a Drupal website from a Virtuoso test environment at SPARQL endpoint RDF triples Drupal website
Digital Repositories – Linked Open Data – the possible Role of D4Science Drupal as LOD provider External authority control: –web services and SPARQL queries can be used to access external authority control sources; –URIs can be stored in the system together with useful literal values in different fields; - Links to external resources with URIs already in the system - RDF outputs include external URIs
Digital Repositories – Linked Open Data – the possible Role of D4Science Authority control: authors Search and reference Create and reference Drupal data entry Internal authority control
Digital Repositories – Linked Open Data – the possible Role of D4Science Authority control: journals Now: internal authority records Next step: shared authority records Workbench web services Drupal data entry
Digital Repositories – Linked Open Data – the possible Role of D4Science Authority control: subject: Agrovoc >> click << Drupal data entryAgrovoc web services client popup Drupal search interface
Digital Repositories – Linked Open Data – the possible Role of D4Science Drupal as LOD consumer 2. Feed aggregation and SPARQL views Drupal can aggregate RDF feeds and store their items even with full custom metadata Drupal can run SPARQL queries on remote endpoints and display the results - Aggregated RDF records can be either stored or displayed on the fly - Dynamic SPARQL queries can be run on any SPARQL engine
Digital Repositories – Linked Open Data – the possible Role of D4Science Drupal as a SPARQL client Drupal Views interface: SPARQL View plugin Remote SPARQL engine Drupal block
Digital Repositories – Linked Open Data – the possible Role of D4Science Workshop, December 2010, FAO use cases Thank you