Linked data enhanced publishing for special collections (with Drupal)

J
Joachim NeubertZBW, Hamburg
ZBW is member of the Leibniz Association
Linked Data Enhanced Publishing
for Special Collections
Joachim Neubert
ZBW – German National Library of Economics
Leibniz Information Centre for Economics
ELAG 2013
Ghent, Belgium
29.5.2013
Motivation
• Special collections often consist of specific (sometimes unique)
kinds of objects with special attributes (e.g., type or material,
selected from a list) which require non-standard data structures
• Custom navigation (e.g., by historical period or dynasty) is eligible
• Static pages (e.g., a “news” section, “about” or “help” pages) are
often required, too
 Turn-key “standard” systems for these requirements are not
available
Page 2
My own background
• Scientific software developer at ZBW – German National Library for
Economics, mainly concerned with Linked Open Data and
knowledge organization systems and services
• Published 20th Century Press Archives in 2010, with some 100,000
digitized newspaper articles in dossiers (http://zbw.eu/beta/p20,
custom application written in Perl)
• Published a repository of ZBW Labs projects recently – basicly
project descriptions and a blog (http://zbw.eu/labs, Drupal based)
Page 3
Page 4
Further Agenda
1) Linked Data, Content Management Systems, and Drupal
2) Customizing Drupal 7 for special collections
3) Current limitations of RDF/LD support in Drupal 7
4) Outlook
Why semantic enhancement? – An example
Page 5
https://www.goodreads.com/book/show/91767.Frida
Semantic enhancement via RDF
Page 6
http://commonplace.net/2009/06/linked-data-for-libraries/
Weaving the web of Linked Data
Page 7
http://www.worldcat.org/oclc/8281462
http://viaf.org/viaf/213505112
http://dbpedia.org/resource/Frida_Kahlo
Page 8
Linking Open Data cloud diagram, by Richard Cyganiak and Anja Jentzsch. http://lod-cloud.net/
So, why linked data enhanced publishing?
• Differentiate the subjects of your web pages and their attributes
• Thus, foster data reuse in 3rd party services and applications
• Mashups
• Search engines
• Create meaningful links, adding value for users
Page 9
Why use a content management system?
• Standard tasks (browser compatibility, page templates, responsive
css, site navigation, search, form handling, calendar, wysiwyg,
revisions, translations, permissions, data management , security)
made easy
• Easy-to-add web 2.0 features (blogging and comments, tags, rating,
forums, …)
• Know-how available outside a single development team
Page 10
Why Drupal?
• Open & modular architecture
● Extensible by modules
● Standards-based
● Scalable
• Widely used all over the world
• Vibrant open source community,
and commercial services, too
Page 11
http://drupal.org/getting-started/before/overview
http://de.slideshare.net/scorlosquet/drupal-as-a-semantic-web-platform
Drupal 7 default RDF schema
Page 12
http://openspring.net/blog/2011/05/01/background-research-work-leading-to-rdf-in-drupal-7-released-as-part-of-my-masters
Page 13
Customizing Drupal 7 for special collections
Page 14
Page 15
Creating a custom content (node) type
Can be done by the site builder (without coding)
Page 16
Page 17
Page 18
Requires:
• RDF UI module enabled
• Prefixes for additional
namespaces, e.g. doap,
defined (via UI)
Creating custom fields
Page 19
Defining custom field´s RDF mapping
Page 20
Output in RDFa
• Drupal renders RDF mappings as HTML attributes
• No frickling in HTML producing code or templates
• Works out of the box for different Drupal themes (screen designs)
• In Drupal 7, by default XHTML/RDFa 1.0
• Themes for HTML5/RDFa 1.1 available (e.g., Zen)
Page 21
M
<http://zbw.eu/labs/project/zbw-labs> a schema:CreativeWork,
doap:Project;
dc:description """
ZBW Labs Website is a semantically enriched directory of ZBW Labs
Projects. Labs projects range from small showcases, which may or may
not be part of a larger project, to full-fleged applications in beta
state.
The new ZBW Labs website is based on Drupal 7 and uses RDFa, which is
part of Drupal Core. Used vocabularies are Dublin Core Terms (dc),
Description of a Project (doap) und Schema.org (schema).
"""@en;
dc:subject <http://zbw.eu/labs/en/taxonomy/term/1>,
<http://zbw.eu/labs/en/taxonomy/term/11>,
<http://zbw.eu/labs/en/taxonomy/term/3>,
<http://zbw.eu/labs/en/taxonomy/term/50>;
dc:title "ZBW Labs Website"@en;
schema:name "ZBW Labs Website"@en;
[...]
doap:created "2012-04"^^xsd:gYearMonth,
"2012-04-01T00:00:00+02:00"^^xsd:gYearMonth;
doap:homepage <http://zbw.eu/labs>;
doap:name "ZBW Labs Website"@en;
doap:shortdesc "ZBW Labs projects exposed as Linked Open Data"@en;
xhv:license <http://creativecommons.org/publicdomain/zero/1.0/> .
<http://zbw.eu/labs/en/taxonomy/term/3> a skos:Concept;
rdfs:label "Publishing Technologies"@en;
skos:prefLabel "Publishing Technologies"@en . Page 22
Additional Linked Data / RDF features
• Serialize Drupal RDF data in RDF/XML, Turtle, NT (Modules: RDFx,
RESTful Web Services) *, JSON-LD (Modules: JSON-LD, restws)
• Expose Drupal RDF data in a SPARQL endpoint (Module: SPARQL)
• Support microdata output (Module: Microdata)
• Consume RDF data from other SPARQL endpoints and display it as
part of a Drupal site (Module: SPARQL Views)
• Add links to other Linked Data entities (Module: Web Taxonomy)
* currently does not work with PostgreSQL – for a workarround, see http://drupal.org/node/1999754#comment-7438562
Page 23
Web Taxonomy: Using vocabularies from the web
• Autocomplete widget for Drupal fields, powered by vocabularies
maintained elsewhere
• Prerequisites:
• a web-accessible autosuggest service which delivers terms and
their URIs (may be JSON, SPARQL results or even SOAP)
• a custom coded plugin to access the service
Page 24
Page 25
Plugin example: Economics Taxonomies
Code downloadable and installable from https://drupal.org/sandbox/jneubert/1447918
• Third party thesauri, such as STW Thesaurus for Economics, can be
re-used for indexing a collection
Extending Drupal even further
Drupal is not only a CMS, but also a Content Mangement Framework
• Well defined APIs (database abstraction layer, Field API, RDF
Mapping API, Form API, Entity API, …)
• Entity API allows building custom entities with arbitrary properties
• … even residing in remote databases
 requires substantial programming skills
Page 26
Current limitations of RDF/LD support in Drupal 7
Page 27
Cool URIs require work
1) out-of-the-box default URI
http://zbw.eu/labs/en?q=node/25
2) with the „Clean URLs“ feature enabled
http://zbw.eu/labs/en/node/25
3) with the (core) „Path“ module enabled and an alias defined
http://zbw.eu/labs/en/project/zbw-labs
4) removing the language path element (en/de) in multilingual sites for
a language-independent resource URI requires custom code
http://zbw.eu/labs/project/zbw-labs
(see code example in http://groups.drupal.org/node/247058#comment-798823)
Page 28
Nested RDF structures only with custom code
Workarround example:
Git repository URI in DOAP ontology demands a separate node, e.g.,
<> a schema:CreativeWork, doap:Project;
doap:repository [ a doap:GitRepository;
doap:location "http://github.com/some/id.git" ];
• Create field_gitrepository and map to doap:location
• Create a custom template file for the field (field--field_gitrepository--
lproject.tpl.php)
<div rel="doap:repository" class="field-items"<?php print $content_attributes; ?>>
<div about="[_:repos]" typeof="doap:GitRepository">
<?php foreach ($items as $delta => $item): ?>
<div class="field-item"<?php print $item_attributes[$delta]; ?>><?php
print render($item); ?></div>
<?php endforeach; ?>
</div>
</div>
</div>
Page 29
Further limitations in Drupal 7
• RDFa support currently works for single entities – pages with multiple
entities (search results, term pages, views, etc.) are not supported
• RDFa output may break under certain special conditions
(http://drupal.org/node/1778226)
Page 30
Outlook to Drupal 8
• Drupal base functionalities refactored for using Symphony framework
• Aimed at an extended service-oriented architecture – design goal:
“Each piece of content gets its own URL”
(http://www.unleashedmind.com/en/blog/sun/drupal-8-the-path-forward)
• RDF module split up into a plain RDF mapping module and another
module for creating RDFa markup
Page 31
To sum up
• Linked data publishing via a CMS, in particular Drupal, is a valid
option
• If your data can be mapped to an essentially flat RDF data structure,
linked data can be added mostly by site builders, without much
additional effort
• Sometimes research is required on how to solve problems, and at
times glue code has to be written
• But: most of the code for your web application is already there, and is
supported by a large and helpful Open Source community
Page 32
Page 33
Thank you!
Joachim Neubert
ZBW – Leibniz Information Centre for Economics
j.neubert@zbw.eu
http://zbw.eu/labs
1 von 33

Recomendados

Linked Data Publishing with Drupal (SWIB13 workshop) von
Linked Data Publishing with Drupal (SWIB13 workshop)Linked Data Publishing with Drupal (SWIB13 workshop)
Linked Data Publishing with Drupal (SWIB13 workshop)Joachim Neubert
14.2K views52 Folien
Semantic content management: consuming and producing RDF in Drupal von
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 DrupalThom Bunting
3.3K views20 Folien
Doing Drupal: Quick Start Deployments via Distributions von
Doing Drupal: Quick Start Deployments via DistributionsDoing Drupal: Quick Start Deployments via Distributions
Doing Drupal: Quick Start Deployments via DistributionsThom Bunting
1.8K views23 Folien
Drupal for Higher Education and Virtual Learning von
Drupal for Higher Education and Virtual LearningDrupal for Higher Education and Virtual Learning
Drupal for Higher Education and Virtual LearningGabriel Dragomir
3.1K views29 Folien
Princeton University Press to Drupal 8: Migration case study by Evolving Web von
Princeton University Press to Drupal 8: Migration case study by Evolving WebPrinceton University Press to Drupal 8: Migration case study by Evolving Web
Princeton University Press to Drupal 8: Migration case study by Evolving Webdergachev
229 views44 Folien
Drupal Skils Lab 302Labs von
Drupal Skils Lab 302Labs Drupal Skils Lab 302Labs
Drupal Skils Lab 302Labs Ahmad Mohamad Zain
809 views99 Folien

Más contenido relacionado

Was ist angesagt?

Microsoft's Big Play for Big Data von
Microsoft's Big Play for Big DataMicrosoft's Big Play for Big Data
Microsoft's Big Play for Big DataAndrew Brust
1.3K views30 Folien
NoSQL and The Big Data Hullabaloo von
NoSQL and The Big Data HullabalooNoSQL and The Big Data Hullabaloo
NoSQL and The Big Data HullabalooAndrew Brust
974 views44 Folien
Big Data Strategy for the Relational World von
Big Data Strategy for the Relational World Big Data Strategy for the Relational World
Big Data Strategy for the Relational World Andrew Brust
1.9K views35 Folien
Big Data and NoSQL for Database and BI Pros von
Big Data and NoSQL for Database and BI ProsBig Data and NoSQL for Database and BI Pros
Big Data and NoSQL for Database and BI ProsAndrew Brust
1.8K views31 Folien
Big Data and NoSQL in Microsoft-Land von
Big Data and NoSQL in Microsoft-LandBig Data and NoSQL in Microsoft-Land
Big Data and NoSQL in Microsoft-LandAndrew Brust
3.7K views51 Folien
NoSQL: An Analysis von
NoSQL: An AnalysisNoSQL: An Analysis
NoSQL: An AnalysisAndrew Brust
3.3K views43 Folien

Was ist angesagt?(20)

Microsoft's Big Play for Big Data von Andrew Brust
Microsoft's Big Play for Big DataMicrosoft's Big Play for Big Data
Microsoft's Big Play for Big Data
Andrew Brust1.3K views
NoSQL and The Big Data Hullabaloo von Andrew Brust
NoSQL and The Big Data HullabalooNoSQL and The Big Data Hullabaloo
NoSQL and The Big Data Hullabaloo
Andrew Brust974 views
Big Data Strategy for the Relational World von Andrew Brust
Big Data Strategy for the Relational World Big Data Strategy for the Relational World
Big Data Strategy for the Relational World
Andrew Brust1.9K views
Big Data and NoSQL for Database and BI Pros von Andrew Brust
Big Data and NoSQL for Database and BI ProsBig Data and NoSQL for Database and BI Pros
Big Data and NoSQL for Database and BI Pros
Andrew Brust1.8K views
Big Data and NoSQL in Microsoft-Land von Andrew Brust
Big Data and NoSQL in Microsoft-LandBig Data and NoSQL in Microsoft-Land
Big Data and NoSQL in Microsoft-Land
Andrew Brust3.7K views
Custom Forms and Configuration Forms in Drupal 8 von Italo Mairo
Custom Forms and Configuration Forms in Drupal 8Custom Forms and Configuration Forms in Drupal 8
Custom Forms and Configuration Forms in Drupal 8
Italo Mairo209 views
Lviv EDGE 2 - NoSQL von zenyk
Lviv EDGE 2 - NoSQLLviv EDGE 2 - NoSQL
Lviv EDGE 2 - NoSQL
zenyk1.4K views
AWS Customer Presentation: Freie Univerisitat - Berlin Summit 2012 von Amazon Web Services
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 Services3.5K views
Entities 101: Understanding Data Structures in Drupal von Acquia
Entities 101: Understanding Data Structures in DrupalEntities 101: Understanding Data Structures in Drupal
Entities 101: Understanding Data Structures in Drupal
Acquia2.9K views
Building Applications using Apache Hadoop von C4Media
Building Applications using Apache HadoopBuilding Applications using Apache Hadoop
Building Applications using Apache Hadoop
C4Media1.1K views
Enabling access to Linked Media with SPARQL-MM von Thomas Kurz
Enabling access to Linked Media with SPARQL-MMEnabling access to Linked Media with SPARQL-MM
Enabling access to Linked Media with SPARQL-MM
Thomas Kurz2.2K views
Semantic Media Management with Apache Marmotta von Thomas Kurz
Semantic Media Management with Apache MarmottaSemantic Media Management with Apache Marmotta
Semantic Media Management with Apache Marmotta
Thomas Kurz2.2K views
AWS Public Data Sets: How to Stage Petabytes of Data for Analysis in AWS (WPS... von Amazon Web Services
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...
Amazon Web Services2.5K views
Apache Arrow -- Cross-language development platform for in-memory data von Wes McKinney
Apache Arrow -- Cross-language development platform for in-memory dataApache Arrow -- Cross-language development platform for in-memory data
Apache Arrow -- Cross-language development platform for in-memory data
Wes McKinney2.9K views
RDFa: introduction, comparison with microdata and microformats and how to use it von Jose Luis Lopez Pino
RDFa: introduction, comparison with microdata and microformats and how to use itRDFa: introduction, comparison with microdata and microformats and how to use it
RDFa: introduction, comparison with microdata and microformats and how to use it
If You Have The Content, Then Apache Has The Technology! von gagravarr
If You Have The Content, Then Apache Has The Technology!If You Have The Content, Then Apache Has The Technology!
If You Have The Content, Then Apache Has The Technology!
gagravarr1K views
Introduction to NoSQL von balwinders
Introduction to NoSQLIntroduction to NoSQL
Introduction to NoSQL
balwinders1.8K views
Phase2 - Large Drupal Multisites (GTA Case Study) von Robert Bates
Phase2 - Large Drupal Multisites (GTA Case Study)Phase2 - Large Drupal Multisites (GTA Case Study)
Phase2 - Large Drupal Multisites (GTA Case Study)
Robert Bates178 views

Destacado

Change Tracking in Knowledge Organization Systems with skos-history von
Change Tracking in Knowledge Organization Systems with skos-historyChange Tracking in Knowledge Organization Systems with skos-history
Change Tracking in Knowledge Organization Systems with skos-historyJoachim Neubert
407 views40 Folien
Linked Data Publishing with Drupal (SWIB12 Lightning Talk) von
Linked Data Publishing with Drupal (SWIB12 Lightning Talk)Linked Data Publishing with Drupal (SWIB12 Lightning Talk)
Linked Data Publishing with Drupal (SWIB12 Lightning Talk)Joachim Neubert
634 views4 Folien
Exploiting the version history of SKOS files: skos-history (SWIB13 Lightning ... von
Exploiting the version history of SKOS files: skos-history (SWIB13 Lightning ...Exploiting the version history of SKOS files: skos-history (SWIB13 Lightning ...
Exploiting the version history of SKOS files: skos-history (SWIB13 Lightning ...Joachim Neubert
417 views3 Folien
Using Wikidata as an Authority for the SowiDataNet Research Data Repository von
Using Wikidata as an Authority for the SowiDataNet Research Data RepositoryUsing Wikidata as an Authority for the SowiDataNet Research Data Repository
Using Wikidata as an Authority for the SowiDataNet Research Data RepositoryJoachim Neubert
4.8K views4 Folien
KOS evolution in Linked Data von
KOS evolution in Linked DataKOS evolution in Linked Data
KOS evolution in Linked DataJoachim Neubert
589 views34 Folien
Opportunities and challenges presented by Wikidata in the context of biocuration von
Opportunities and challenges presented by Wikidata in the context of biocurationOpportunities and challenges presented by Wikidata in the context of biocuration
Opportunities and challenges presented by Wikidata in the context of biocurationBenjamin Good
6.2K views48 Folien

Destacado(11)

Change Tracking in Knowledge Organization Systems with skos-history von Joachim Neubert
Change Tracking in Knowledge Organization Systems with skos-historyChange Tracking in Knowledge Organization Systems with skos-history
Change Tracking in Knowledge Organization Systems with skos-history
Joachim Neubert407 views
Linked Data Publishing with Drupal (SWIB12 Lightning Talk) von Joachim Neubert
Linked Data Publishing with Drupal (SWIB12 Lightning Talk)Linked Data Publishing with Drupal (SWIB12 Lightning Talk)
Linked Data Publishing with Drupal (SWIB12 Lightning Talk)
Joachim Neubert634 views
Exploiting the version history of SKOS files: skos-history (SWIB13 Lightning ... von Joachim Neubert
Exploiting the version history of SKOS files: skos-history (SWIB13 Lightning ...Exploiting the version history of SKOS files: skos-history (SWIB13 Lightning ...
Exploiting the version history of SKOS files: skos-history (SWIB13 Lightning ...
Joachim Neubert417 views
Using Wikidata as an Authority for the SowiDataNet Research Data Repository von Joachim Neubert
Using Wikidata as an Authority for the SowiDataNet Research Data RepositoryUsing Wikidata as an Authority for the SowiDataNet Research Data Repository
Using Wikidata as an Authority for the SowiDataNet Research Data Repository
Joachim Neubert4.8K views
Opportunities and challenges presented by Wikidata in the context of biocuration von Benjamin Good
Opportunities and challenges presented by Wikidata in the context of biocurationOpportunities and challenges presented by Wikidata in the context of biocuration
Opportunities and challenges presented by Wikidata in the context of biocuration
Benjamin Good6.2K views
Authority Control: Wikipedia + Wikidata von Erika Herzog
Authority Control: Wikipedia + WikidataAuthority Control: Wikipedia + Wikidata
Authority Control: Wikipedia + Wikidata
Erika Herzog411 views
Account-Based Marketing Automation von Ron Corbisier
Account-Based Marketing AutomationAccount-Based Marketing Automation
Account-Based Marketing Automation
Ron Corbisier452 views
Account Based Marketing Overview von Ron Corbisier
Account Based Marketing OverviewAccount Based Marketing Overview
Account Based Marketing Overview
Ron Corbisier977 views
Verifiable, linked open knowledge that anyone can edit von Dario Taraborelli
Verifiable, linked open knowledge that anyone can editVerifiable, linked open knowledge that anyone can edit
Verifiable, linked open knowledge that anyone can edit
Dario Taraborelli5.6K views
Anforderungen an Thesauri im Semantic Web von Joachim Neubert
Anforderungen an Thesauri im Semantic WebAnforderungen an Thesauri im Semantic Web
Anforderungen an Thesauri im Semantic Web
Joachim Neubert2K views

Similar a Linked data enhanced publishing for special collections (with Drupal)

Drupal and the semantic web - SemTechBiz 2012 von
Drupal and the semantic web - SemTechBiz 2012Drupal and the semantic web - SemTechBiz 2012
Drupal and the semantic web - SemTechBiz 2012scorlosquet
2.7K views88 Folien
The Semantic Web and Drupal 7 - Loja 2013 von
The Semantic Web and Drupal 7 - Loja 2013The Semantic Web and Drupal 7 - Loja 2013
The Semantic Web and Drupal 7 - Loja 2013scorlosquet
1.9K views56 Folien
Drupal 7 and RDF von
Drupal 7 and RDFDrupal 7 and RDF
Drupal 7 and RDFscorlosquet
3.9K views42 Folien
Slides semantic web and Drupal 7 NYCCamp 2012 von
Slides semantic web and Drupal 7 NYCCamp 2012Slides semantic web and Drupal 7 NYCCamp 2012
Slides semantic web and Drupal 7 NYCCamp 2012scorlosquet
1.6K views38 Folien
Embedding Linked Data Invisibly into Web Pages: Strategies and Workflows for ... von
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)
57.9K views48 Folien
Drupal and RDF von
Drupal and RDFDrupal and RDF
Drupal and RDFscorlosquet
1.4K views32 Folien

Similar a Linked data enhanced publishing for special collections (with Drupal)(20)

Drupal and the semantic web - SemTechBiz 2012 von scorlosquet
Drupal and the semantic web - SemTechBiz 2012Drupal and the semantic web - SemTechBiz 2012
Drupal and the semantic web - SemTechBiz 2012
scorlosquet2.7K views
The Semantic Web and Drupal 7 - Loja 2013 von scorlosquet
The Semantic Web and Drupal 7 - Loja 2013The Semantic Web and Drupal 7 - Loja 2013
The Semantic Web and Drupal 7 - Loja 2013
scorlosquet1.9K views
Drupal 7 and RDF von scorlosquet
Drupal 7 and RDFDrupal 7 and RDF
Drupal 7 and RDF
scorlosquet3.9K views
Slides semantic web and Drupal 7 NYCCamp 2012 von scorlosquet
Slides semantic web and Drupal 7 NYCCamp 2012Slides semantic web and Drupal 7 NYCCamp 2012
Slides semantic web and Drupal 7 NYCCamp 2012
scorlosquet1.6K views
Drupal as a Semantic Web platform - ISWC 2012 von scorlosquet
Drupal as a Semantic Web platform - ISWC 2012Drupal as a Semantic Web platform - ISWC 2012
Drupal as a Semantic Web platform - ISWC 2012
scorlosquet1.6K views
Produce and consume_linked_data_with_drupal von STI Innsbruck
Produce and consume_linked_data_with_drupalProduce and consume_linked_data_with_drupal
Produce and consume_linked_data_with_drupal
STI Innsbruck411 views
Drupal and the Semantic Web - ESIP Webinar von scorlosquet
Drupal and the Semantic Web - ESIP WebinarDrupal and the Semantic Web - ESIP Webinar
Drupal and the Semantic Web - ESIP Webinar
scorlosquet1.7K views
Building bridges - Plone Conference 2015 Bucharest von Andreas Jung
Building bridges   - Plone Conference 2015 BucharestBuilding bridges   - Plone Conference 2015 Bucharest
Building bridges - Plone Conference 2015 Bucharest
Andreas Jung3.4K views
When Drupal and RDF meet von scorlosquet
When Drupal and RDF meetWhen Drupal and RDF meet
When Drupal and RDF meet
scorlosquet615 views
Drupal: an Overview von Matt Weaver
Drupal: an OverviewDrupal: an Overview
Drupal: an Overview
Matt Weaver1.5K views
Data strategies - Drupal Decision Makers training von scorlosquet
Data strategies - Drupal Decision Makers trainingData strategies - Drupal Decision Makers training
Data strategies - Drupal Decision Makers training
scorlosquet854 views
Drupal Overview For Techies von Robert Carr
Drupal Overview For TechiesDrupal Overview For Techies
Drupal Overview For Techies
Robert Carr5K views
Intro to drupal von hernanibf
Intro to drupalIntro to drupal
Intro to drupal
hernanibf952 views
Oleksandr Medvediev - Content delivery tools in Drupal 8. von DrupalCamp Kyiv
Oleksandr Medvediev - Content delivery tools in Drupal 8.Oleksandr Medvediev - Content delivery tools in Drupal 8.
Oleksandr Medvediev - Content delivery tools in Drupal 8.
DrupalCamp Kyiv432 views
Produce and consume_linked_data_with_drupal von STIinnsbruck
Produce and consume_linked_data_with_drupalProduce and consume_linked_data_with_drupal
Produce and consume_linked_data_with_drupal
STIinnsbruck117 views
Linked Data from a Digital Object Management System von Uldis Bojars
Linked Data from a Digital Object Management SystemLinked Data from a Digital Object Management System
Linked Data from a Digital Object Management System
Uldis Bojars801 views
Phase2 Large Drupal Multisites (gta case study) von Phase2
Phase2   Large Drupal Multisites (gta case study)Phase2   Large Drupal Multisites (gta case study)
Phase2 Large Drupal Multisites (gta case study)
Phase23.1K views

Más de Joachim Neubert

Linking the 20th century paper history to the sum of all knowledge von
Linking the 20th century paper history to the sum of all knowledgeLinking the 20th century paper history to the sum of all knowledge
Linking the 20th century paper history to the sum of all knowledgeJoachim Neubert
974 views21 Folien
Exploring and mapping the category system of the world‘s largest public press... von
Exploring and mapping the category system of the world‘s largest public press...Exploring and mapping the category system of the world‘s largest public press...
Exploring and mapping the category system of the world‘s largest public press...Joachim Neubert
85 views8 Folien
Donating data to Wikidata: First experiences from the „20th Century Press Arc... von
Donating data to Wikidata: First experiences from the „20th Century Press Arc...Donating data to Wikidata: First experiences from the „20th Century Press Arc...
Donating data to Wikidata: First experiences from the „20th Century Press Arc...Joachim Neubert
95 views11 Folien
Wikidata (für Archive) von
Wikidata (für Archive)Wikidata (für Archive)
Wikidata (für Archive)Joachim Neubert
112 views19 Folien
Wikidata as a hub for the linked data cloud von
Wikidata as a hub for the linked data cloudWikidata as a hub for the linked data cloud
Wikidata as a hub for the linked data cloudJoachim Neubert
175 views66 Folien
Wikidata as opportunity for special collections: the 20th Century Press Archi... von
Wikidata as opportunity for special collections: the 20th Century Press Archi...Wikidata as opportunity for special collections: the 20th Century Press Archi...
Wikidata as opportunity for special collections: the 20th Century Press Archi...Joachim Neubert
3.9K views25 Folien

Más de Joachim Neubert(19)

Linking the 20th century paper history to the sum of all knowledge von Joachim Neubert
Linking the 20th century paper history to the sum of all knowledgeLinking the 20th century paper history to the sum of all knowledge
Linking the 20th century paper history to the sum of all knowledge
Joachim Neubert974 views
Exploring and mapping the category system of the world‘s largest public press... von Joachim Neubert
Exploring and mapping the category system of the world‘s largest public press...Exploring and mapping the category system of the world‘s largest public press...
Exploring and mapping the category system of the world‘s largest public press...
Joachim Neubert85 views
Donating data to Wikidata: First experiences from the „20th Century Press Arc... von Joachim Neubert
Donating data to Wikidata: First experiences from the „20th Century Press Arc...Donating data to Wikidata: First experiences from the „20th Century Press Arc...
Donating data to Wikidata: First experiences from the „20th Century Press Arc...
Joachim Neubert95 views
Wikidata as a hub for the linked data cloud von Joachim Neubert
Wikidata as a hub for the linked data cloudWikidata as a hub for the linked data cloud
Wikidata as a hub for the linked data cloud
Joachim Neubert175 views
Wikidata as opportunity for special collections: the 20th Century Press Archi... von Joachim Neubert
Wikidata as opportunity for special collections: the 20th Century Press Archi...Wikidata as opportunity for special collections: the 20th Century Press Archi...
Wikidata as opportunity for special collections: the 20th Century Press Archi...
Joachim Neubert3.9K views
20th Century Press Archives goes Wikidata von Joachim Neubert
20th Century Press Archives goes Wikidata20th Century Press Archives goes Wikidata
20th Century Press Archives goes Wikidata
Joachim Neubert288 views
Chancen und Herausforderungen einer komplementären Nutzung von GND und Wikidata von Joachim Neubert
Chancen und Herausforderungen einer komplementären Nutzung von GND und WikidataChancen und Herausforderungen einer komplementären Nutzung von GND und Wikidata
Chancen und Herausforderungen einer komplementären Nutzung von GND und Wikidata
Joachim Neubert3.9K views
Pressemappe 20. Jahrhundert: Personen- und Firmendossiers von Joachim Neubert
Pressemappe 20. Jahrhundert: Personen- und FirmendossiersPressemappe 20. Jahrhundert: Personen- und Firmendossiers
Pressemappe 20. Jahrhundert: Personen- und Firmendossiers
Joachim Neubert385 views
20th Century Press Archives goes Wikidata von Joachim Neubert
20th Century Press Archives goes Wikidata20th Century Press Archives goes Wikidata
20th Century Press Archives goes Wikidata
Joachim Neubert218 views
Linking Knowledge Organization Systems via Wikidata (DCMI conference 2018) von Joachim Neubert
Linking Knowledge Organization Systems via Wikidata (DCMI conference 2018)Linking Knowledge Organization Systems via Wikidata (DCMI conference 2018)
Linking Knowledge Organization Systems via Wikidata (DCMI conference 2018)
Joachim Neubert3.5K views
Making Wikidata fit as a Linking Hub for Knowledge Organization Systems von Joachim Neubert
Making Wikidata fit as a Linking Hub for Knowledge Organization SystemsMaking Wikidata fit as a Linking Hub for Knowledge Organization Systems
Making Wikidata fit as a Linking Hub for Knowledge Organization Systems
Joachim Neubert3.6K views
Linking authorities through Wikidata von Joachim Neubert
Linking authorities through WikidataLinking authorities through Wikidata
Linking authorities through Wikidata
Joachim Neubert115 views
Wikidata as a linking hub for knowledge organization systems? Integrating an ... von Joachim Neubert
Wikidata as a linking hub for knowledge organization systems? Integrating an ...Wikidata as a linking hub for knowledge organization systems? Integrating an ...
Wikidata as a linking hub for knowledge organization systems? Integrating an ...
Joachim Neubert441 views
Wikidata as authority linking hub von Joachim Neubert
Wikidata as authority linking hubWikidata as authority linking hub
Wikidata as authority linking hub
Joachim Neubert3.8K views
EconBiz Research Dataset (SWIB16 Lightning Talk) von Joachim Neubert
EconBiz Research Dataset (SWIB16 Lightning Talk)EconBiz Research Dataset (SWIB16 Lightning Talk)
EconBiz Research Dataset (SWIB16 Lightning Talk)
Joachim Neubert498 views
Leveraging SKOS to trace the overhaul of the STW Thesaurus for Economics von Joachim Neubert
Leveraging SKOS to trace the overhaul of the STW Thesaurus for EconomicsLeveraging SKOS to trace the overhaul of the STW Thesaurus for Economics
Leveraging SKOS to trace the overhaul of the STW Thesaurus for Economics
Joachim Neubert388 views
skos-history: Tracking the evolution of Knowledge Organization Systems von Joachim Neubert
skos-history: Tracking the evolution of Knowledge Organization Systemsskos-history: Tracking the evolution of Knowledge Organization Systems
skos-history: Tracking the evolution of Knowledge Organization Systems
Joachim Neubert470 views
Constantly Under Construction: STW Thesaurus for Economics Linked Data Maint... von Joachim Neubert
Constantly Under Construction: STW Thesaurus for Economics Linked Data Maint...Constantly Under Construction: STW Thesaurus for Economics Linked Data Maint...
Constantly Under Construction: STW Thesaurus for Economics Linked Data Maint...
Joachim Neubert526 views

Último

Dance KS5 Breakdown von
Dance KS5 BreakdownDance KS5 Breakdown
Dance KS5 BreakdownWestHatch
68 views2 Folien
ISO/IEC 27001 and ISO/IEC 27005: Managing AI Risks Effectively von
ISO/IEC 27001 and ISO/IEC 27005: Managing AI Risks EffectivelyISO/IEC 27001 and ISO/IEC 27005: Managing AI Risks Effectively
ISO/IEC 27001 and ISO/IEC 27005: Managing AI Risks EffectivelyPECB
545 views18 Folien
Create a Structure in VBNet.pptx von
Create a Structure in VBNet.pptxCreate a Structure in VBNet.pptx
Create a Structure in VBNet.pptxBreach_P
70 views8 Folien
The Open Access Community Framework (OACF) 2023 (1).pptx von
The Open Access Community Framework (OACF) 2023 (1).pptxThe Open Access Community Framework (OACF) 2023 (1).pptx
The Open Access Community Framework (OACF) 2023 (1).pptxJisc
85 views7 Folien
MercerJesse2.1Doc.pdf von
MercerJesse2.1Doc.pdfMercerJesse2.1Doc.pdf
MercerJesse2.1Doc.pdfjessemercerail
115 views5 Folien
Ch. 7 Political Participation and Elections.pptx von
Ch. 7 Political Participation and Elections.pptxCh. 7 Political Participation and Elections.pptx
Ch. 7 Political Participation and Elections.pptxRommel Regala
72 views11 Folien

Último(20)

Dance KS5 Breakdown von WestHatch
Dance KS5 BreakdownDance KS5 Breakdown
Dance KS5 Breakdown
WestHatch68 views
ISO/IEC 27001 and ISO/IEC 27005: Managing AI Risks Effectively von PECB
ISO/IEC 27001 and ISO/IEC 27005: Managing AI Risks EffectivelyISO/IEC 27001 and ISO/IEC 27005: Managing AI Risks Effectively
ISO/IEC 27001 and ISO/IEC 27005: Managing AI Risks Effectively
PECB 545 views
Create a Structure in VBNet.pptx von Breach_P
Create a Structure in VBNet.pptxCreate a Structure in VBNet.pptx
Create a Structure in VBNet.pptx
Breach_P70 views
The Open Access Community Framework (OACF) 2023 (1).pptx von Jisc
The Open Access Community Framework (OACF) 2023 (1).pptxThe Open Access Community Framework (OACF) 2023 (1).pptx
The Open Access Community Framework (OACF) 2023 (1).pptx
Jisc85 views
Ch. 7 Political Participation and Elections.pptx von Rommel Regala
Ch. 7 Political Participation and Elections.pptxCh. 7 Political Participation and Elections.pptx
Ch. 7 Political Participation and Elections.pptx
Rommel Regala72 views
Psychology KS4 von WestHatch
Psychology KS4Psychology KS4
Psychology KS4
WestHatch68 views
AI Tools for Business and Startups von Svetlin Nakov
AI Tools for Business and StartupsAI Tools for Business and Startups
AI Tools for Business and Startups
Svetlin Nakov101 views
Use of Probiotics in Aquaculture.pptx von AKSHAY MANDAL
Use of Probiotics in Aquaculture.pptxUse of Probiotics in Aquaculture.pptx
Use of Probiotics in Aquaculture.pptx
AKSHAY MANDAL89 views
Classification of crude drugs.pptx von GayatriPatra14
Classification of crude drugs.pptxClassification of crude drugs.pptx
Classification of crude drugs.pptx
GayatriPatra1477 views
7 NOVEL DRUG DELIVERY SYSTEM.pptx von Sachin Nitave
7 NOVEL DRUG DELIVERY SYSTEM.pptx7 NOVEL DRUG DELIVERY SYSTEM.pptx
7 NOVEL DRUG DELIVERY SYSTEM.pptx
Sachin Nitave58 views
The basics - information, data, technology and systems.pdf von JonathanCovena1
The basics - information, data, technology and systems.pdfThe basics - information, data, technology and systems.pdf
The basics - information, data, technology and systems.pdf
JonathanCovena188 views
Lecture: Open Innovation von Michal Hron
Lecture: Open InnovationLecture: Open Innovation
Lecture: Open Innovation
Michal Hron96 views
OEB 2023 Co-learning To Speed Up AI Implementation in Courses.pptx von Inge de Waard
OEB 2023 Co-learning To Speed Up AI Implementation in Courses.pptxOEB 2023 Co-learning To Speed Up AI Implementation in Courses.pptx
OEB 2023 Co-learning To Speed Up AI Implementation in Courses.pptx
Inge de Waard167 views

Linked data enhanced publishing for special collections (with Drupal)

  • 1. ZBW is member of the Leibniz Association Linked Data Enhanced Publishing for Special Collections Joachim Neubert ZBW – German National Library of Economics Leibniz Information Centre for Economics ELAG 2013 Ghent, Belgium 29.5.2013
  • 2. Motivation • Special collections often consist of specific (sometimes unique) kinds of objects with special attributes (e.g., type or material, selected from a list) which require non-standard data structures • Custom navigation (e.g., by historical period or dynasty) is eligible • Static pages (e.g., a “news” section, “about” or “help” pages) are often required, too  Turn-key “standard” systems for these requirements are not available Page 2
  • 3. My own background • Scientific software developer at ZBW – German National Library for Economics, mainly concerned with Linked Open Data and knowledge organization systems and services • Published 20th Century Press Archives in 2010, with some 100,000 digitized newspaper articles in dossiers (http://zbw.eu/beta/p20, custom application written in Perl) • Published a repository of ZBW Labs projects recently – basicly project descriptions and a blog (http://zbw.eu/labs, Drupal based) Page 3
  • 4. Page 4 Further Agenda 1) Linked Data, Content Management Systems, and Drupal 2) Customizing Drupal 7 for special collections 3) Current limitations of RDF/LD support in Drupal 7 4) Outlook
  • 5. Why semantic enhancement? – An example Page 5 https://www.goodreads.com/book/show/91767.Frida
  • 6. Semantic enhancement via RDF Page 6 http://commonplace.net/2009/06/linked-data-for-libraries/
  • 7. Weaving the web of Linked Data Page 7 http://www.worldcat.org/oclc/8281462 http://viaf.org/viaf/213505112 http://dbpedia.org/resource/Frida_Kahlo
  • 8. Page 8 Linking Open Data cloud diagram, by Richard Cyganiak and Anja Jentzsch. http://lod-cloud.net/
  • 9. So, why linked data enhanced publishing? • Differentiate the subjects of your web pages and their attributes • Thus, foster data reuse in 3rd party services and applications • Mashups • Search engines • Create meaningful links, adding value for users Page 9
  • 10. Why use a content management system? • Standard tasks (browser compatibility, page templates, responsive css, site navigation, search, form handling, calendar, wysiwyg, revisions, translations, permissions, data management , security) made easy • Easy-to-add web 2.0 features (blogging and comments, tags, rating, forums, …) • Know-how available outside a single development team Page 10
  • 11. Why Drupal? • Open & modular architecture ● Extensible by modules ● Standards-based ● Scalable • Widely used all over the world • Vibrant open source community, and commercial services, too Page 11 http://drupal.org/getting-started/before/overview http://de.slideshare.net/scorlosquet/drupal-as-a-semantic-web-platform
  • 12. Drupal 7 default RDF schema Page 12 http://openspring.net/blog/2011/05/01/background-research-work-leading-to-rdf-in-drupal-7-released-as-part-of-my-masters
  • 14. Customizing Drupal 7 for special collections Page 14
  • 16. Creating a custom content (node) type Can be done by the site builder (without coding) Page 16
  • 18. Page 18 Requires: • RDF UI module enabled • Prefixes for additional namespaces, e.g. doap, defined (via UI)
  • 20. Defining custom field´s RDF mapping Page 20
  • 21. Output in RDFa • Drupal renders RDF mappings as HTML attributes • No frickling in HTML producing code or templates • Works out of the box for different Drupal themes (screen designs) • In Drupal 7, by default XHTML/RDFa 1.0 • Themes for HTML5/RDFa 1.1 available (e.g., Zen) Page 21
  • 22. M <http://zbw.eu/labs/project/zbw-labs> a schema:CreativeWork, doap:Project; dc:description """ ZBW Labs Website is a semantically enriched directory of ZBW Labs Projects. Labs projects range from small showcases, which may or may not be part of a larger project, to full-fleged applications in beta state. The new ZBW Labs website is based on Drupal 7 and uses RDFa, which is part of Drupal Core. Used vocabularies are Dublin Core Terms (dc), Description of a Project (doap) und Schema.org (schema). """@en; dc:subject <http://zbw.eu/labs/en/taxonomy/term/1>, <http://zbw.eu/labs/en/taxonomy/term/11>, <http://zbw.eu/labs/en/taxonomy/term/3>, <http://zbw.eu/labs/en/taxonomy/term/50>; dc:title "ZBW Labs Website"@en; schema:name "ZBW Labs Website"@en; [...] doap:created "2012-04"^^xsd:gYearMonth, "2012-04-01T00:00:00+02:00"^^xsd:gYearMonth; doap:homepage <http://zbw.eu/labs>; doap:name "ZBW Labs Website"@en; doap:shortdesc "ZBW Labs projects exposed as Linked Open Data"@en; xhv:license <http://creativecommons.org/publicdomain/zero/1.0/> . <http://zbw.eu/labs/en/taxonomy/term/3> a skos:Concept; rdfs:label "Publishing Technologies"@en; skos:prefLabel "Publishing Technologies"@en . Page 22
  • 23. Additional Linked Data / RDF features • Serialize Drupal RDF data in RDF/XML, Turtle, NT (Modules: RDFx, RESTful Web Services) *, JSON-LD (Modules: JSON-LD, restws) • Expose Drupal RDF data in a SPARQL endpoint (Module: SPARQL) • Support microdata output (Module: Microdata) • Consume RDF data from other SPARQL endpoints and display it as part of a Drupal site (Module: SPARQL Views) • Add links to other Linked Data entities (Module: Web Taxonomy) * currently does not work with PostgreSQL – for a workarround, see http://drupal.org/node/1999754#comment-7438562 Page 23
  • 24. Web Taxonomy: Using vocabularies from the web • Autocomplete widget for Drupal fields, powered by vocabularies maintained elsewhere • Prerequisites: • a web-accessible autosuggest service which delivers terms and their URIs (may be JSON, SPARQL results or even SOAP) • a custom coded plugin to access the service Page 24
  • 25. Page 25 Plugin example: Economics Taxonomies Code downloadable and installable from https://drupal.org/sandbox/jneubert/1447918 • Third party thesauri, such as STW Thesaurus for Economics, can be re-used for indexing a collection
  • 26. Extending Drupal even further Drupal is not only a CMS, but also a Content Mangement Framework • Well defined APIs (database abstraction layer, Field API, RDF Mapping API, Form API, Entity API, …) • Entity API allows building custom entities with arbitrary properties • … even residing in remote databases  requires substantial programming skills Page 26
  • 27. Current limitations of RDF/LD support in Drupal 7 Page 27
  • 28. Cool URIs require work 1) out-of-the-box default URI http://zbw.eu/labs/en?q=node/25 2) with the „Clean URLs“ feature enabled http://zbw.eu/labs/en/node/25 3) with the (core) „Path“ module enabled and an alias defined http://zbw.eu/labs/en/project/zbw-labs 4) removing the language path element (en/de) in multilingual sites for a language-independent resource URI requires custom code http://zbw.eu/labs/project/zbw-labs (see code example in http://groups.drupal.org/node/247058#comment-798823) Page 28
  • 29. Nested RDF structures only with custom code Workarround example: Git repository URI in DOAP ontology demands a separate node, e.g., <> a schema:CreativeWork, doap:Project; doap:repository [ a doap:GitRepository; doap:location "http://github.com/some/id.git" ]; • Create field_gitrepository and map to doap:location • Create a custom template file for the field (field--field_gitrepository-- lproject.tpl.php) <div rel="doap:repository" class="field-items"<?php print $content_attributes; ?>> <div about="[_:repos]" typeof="doap:GitRepository"> <?php foreach ($items as $delta => $item): ?> <div class="field-item"<?php print $item_attributes[$delta]; ?>><?php print render($item); ?></div> <?php endforeach; ?> </div> </div> </div> Page 29
  • 30. Further limitations in Drupal 7 • RDFa support currently works for single entities – pages with multiple entities (search results, term pages, views, etc.) are not supported • RDFa output may break under certain special conditions (http://drupal.org/node/1778226) Page 30
  • 31. Outlook to Drupal 8 • Drupal base functionalities refactored for using Symphony framework • Aimed at an extended service-oriented architecture – design goal: “Each piece of content gets its own URL” (http://www.unleashedmind.com/en/blog/sun/drupal-8-the-path-forward) • RDF module split up into a plain RDF mapping module and another module for creating RDFa markup Page 31
  • 32. To sum up • Linked data publishing via a CMS, in particular Drupal, is a valid option • If your data can be mapped to an essentially flat RDF data structure, linked data can be added mostly by site builders, without much additional effort • Sometimes research is required on how to solve problems, and at times glue code has to be written • But: most of the code for your web application is already there, and is supported by a large and helpful Open Source community Page 32
  • 33. Page 33 Thank you! Joachim Neubert ZBW – Leibniz Information Centre for Economics j.neubert@zbw.eu http://zbw.eu/labs