Top Banner
Democratizing Mobile App Development for Disaster Management Abstract Smartphones are being used for a wide range of activities including messaging, social networking, calendar and contact management as well as loca- tion and context-aware applications. The ubiquity of handheld computing technology has been found to be especially useful in disaster management and relief operations [Fajardo and Oppus, 2010]. Our focus is to enable developers to quickly deploy ap- plications that take advantage of key sources that are fundamental for today’s networked citizens, including Twitter feeds, Facebook posts, current news releases, and government data. These ap- plications will also have the capability of empow- ering citizens involved in crisis situations to con- tribute via crowdsourcing, and to communicate up- to-date information to others. We will leverage sev- eral technologies to develop this application frame- work, namely (i) Linked Data principles for struc- tured data, (ii) existing data sources and ontologies for disaster management, and (iii) App Inventor, which is a mobile application development frame- work for non-programmers. In this paper, we de- scribe our motivating use cases, our architecture, and our prototype implementation. 1 Introduction Smartphones are quickly becoming the primary computing and communication platform for people’s daily tasks. With the rise of social networks, “netizens” are now comfortable with frequently updating their social profiles with their cur- rent activities and/or locations. This new source of informa- tion, social signals from microblog platforms, has been found to be especially useful in disaster management and relief op- erations. For example, during the Beijing flash floods in July 2012, people took to Twitter to provide information about the flooded areas and collaboratively developed a live crisis map of the floods impact using Google Maps 1 . By integrating crowdsourced information with Geographic Information Sys- tems (GIS) data or other open datasets released by the local 1 http://iRevolution.net/2012/08/01/crisis-map-beijing-floods/ government, some technical volunteers have developed use- ful mobile applications for disaster reliefs. However, each organization usually has its own application that creates or consumes data stored in standalone databases, or even worse, in spreadsheets. This means most of these applications are built in silos without exploiting the potential of being “inter- linked” with other data collected from other organizations, or even the government. The lack of expertise and the cost for building mobile applications cause relief workers to turn to more manual steps for merging various reports from volun- teers. Consequently, the increasingly unorganized and scat- tered information become noise in the system and can some- times slowdown the decision making process. We envision a framework that enables non-technical application develop- ers to quickly build and deploy applications that easily reuse existing and crowdsourced structured information sources. One major challenge in the afore-mentioned example is how to effectively integrate data generated by multiple par- ties, including the “crowd”, relief organizations, and governe- ment agencies. We address this challenge by using Linked Data principles 2 to enable the reuse, extension and integration of heterogeneous structured data from distributed sources. Linked Data is a set of design principles proposed by the World Wide Web Consortium (W3C) for using Web tech- nologies in order to support the distributed development of structured information such that it can be easily and automat- ically combined. However, consuming and generating Linked Data is difficult as pointed out in [Scharffe et al., 2012], es- pecially on mobile devices. This implies that we need to also focus on reducing the barrier to the adoption of Linked Data technologies on smartphones. This paper describes our ongoing work of extending the App Inventor 3 platform with Linked Data technologies. App Inventor is an opensource app-building platform that allows users to drag-and-drop visual objects to create an applica- tion that can run on the Android system. We are developing ”Linked Data” components for App Inventor that will allow app developers to easily build applications that explore and consume Linked Data datasets as well as publish structured data directly to remote Linked Data repositories. Our App In- ventor components will focus on (i) embedding semantic con- 2 http://www.w3.org/DesignIssues/LinkedData.html 3 http://appinventor.mit.edu/
4

Democratizing Mobile App Development for Disaster …dig.csail.mit.edu › 2013 › Papers › IJCAIWorkshop › IJCAI...Figure 1: Two Semantic Web enabled mobile apps for disaster

Jul 06, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Democratizing Mobile App Development for Disaster …dig.csail.mit.edu › 2013 › Papers › IJCAIWorkshop › IJCAI...Figure 1: Two Semantic Web enabled mobile apps for disaster

Democratizing Mobile App Development for Disaster Management

AbstractSmartphones are being used for a wide range ofactivities including messaging, social networking,calendar and contact management as well as loca-tion and context-aware applications. The ubiquityof handheld computing technology has been foundto be especially useful in disaster management andrelief operations [Fajardo and Oppus, 2010]. Ourfocus is to enable developers to quickly deploy ap-plications that take advantage of key sources thatare fundamental for today’s networked citizens,including Twitter feeds, Facebook posts, currentnews releases, and government data. These ap-plications will also have the capability of empow-ering citizens involved in crisis situations to con-tribute via crowdsourcing, and to communicate up-to-date information to others. We will leverage sev-eral technologies to develop this application frame-work, namely (i) Linked Data principles for struc-tured data, (ii) existing data sources and ontologiesfor disaster management, and (iii) App Inventor,which is a mobile application development frame-work for non-programmers. In this paper, we de-scribe our motivating use cases, our architecture,and our prototype implementation.

1 IntroductionSmartphones are quickly becoming the primary computingand communication platform for people’s daily tasks. Withthe rise of social networks, “netizens” are now comfortablewith frequently updating their social profiles with their cur-rent activities and/or locations. This new source of informa-tion, social signals from microblog platforms, has been foundto be especially useful in disaster management and relief op-erations. For example, during the Beijing flash floods in July2012, people took to Twitter to provide information about theflooded areas and collaboratively developed a live crisis mapof the floods impact using Google Maps 1. By integratingcrowdsourced information with Geographic Information Sys-tems (GIS) data or other open datasets released by the local

1http://iRevolution.net/2012/08/01/crisis-map-beijing-floods/

government, some technical volunteers have developed use-ful mobile applications for disaster reliefs. However, eachorganization usually has its own application that creates orconsumes data stored in standalone databases, or even worse,in spreadsheets. This means most of these applications arebuilt in silos without exploiting the potential of being “inter-linked” with other data collected from other organizations, oreven the government. The lack of expertise and the cost forbuilding mobile applications cause relief workers to turn tomore manual steps for merging various reports from volun-teers. Consequently, the increasingly unorganized and scat-tered information become noise in the system and can some-times slowdown the decision making process. We envisiona framework that enables non-technical application develop-ers to quickly build and deploy applications that easily reuseexisting and crowdsourced structured information sources.

One major challenge in the afore-mentioned example ishow to effectively integrate data generated by multiple par-ties, including the “crowd”, relief organizations, and governe-ment agencies. We address this challenge by using LinkedData principles2 to enable the reuse, extension and integrationof heterogeneous structured data from distributed sources.Linked Data is a set of design principles proposed by theWorld Wide Web Consortium (W3C) for using Web tech-nologies in order to support the distributed development ofstructured information such that it can be easily and automat-ically combined. However, consuming and generating LinkedData is difficult as pointed out in [Scharffe et al., 2012], es-pecially on mobile devices. This implies that we need to alsofocus on reducing the barrier to the adoption of Linked Datatechnologies on smartphones.

This paper describes our ongoing work of extending theApp Inventor3 platform with Linked Data technologies. AppInventor is an opensource app-building platform that allowsusers to drag-and-drop visual objects to create an applica-tion that can run on the Android system. We are developing”Linked Data” components for App Inventor that will allowapp developers to easily build applications that explore andconsume Linked Data datasets as well as publish structureddata directly to remote Linked Data repositories. Our App In-ventor components will focus on (i) embedding semantic con-

2http://www.w3.org/DesignIssues/LinkedData.html3http://appinventor.mit.edu/

Page 2: Democratizing Mobile App Development for Disaster …dig.csail.mit.edu › 2013 › Papers › IJCAIWorkshop › IJCAI...Figure 1: Two Semantic Web enabled mobile apps for disaster

QCRI APP

9:40

QCRI APP

9:40

9:40

There are 8 people looking for water in your proximity

9:40

I am looking for water, please help.

9:23 AM

FOOD

WATER

SHELTER

MEDICINE

HOSPITAL

CLOTHES

WATER

WATER

QCRI APP

9:40

WATER

QCRI APP

9:40

Description

Tag

QCRI APP

9:40

Take a picture or a video

9:40

I can donate water 3L.

WATER

Edit Remove

I can donate water 5L.

WATER

Edit Remove

9:23 AM

10:13 AM

I can donate food.

FOOD

Edit Remove10:13 AM

QCRI APP

9:40

username

password

Log in

Welcome to the QCRI app. Log in using your twitter credentials

Donate

Request

zip codeif blank we will use your GPS Location

Name

Description

Recent Actions

Recent Actions

Submit reply

I am looking for water, please help

9:23 AM

I am in your proximity, do you still need water?

10:23 AM 10:23 AM

9:40

WATER

Submit

(a) (b)

(e)(c) (d) (f)

Figure 1: Two Semantic Web enabled mobile apps for disaster response situations

cepts directly into the process of mobile app-building whilehiding most of the operational details from novice develop-ers, and (ii) the integration of structured information frommicroblog platforms, crowdsourced and existing open data.

2 Motivating scenariosWe describe two applications that can potentially be used bypeople during a crisis situation: (1) App Donate-N-Requestwill be used to match requests and donations during a disasterscenario, and (2) App WeReport will be used to report scenesand information related to the disaster. These apps will havethe ability to be integrated with different public datasets usinglinked data.

2.1 Donate-N-Request AppThis app is inspired by MatchApp4, where requests for re-sources are met with the availability of those resources.

Consider this resource match-making scenario: Alice livesin New York City. After Hurricane Sandy hits, Alice wantsto help people in need. Bob has been affected by the crisis.Both Bob, the requestor, and Alice, the donator, can place thedonation and request for items within our app as shown inFigure 1(a) & (b). They can also view/edit/remove recent listof their activities as shown in Figure 1(c). Alice chooses todonate water, so she checks up all the people within a 3 milesradius of her location who are in need of water on a map asshown in Figure 1(e). Bob had previously requested water byusing our app (Figure 1(d)). Alice selects Bob from the listof people in need. Alice and Bob can message directly witheach other to arrange the exchange.

2.2 WeReport AppOn his way to the grocery store, after a severe hurricane, Joenoticed many parts around his community are in bad condi-tions. For example, fallen trees are blocking the road and

4http://iRevolution.net/2013/02/27/matchapp-disaster-response-app/

Data  service  endpoints  

Microblog  Analysis  

Data  Cura7on  

Developers Crowd with LD-Apps Crowd

Figure 2: Architecture of Linked Data enabled crowdsourcingand application development plaform

some can be dangerous for the pedestrians. With our WeRe-port app, he could take either a picture or a video of the scene.He decides to take a picture of the road, by adding a “tag” anda “description” to the image as shown in Figure 1(f).

3 Prototype ImplementationIn order to implement the apps described in Section 2, andgather the necessary data items, we explored the use of exist-ing linked data vocabularies and tied them into App Inventoras illustrated in Figure 2.

3.1 Linked DataDisaster management activities such co-ordinating relief op-erations, setting up shelters, reporting structural damages, andoverseeing volunteers generate a lot of data. These need to beintegrated and be interoperable with data provided by vari-ous organizations to be useful in decision making processesduring disasters. We identified two vocabularies that are use-ful in modeling such data as Linked Data. They have vary-ing degrees of support for some of the disaster concepts, andwe used terms from both the vocabularies in our implemen-tation. We discuss some shortcomings of these ontologies in

Page 3: Democratizing Mobile App Development for Disaster …dig.csail.mit.edu › 2013 › Papers › IJCAIWorkshop › IJCAI...Figure 1: Two Semantic Web enabled mobile apps for disaster

Section 4.

Humanitarian eXchange Language Situation andResponse Standard (HXL)HXL5 was developed through an initiative by the United Na-tions High Commissioner for Refugees (UNHCR) after in-specting a broad range of systems in use with different hu-manitarian organizations. The schema is available in fivemain sections, namely: geolocation (information on the lo-cations affected), humanitarian profile (information on thepopulations affected), metadata (who is collecting the data,date/time the data was collected, etc), response (informationon the organization responding), and situation (informationrelated to the emergency).

Management Of A Crisis Vocabulary (MOAC)MOAC6 was created after the earthquake in Haiti in 2010.Much of the focus in developing this vocabulary was to miti-gate the inconsistencies between aggregated data and require-ments of relief organizations. This was the first Linked Datavocabulary that had the objective of facilitating non-experts toprovide data in Linked Data formats through crowd sourcingmechanisms such as Google Map Maker, Open Street Map,Twitter and Ushahidi. MOAC defines three main sections thatrelate to relief agency standards.

3.2 App InventorApp Inventor provides a Web-based development platformfor novices with no prior programming experience to createmobile applications easily. A user can drag and drop graph-ical objects on the interface editor (Figure 3(a)) to design anapp or implement behaviors with blocks as shown in Figure3(b). App Inventor also provides many high-level compo-nents for using smartphone resources as well as communicat-ing with external web resources. For example, it has compo-nents for reading the GPS location sensor, taking photos withthe camera, receiving SMS texts, and sending Twitter mes-sages. By hiding most of the technical details, App Inventorgives its users the benefits to focus on designing app behav-iors rather than lower-level debugging. However, App Inven-tor currently has little support for integrating application datawith backend datastores, for example, to save application dataas Linked Data or integrate with other Linked Data resources.

(b) (a)

Figure 3: Interface of the App Inventor platform

5http://hxl.humanitarianresponse.info/ns/index.html6http://observedchange.com/moac/ns/

Figure 4: App Inventor autocompletion of concepts and prop-erties powered by SPARQL queries over cached semanticweb ontologies

3.3 Linked Data Extension of App InventorIn order to enable developers using the App Inventor platformto interact with Linked Data sources, we provide an extendedversion of App Inventor with additional components and userinterface elements powered by a modified version of the Jenaframework [Carroll et al., 2004]. In this section we outlinehow we expose Linked Data concepts to application develop-ers in the App Inventor the new components that can be usedby developers to consume and generate Linked Data.

Exploring Linked DataOne challenge of using Linked Data is finding details of anontology that describes a dataset. App developers should notbe burdened with knowing all the details of an ontology. Forexample, when building a crisis response app, a developermay begin with a general concept such as Shelter and letthe system provide more relevant information. Our extensionprovides an autocompletion capability in the designer inter-face to assist developers in selecting the appropriate ontolog-ical term (see Figure 4). We provide a service within the AppInventor that loads ontologies, indexes labels for classes andproperties, and answers queries to support this autocomple-tion widget.

Consuming Linked Data with Semantic Web ComponentThe Semantic Web Component converts semantic formsinto RDF graphs, executes and process results of SPARQLqueries, and saves and loads the content of ontologies. Forexample, the app developer can execute a SPARQL query tofetch information about nearby shelters based on the user’scurrent GPS location and show the results on a map.

Publishing Linked Data with Semantic FormThe Semantic Form is a layout component that can be usedby developers to identify a collection of fields that should beapplied to a particular ontological concept. Forms can alsoassign an autogenerated subject URI based on one or morefields to create new Linked Data instances. For example, a de-veloper can have two textfields for the name and the descrip-tion of a shelter. Semantic Form will automatically generateLinked Data triples if those fields are tagged with ontologicalterms like the properties shelterName and shelterDescriptionfrom the MOAC ontology.

4 DiscussionTypical types of data gathered and consumed during dis-aster situations includes: (1) Data describing response andresource characteristics (locations of people in evacuation

Page 4: Democratizing Mobile App Development for Disaster …dig.csail.mit.edu › 2013 › Papers › IJCAIWorkshop › IJCAI...Figure 1: Two Semantic Web enabled mobile apps for disaster

zones, shelter locations); (2) Data on the scope and emerg-ing effects (how many people are affected by for e.g. a hur-ricane, what populations are affected based on the new pro-jected path of the hurricane); (3) Data on the outages of adisaster response and missing items to match with the reliefcapacity (how many shelters are in need of food rations, howmuch do they need, how much is in transit, etc); (4) Data toguide the recovery and construction efforts as the crisis nearsthe end (status of homes owned by shelter inhabitants). Al-though the existing disaster management vocabularies havesupport for many disaster management scenarios describedabove, we identified some shortcomings in them. For in-stance, they do not have comprehensive support for in-kinddonations. HXL defines administrative units that may acceptthe donations, and the affected populations that would receivethose donations. However there is no support to specify whatthe donation is, i.e. whether it is money, clothes, food, etc,as well as who is donating it and other logistics related tothe donation. Similarly, MOAC has support for specifyingthe needs of a specific shelter and who is handling what inthe WhoWhatWhere (W3) section of the vocabulary. How-ever, there is nothing to describe data relating to donations.Another shortcoming of these two vocabularies is the lackof support for situational awareness data. As an example, ifsomeone is reporting structural damage to a bridge that mightbe affecting a population, there is no way to link the bridgedata to MOAC and/or HXL.

To address these shortcomings we are in the process offormulating a vocabulary that will tie in these disaster vo-cabularies with other related linked data vocabularies, e.g.Geonames, Semantically Interlinked Online Communities(SIOC)7, etc. Geonames can be used to model geo-locationinformation, and the related population information. SIOCcan be used to tie in information available in microblog postsfrom tweets and Facebook posts after a disaster such as zonesthat people need to evacuate from, new developments in adisaster (e.g. the potential sighting of a looting), donationpledges along with requests for donations, etc.

With the proliferation of linked datasets, developers us-ing App Inventor may want to use these data directly viaApp Inventor components without having to write SPARQLqueries themselves. In order to facilitate this feature, weare in the process of developing “data wrapper” components.These components have built-in SPARQL queries to accessfrequently accessed data, with extended functionality to plug-in custom SPARQL queries to get at more specific data items.With this functionality, we hope not to clutter the App Inven-tor component interface with data items that a majority of appinventor developers may not use while providing the flexibil-ity to retrieve any kind of data the developer desires. As anexample, consider a data wrapper component for the NYCdemographics statistics datasets8. This dataset includes allthe population statistics such as number of males and femalesas well as number of people based on their ethnic categoriza-tion in a given zipcode area. This ethnic categorization in-

7http://sioc-project.org8https://nycopendata.socrata.com/Statistics/Demographic-

Statistics-By-Zip-Code

cludes generic categories such as white, black, hispanic, asianin addition to very specific categories such as pacific islander,asian non-hispanic, white non-hispanic, white hispanic, blacknon-hispanic, black hispanic, etc. The data wrapper wouldexpose the gender based information and the general ethnici-ties in the interface with built-in SPARQL queries that couldjust be dragged and dropped on to the interface, whereas veryspecific queries to obtain information about a particular eth-nicity (for e.g. black hispanic) could be written by the appinventor developer and plugged into the component.

Using linked data within a mobile environment has proveduseful and challenging in other research. David et al. [2010]propose a general framework in order to introduce LinkedData sources as device content in the Android platform;D’Aquin et al. [2010] consume selected data sources andcreate new social link between people in the author’s univer-sity; Razzak et al. [2010] utilize government data to sup-port tourism within the author’s city. However in all theseapproaches the application is domain specific and cannot beextended to be used with different data sources. Extendingthe App Inventor framework with Linked data will allow de-velopers to be able to reuse available linked data sources andto tailor and extend apps to a variety of scenarios.

5 SummaryIn this paper we have demonstrated the effective use ofLinked Data within mobile applications with a special focuson disaster management. As organizations continue to exposetheir data as Linked Open Data, our platform will be ableto help developers using the Linked Data App Inventor plat-form to come up with useful applications quickly and withoutmuch effort to help those in need during disasters.

References[Carroll et al., 2004] Jeremy J. Carroll, Ian Dickinson, Chris

Dollin, Dave Reynolds, Andy Seaborne, and Kevin Wilkinson.Jena: Implementing the semantic web recommendations. In Pro-ceedings of the 13th international World Wide Web conference,pages 74–83, New York, NY, USA, 2004. ACM.

[d’Aquin et al., 2010] Mathieu d’Aquin, Fouad Zablith, and EnricoMotta. wayOU - linked data-based social location tracking in alarge, distributed organisation. 2010.

[David and Euzenat, 2010] Jerome David and Jerome Euzenat.Linked data from your pocket: The android rdfcontentprovider.In ISWC 2010, 2010.

[Fajardo and Oppus, 2010] Jovilyn Therese B. Fajardo and Car-los M. Oppus. A mobile disaster management system using theandroid technology. WSEAS TRANSACTIONS on COMMUNI-CATIONS, 9, June 2010.

[Razzak et al., 2010] Faisal Razzak, Dario Bonino, and FulvioCorno. Mobile interaction with smart environments throughlinked data. In IEEE International Conference on Systems Man.and Cybernetics, 2010.

[Scharffe et al., 2012] Francois Scharffe, Ghislain Atemezing,Raphael Troncy, Fabien Gandon, Serena Villata, BenedicteBucher, Faycal Hamdi, Laurent Bihanic, Gabriel Kepeklian,Franck Cotton, et al. Enabling linked-data publication with thedatalift platform. 2012.