Towards the Integration of a Research Group Website into the Web of Data

Similar documents
THE SEMANTIC WEB AND IT`S APPLICATIONS

A Semantic web approach for e-learning platforms

María Elena Alvarado gnoss.com* Susana López-Sola gnoss.com*

ELIS Multimedia Lab. Linked Open Data. Sam Coppens MMLab IBBT - UGent

How To Write A Drupal Rdf Plugin For A Site Administrator To Write An Html Oracle Website In A Blog Post In A Flashdrupal.Org Blog Post

City Data Pipeline. A System for Making Open Data Useful for Cities. stefan.bischof@tuwien.ac.at

12 The Semantic Web and RDF

ARC: appmosphere RDF Classes for PHP Developers

Open Data collection using mobile phones based on CKAN platform

Building Linked Data For Both Humans and Machines

DISCOVERING RESUME INFORMATION USING LINKED DATA

LD2SD: Linked Data Driven Software Development

Building a Mobile Applications Knowledge Base for the Linked Data Cloud

Benchmarking the Performance of Storage Systems that expose SPARQL Endpoints

COLINDA: Modeling, Representing and Using Scientific Events in the Web of Data

Lift your data hands on session

Lightweight Data Integration using the WebComposition Data Grid Service

Linked Data Publishing with Drupal

Creating an RDF Graph from a Relational Database Using SPARQL

New Generation of Social Networks Based on Semantic Web Technologies: the Importance of Social Data Portability

Proceedings of the SPDECE Ninth nultidisciplinary symposium on the design and evaluation of digital content for education

SemWeB Semantic Web Browser Improving Browsing Experience with Semantic and Personalized Information and Hyperlinks

The Ontology and Architecture for an Academic Social Network

We have big data, but we need big knowledge

Publishing Relational Databases as Linked Data

Semantic Modeling with RDF. DBTech ExtWorkshop on Database Modeling and Semantic Modeling Lili Aunimo

Querying DBpedia Using HIVE-QL

Towards a reference architecture for Semantic Web applications

Semantic Interoperability

Application of ontologies for the integration of network monitoring platforms

Linked Open Data Infrastructure for Public Sector Information: Example from Serbia

LinkZoo: A linked data platform for collaborative management of heterogeneous resources

TOWARDS TREATING GIS AS VIRTUAL RDF GRAPHS

RDF Dataset Management Framework for Data.go.th

EUR-Lex 2012 Data Extraction using Web Services

A generic approach for data integration using RDF, OWL and XML

Linked Data - The Story So Far

Andreas Harth, Katja Hose, Ralf Schenkel (eds.) Linked Data Management: Principles and Techniques

Publishing Linked Data Requires More than Just Using a Tool

OSLC Primer Learning the concepts of OSLC

LiDDM: A Data Mining System for Linked Data

SmartLink: a Web-based editor and search environment for Linked Services

Yet Another Triple Store Benchmark? Practical Experiences with Real-World Data

Currency Conversion the Linked Data Way

Semantic Knowledge Management System. Paripati Lohith Kumar. School of Information Technology

Drupal.

Leveraging existing Web frameworks for a SIOC explorer to browse online social communities

Annotation: An Approach for Building Semantic Web Library

LDIF - Linked Data Integration Framework

Standards, Tools and Web 2.0

Data Consumer's Guide. Aggregating and consuming data from profiles March, 2015

TRTML - A Tripleset Recommendation Tool based on Supervised Learning Algorithms

Analyzing Linked Data tools for SHARK

Semantic Stored Procedures Programming Environment and performance analysis

Semantic Web Technologies and Data Management

Revealing Trends and Insights in Online Hiring Market Using Linking Open Data Cloud: Active Hiring a Use Case Study

LINKED DATA EXPERIENCE AT MACMILLAN Building discovery services for scientific and scholarly content on top of a semantic data model

DATA MODEL FOR STORAGE AND RETRIEVAL OF LEGISLATIVE DOCUMENTS IN DIGITAL LIBRARIES USING LINKED DATA

Extending Java Web Applications for Semantic Web

Extending the Linked Data API with RDFa

A Framework for Collaborative Project Planning Using Semantic Web Technology

The Berlin SPARQL Benchmark

EXTENDING JMETER TO ALLOW FOR WEB STRUCTURE MINING

Semantically Enhanced Web Personalization Approaches and Techniques

How To Use An Orgode Database With A Graph Graph (Robert Kramer)

CitationBase: A social tagging management portal for references

OWL Ontology Translation for the Semantic Web

Integrating Open Sources and Relational Data with SPARQL

Transcription:

Towards the Integration of a Research Group Website into the Web of Data Mikel Emaldi, David Buján, and Diego López-de-Ipiña Deusto Institute of Technology - DeustoTech, University of Deusto Avda. Universidades 24, 48007, Bilbao, Spain {m.emaldi, dbujan, dipina}@deusto.es Abstract. This work describes our efforts towards making the website of our research group, namely MORElab, comply with the principles of Linked Data. As a first attempt, we have made the information related to our research publications available in RDF. Such data is published according to the Bibliographic and Dublin Core Ontologies and interlinked with instance data of the FOAF and DBLP vocabularies. Our main contribution has been to adapt the Joomla! CMS so that it can be used for the automatic generation of the semantic metadata about publications. 1 Introduction The Semantic Web can be seen as a large knowledge-base formed by sources that serve information as RDF (Resource Description Framework) [1] files or through SPARQL endpoints [2]. The term Linked Data refers to a set of best practices for publishing and connecting structured data on the Web [3]. Today, more and more initiatives publish their data as Linked Data [4]. Although there are tools for publishing the data stored on relational databases into RDF files and for providing SPARQL endpoints like D2R Server [5] and tools for creating Linked Data interfaces from SPARQL endpoints like Pubby 1, publishing data of a website as Linked Data is usually a non-trivial task. Some Content Management Systems (CMS), e.g. Drupal 2, provide tools for publishing the data of a website as RDF. Other CMS such as RDF Tools for Wordpress 3, allow publishing their content as RDF files. As far as we know, there is a lack of tools for publishing Joomla! 4 content as Linked Data despite of being the most used CMS after Wordpress 5. On this paper, we describe our initial efforts towards migrating the information embedded in our research group s site into the Web of Data. For that we will: 1) describe the ontological vocabularies chosen to export part of our site (concretely the publications part), 2) explain the adaptation we have 1 http://www4.wiwiss.fu-berlin.de/pubby/ 2 http://drupal.org/ 3 http://bnode.org/blog/2008/01/15/rdf-tools-an-rdf-store-for-wordpress 4 http://www.joomla.org/ 5 Usage statistics at May 2011. http://trends.builtwith.com/cms

carried out over Joomla! so that it outputs correct Linked Data and 3) the tools used to implement our solution. The remainder of the paper is organized as follows. Section 2 discusses related work. Section 3 presents our extension for RDF generation. Section 4 referes to tools used to publish semantic data as Linked Data. Finally, Section 5 concludes and outlines the future work. 2 Related Work There are two significant tools for publishing Linked Data from a traditional HTML and database-based website: Pubby and D2R Server. Pubby adds Linked Data interfaces to SPARQL endpoints that allow DESCRIBE queries, such as Virtuoso Universal Server 6, Joseki SPARQL Server 7 or Drupal SPARQL Endpoint module 8. It manages dereferenceable URIs and generates HTML and RDF views of Linked Data. Pubby is implemented as a Java web application and can be deployed in Tomcat and Jetty servlet containers. The D2R Server [5] provides a powerful tool for publishing the content of relational databases as Semantic Data. Mapping of data between relational database and a RDFS schema is achieved with D2RQ language [6]. The D2R Server provides both XHTML and RDF representations through dereferenceable URIs. D2R Server also enables querying relational databases using SPARQL protocol against a virtual RDF graph representing an entire database. The results of these queries can be retrieved both in XML and JSON formats, among others. Drupal has its own module for publishing its entities as RDFa 9. It also provides extra APIs to retrieve results in additional formats such as RDF/XML, NTriples and Turtle. It has an administration interface to configure proper RDF mappings. It also allows to import vocabularies to map entities. This data can be accessed through SPARQL Endpoint module. As far as we know, there is not a tool for Joomla! which enables publishing, even partially, the contents of a website neither as plain RDF nor as RDF following the Linked Data principles. 3 RDF Generation Plugin According to the Joomla! documentation, an article is some written information that you want to display on your site. It normally contains some text and can contain pictures and other types of content. For many Joomla! sites, articles form the majority of the information presented in the website 10. Joomla! manages published articles through the com content component. By default, this component only allows the inclusion of title, alias, category, text and a few more 6 http://virtuoso.openlinksw.com/ 7 http://www.joseki.org/ 8 http://drupal.org/project/sparql ep 9 http://drupal.org/project/rdfx 10 http://docs.joomla.org/understanding sections, categories and articles#articles

Tool Features Limitations Pubby. D2R Server. Provides RDF, XHTML representations and SPARQL end- Drupal + RDFx & SPARQL endpoint modules. point. Joomla! Linked Data plugin. Adds Linked Data interface It needs a SPARQL endpoint to SPARQL endpoints. Provides RDF representation and provided by another tool. HTML interface Relational data to RDF data. Mappings are done by user SPARQL endpoint. Provides through D2RQ language. XHTML representation. Adds Linked Data interface to SPARQL endpoints. Provides RDF representation and Joomla! default view as XHTML interface. Published data is fully customizable. It does not provide Linked Data interface. It needs a SPARQL endpoint. The Linked Data datasets are hardcoded. Table 1. Comparative between different semantic publication tools. things. This represents a problem for publishing data as Linked Data through ontologies as Dublin Core [7] or Bibliographic Ontology [8], because there are not enough fields to fill the information required to make useful this representation. To solve this issue, we may develop a component which adds proper fields to the content administration panel, but rewriting all content could be a difficult task if there are a lot of articles or news already written. Alternately, in this paper an automatic parsing mechanism is used based on custom regular expression patterns and HTTP-mediated queries to third party data sources. We assume that the majority of organizations have a person responsible of the maintenance of a web site and its contents. According to that premise, we can suppose that almost all contents on those sites are written following the same format, determinate pattern can be applied to extract different fields of the content. Text at Code 1 describes the data of a publication of Morelab: Code 1. Text of description of a publication. Aitor Almeida, Pablo Orduna, Eduardo C a s t i l l e j o, Diego Lopez de Ipina, Marcos S a c r i s t a n. Imhotep : an approach to u s e r and d e v i c e c o n s c i o u s mobile a p p l i c a t i o n s. P e r s o n a l and U b i q u i t o u s Computing ( J o u r n a l ). Vol. 1 5. No. 4. PP. 419 429. S p r i n g e r. Impact Factor ( 2 0 0 9 ) : 1. 5 5 4. ISSN : 1617 4909. DOI : 10. 1007/ s00779 010 0359 8. January 2011. As the dependence on mobile d e v i c e s i n c r e a s e s, the need f o r s u p p o r t i n g a wider range o f u s e r s and d e v i c e s becomes c r u c i a l. [... ] and the u s a b i l i t y o f the proposed p l a t f o r m. As can be seen at Code 1, the administrator wrote the authors of paper and conference or journal where the paper was published. In this concrete case, the

Fig. 1. RDF Generation Plugin main administration panel. title of paper can be extracted from title field of Joomla! database and the rest of data can be extracted by the following regular expression pattern (Code 2): Code 2. RegEx pattern that wraps the data field embedded into HTML code. { dc : c r e a t o r, sep (, ) } \. { dc : t i t l e } \. { dc : t i t l e, urn : i s s n }\( { r d f : type, urn : i s s n } \). Vol. { bibo : volume } \. No \. { bibo. i s s u e } \. PP. \{ bibo : s t a r t P a g e } {bibo : endpage } \. { bibo : p u b l i s h e r, urn : i s s n } \. {dummy} \. ISSN : { urn : i s s n } \. DOI : { bibo : d o i } \. { dc : date } \. { bibo : a b s t r a c t } If every content of the publications section is written in the same way by the same person the data of all articles can be wrapped without any additional effort. Otherwise, if an article that follows a different pattern is found, this pattern becomes useless. In order to overcome, make more reliable the process the RegEx-based process, Google Scholar web scraping is used. Taking as input the title of a paper, an automatic search is done through Google Scholar web page including a cookie that requests the BibTeX 11 representation that Google Scholar offers. If Google Scholar has indexed the article, the whole publication metadata can be extracted from the corresponding BibTeX. Another source used by the extension is the DBLP SPARQL endpoint 12 and the FOAF files of our research group s (MORElab) memebers. These FOAF files are manually generated and made available by the labmembers from their personal webpages. Finally, the generated RDF can be seen at Code 3. Code 3. Example of generated RDF. @ p r e f i x bibo : <http : / / p u r l. org / o n t o l o g y / bibo/>. 11 http://www.bibtex.org/ 12 http://dblp.l3s.de/d2r/snorql/

@ p r e f i x dc : <http : / / p u r l. org / dc / e l e m e n t s /1.1/ >. @ p r e f i x owl : <http : / /www. w3. org /2002/07/ owl#>. <http : / /www. morelab. deusto. e s / index. php/ p u b l i c a t i o n s 1879995610/2011/A Semantic Resource Oriented Middleware for Pervasive Environments> a bibo : a r t i c l e ; owl : sameas <http : / / dblp. l 3 s. de / d2r / page / p u b l i c a t i o n s / j o u r n a l s / puc / AlmeidaOCLS11> ; dc : t i t l e Imhotep : an approach to u s e r and d e v i c e c o n s c i o u s mobile a p p l i c a t i o n s ; dc : date January 2011 ; dc : i s P a r t O f <urn : i s s n :1617 4909> ; bibo : doi 10. 1007/ s00779 010 0359 8 ; bibo : volume 15 ; bibo : i s s u e 4 ; bibo : startpage 419 ; bibo : endpage 429 ; dc : c r e a t o r <http : / /www. morelab. deusto. e s / index. php/members/35 a i t o r almeida / f o a f. rdf > ; dc : c r e a t o r <http : / /www. morelab. deusto. e s / index. php/members/69 pablo orduna / f o a f. rdf > ; dc : c r e a t o r <http : / /www. morelab. deusto. e s / index. php/members/89 eduardo c a s t i l l e j o / f o a f. rdf > ; dc : c r e a t o r <http : / /www. morelab. deusto. e s / index. php/members/37 dr diego lopez de i p i n a / f o a f. rdf > ; dc : c r e a t o r Marcos S a c r i s t a n ; bibo : a b s t r a c t As the dependence on mobile d e v i c e s i n c r e a s e s, the need f o r s u p p o r t i n g a wider range o f u s e r s and d e v i c e s becomes c r u c i a l. [... ] and the u s a b i l i t y o f the proposed p l a t f o r m.. <urn : i s s n :1617 4909> a bibo : J o u r n a l ; dc : t i t l e Personal and Ubiquitous Computing ; bibo : p u b l i s h e r S p r i n g e r. 4 Publishing data as Linked Data Once the RDF files are generated, the next step is offering this data as Linked Data. Linked Data is simply about using the Web to create typed links between data from different sources [12]. Fig. 2. Used vocabularies to create Morelab s RDF files: OWL [9], DC [7], SWRC [10], FOAF [11] and BIBO [8]. To do that, the extension follows the 6 th recipe described on [13]: using 303 redirect, multiple HTML and SPARQL endpoint, combinining Joseki SPARQL

endpoint and Pubby Linked Data interface. We choose these tools because of their simplicity compared to other tools like Virtuoso. To link our own data with another datasets, the extension queries the existing SPARQL endpoints of known datasets as DBLP. It also queries MORElab s SPARQL endpoint to retrieve members FOAF data. This SPARQL endpoint can be queried by third party applications that want to consume our Linked Open Data. Another way to consume MORElab s Linked Open Data is doing a HTTP request including application/rdf+xml field into Accept header, to URL of any resource of Morelab s website 13. This request will return an RDF graph with the metadata of this article. Used vocabularies (BIBO, DC and OWL) are hardcoded into the source code of the extension. 5 Conclusions and Future Work This paper presents our efforts towards making the information stored in our research group s site available as Linked Open Data. For that, we have contributed with an extension for Joomla! CMS that allows scientific article related data available as Linked Data. We think that the usage of this extension provides an accessible way to increase the Linked Data provided by organizations that uses Joomla! as their CMS. For our future work, we will enhance the administration panel allowing the inclusion of custom RegEx pattern for selected articles and custom ontologies, not only Bibliographic Ontology, Dublin Core and OWL[9]. Moreover, we must increase the flexibility of RDF generation patterns letting administrators adding their own data sources and linking the datasets with well-known sources such Geonames 14 or DBPedia [14]. Although the current extension limitation is focused on publications, but there are many more content types that can be published such Linked Data, such as projects or member information. References 1. RDF - semantic web standards. http://www.w3.org/rdf/. 2. G. Tummarello, R. Delbru, and E. Oren, Sindice. com: Weaving the open linked data, in Proceedings of the 6th international The semantic web and 2nd Asian conference on Asian semantic web conference, p. 552 565, 2007. 3. C. Bizer, T. Heath, and T. Berners-Lee, Linked data-the story so far, Int. J. Semantic Web Inf. Syst. 5(3), p. 1 22, 2009. 4. F. Peset, A. Ferrer-Sapena, and I. Subirats-Coll, Open data y linked open data: Su impacto en el área de bibliotecas y documentación, El profesional de la información 20(2), pp. 165 174, 2011. 5. C. Bizer and R. Cyganiak, D2r server-publishing relational databases on the semantic web, in 5th International Semantic Web Conference, p. 26, 2006. 13 Example in http://www.morelab.deusto.es/pubby/resource/a-semantic-resourceoriented-middleware-for-pervasive-environments 14 http://www.geonames.org/

6. C. Bizer and A. Seaborne, D2RQ-treating non-rdf databases as virtual RDF graphs, in Proceedings of the 3rd International Semantic Web Conference (ISWC2004), p. 26, 2004. 7. Dublin core metadata element set, version 1.1: Reference description. http://dublincore.org/documents/dces/, Dec. 2004. The reference description, version 1.1 of the Dublin Core Metadata Element Set. 8. Bibliographic ontology specification the bibliographic ontology. http://bibliontology.com/specification. 9. D. McGuinness, F. Van Harmelen, et al., Owl web ontology language overview, W3C recommendation 10, pp. 2004 03, 2004. 10. Y. Sure, S. Bloehdorn, P. Haase, J. Hartmann, and D. Oberle, The swrc ontology semantic web for research communities, Progress in Artificial Intelligence, pp. 218 231, 2005. 11. D. Brickley and L. Miller, Foaf vocabulary specification, 2005. 12. L. Sauermann, R. Cyganiak, and M. Völkel, Cool URIs for the semantic web, Working draft, W3C, 2008. 13. Best practice recipes for publishing RDF vocabularies. http://www.w3.org/tr/swbp-vocab-pub/. 14. S. Auer, C. Bizer, G. Kobilarov, J. Lehmann, R. Cyganiak, and Z. Ives, Dbpedia: A nucleus for a web of open data, The Semantic Web, pp. 722 735, 2007.