Developing Mobile Linked Data Applications

Oshani Seneviratne, Evan W. Patton, Daniela Miao, Fuming Shih, Weihua Li, Lalana Kagal, Carlos CastilloIswc (posters & Demos) 2014

Abstract

This paper presents a framework extending MIT App Inventor to facilitate the development of mobile applications that consume and publish Linked Data. By abstracting complex Semantic Web technologies like RDF and SPARQL into visual blocks, the framework enables developers without mobile programming expertise to create interoperable, context-aware applications. The utility of this approach is demonstrated through WeReport, a disaster-relief tool for real-time structured data sharing.

Introduction

While mobile devices are the primary hubs for modern data generation, the vast majority of this information remains trapped in "silos"—standalone databases that lack interoperability. The Semantic Web community has long proposed Linked Data (utilizing RDF and SPARQL) as a solution to this crisis. However, mobile platforms have historically lagged behind in adoption due to a significant skill gap: building such applications typically requires a rare intersection of mobile development expertise (e.g., Android/Java) and deep knowledge of Semantic Web technologies.

Methodology

To lower the barrier to entry, researchers extended MIT App Inventor, a visual programming environment where logic is defined by connecting functional "blocks." This extension integrates the Apache Jena library to handle RDF data processing on the mobile backend.

Key technical additions include:

  • Linked Data Components: Modular elements for generating RDF via forms and visualizing geographic data.
  • Visual SPARQL Blocks: These allow developers to construct and execute complex queries against remote endpoints, such as DBpedia, without writing raw query strings.
  • Cloud Companion Services: Web services that manage cloud messaging, enabling mobile apps to interact with real-time streams of RDF content.
Visual blocks used to construct a SPARQL query and handle the retrieved results within the MIT App Inventor environment.

Use Case: The WeReport Application

The framework's utility is demonstrated through WeReport, a disaster-relief application. WeReport follows a "prosumer" model, where the app acts as both a consumer and a generator of data. It can query public datasets for context (like nearby landmarks) while allowing users to publish new, structured reports regarding hazards.

The WeReport interface for generating new Linked Data, allowing users to attach photos, locations, and descriptions to specific disaster topics.

In the WeReport scenario, a user can take a photo of a hazard (e.g., a fallen tree), tag it with a predefined topic, and upload it. Because the resulting data is structured as Linked Data, relief workers can perform complex filtering, such as subscribing to alerts only when a specific threshold of reports is met within a defined geographic area.

Key Insights and Results

The primary achievement of this work is the democratization of development. By abstracting RDF and SPARQL, "Linked Data developers" who understand data structures but lack mobile coding skills can build functional tools. Furthermore, the integration of push notifications with Linked Data demonstrates that the Semantic Web can be leveraged for real-time situational awareness rather than just static data exploration.

Initial results show that complex tasks—obtaining location, querying remote databases, and mapping results—can be reduced to a few dozen visual blocks. This significantly reduces the development time and technical expertise required to launch interoperable mobile tools.

Limitations and Future Work

Despite the success of the proof-of-concept, several challenges remain:

  • Scalability: The current implementation may face bottlenecks as the volume of streaming RDF data grows.
  • Performance: Processing RDF via Jena and executing complex SPARQL queries on mobile hardware is resource-intensive and requires further optimization.
  • Usability Testing: Future work will include formal user studies to evaluate how effectively non-programmers can build complex applications using this visual block-based approach.

Summary updated

BibTeX
@inproceedings{seneviratne2014developing,
  author = {Oshani Seneviratne and Evan W. Patton and Daniela Miao and Fuming Shih and Weihua Li and Lalana Kagal and Carlos Castillo},
  title = {{Developing Mobile Linked Data Applications}},
  booktitle = {Iswc (posters \& Demos)},
  year = {2014},
}
Figure