Change search
ReferencesLink to record
Permanent link

Direct link
Publishing Linked Data in Ruby on Rails.
KTH, School of Computer Science and Communication (CSC).
2012 (English)Independent thesis Advanced level (professional degree), 20 credits / 30 HE creditsStudent thesis
Abstract [en]

Jakob Engblom

Publishing Linked Data in Ruby on Rails

Through a prospective case study, revolving around the specific application Beakit, this investigation tries to establish what solutions are available and what the optimal route is for publishing Linked Data through the web framework Ruby on Rails. Based on Beakits technical specifications, three solutions were found fitting to test: RDF/XML-templating, JSON-LD, and rTriplify.

With rTriplify discovered as non-functioning, no solution was found allowing automatic mapping to triples and also fitting the needs of Beakit. Instead, manual mapping through either RDF/XML-templates or through JSON-LD was found to be the least intrusive, requiring little code refactoring, and simple way of publishing Linked Data. This process was further aided by Ruby on Rails content-negotiation capabilities and RESTfulness. Additionally, creating an ontology and adhering to some of the more peripheral principles of Linked Data was found to be time- consuming, and the former should be avoided unless absolutely necessary in favor of reliance on already existing ontologies.

Abstract [sv]

Jacob Engblom

Publicerande av Linked Data i Ruby on Rails

Genom en presumtiv fallstudie, kretsande kring application Beakit, försöker denna text etablera tillgängliga lösningar och vad som kan tänkas vara det optimala sätt att publicera Linked Data via webbramverket Ruby on Rails. Utifrån Beakits specificationer valdes tre lösningar för jämförelse: RDF/XML-templating, JSON-LD och rTriplify.

rTriplify visar sig otillämpbart, och iochmed detta kunde ingen lösningar hittas som tillät automatisk mappning till triples och som samtidigt passade Beakits behov. Manuell mappning genom RDF/XML-templates eller JSON-LD visade sig istället vara de lösningar som fordrade minst ändringar av existerande källkod och som var minst invecklade. Dessa lösningars lämplighet visade sig också behjälpt av Ruby on Rails innehållsförhandling samt RESTfulness. Att skapa en ontologi och följa mer perifera Linked Data principer visade sig också tidsödande, och det förstnämnda bör undvikas om inte absolut nödvändigt till fördel för redan existerande ontologier.

Place, publisher, year, edition, pages
Trita-CSC-E, ISSN 1653-5715 ; 2012:068
National Category
Computer Science
URN: urn:nbn:se:kth:diva-130926OAI: diva2:654372
Educational program
Master of Science in Engineering - Media Technology
Available from: 2013-10-07 Created: 2013-10-07

Open Access in DiVA

No full text

Other links
By organisation
School of Computer Science and Communication (CSC)
Computer Science

Search outside of DiVA

GoogleGoogle Scholar
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

Total: 89 hits
ReferencesLink to record
Permanent link

Direct link