Skip to content

felixmueller/mobile-context-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mobile Context Framework

The progressive spreading of wireless networks and increasingly powerful mobile computers creates a big potential for a wide spectrum of innovative applications. Context-aware applications adapt the circumstances of the user's current situation which enables new and intelligent user interfaces. Nevertheless, the sheer diversity of exploitable contexts and the plethora of sensing technologies are actually working against the deployment of context-aware systems. A framework for context retrieval should enable the development of context-aware applications without considering details of context acquisition and context management. Moreover, exchange and reusability of context information should be allowed between applications and users.

The Mobile Context Framework tries to solve the described issues. It consists of three components:

The Mobile Context Server

Installation notes

The Mobile Context Server consists of a Sinatra Web application and a sample-ontology containing the context information. Here is how to set everything up:

1. Set up the semantic triple store

The hosting of the context model requires a running instance of the OpenRDF Sesame semantic triple store containing the ontology.

  1. Download the OpenRDF Sesame Web application here.
  2. Set it up following the instructions.
  3. Navigate to the workbench (i.e. http://yourhostname/openrdf-workbench/) and add a new repository for storing the contexts.
  4. Add the sample ontology file to the created repository.

2. Set up the Web application

The Sinatra Web application needs to be hosted by a hosting service providing Sinatra support. Heroku for example offers free Sinatra hosting for small Web apps.

  1. Download or checkout the source files of this project.
  2. Enter the proper URL of your triple store server and repository name in the file lib/sesameAdapter.rb.
  3. Set up the Web application by following the provider's instructions (for Heroku, see here).

The Mobile Context Server should now be ready. See step 3 for customization.

3. Customization

To add or modify context information, you can simply edit the ontology hosted by the triple store. I recommended the Protégé Ontology Editor for editing the OWL file. Examples for adding contexts are shown in this YouTube video.

Copyright (c) 2010 Felix Mueller, released under the MIT license

About

Mobile Context Framework - Context Server Webapp

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages