The PRISSMA Vocabulary v2

Namespace Document 10 April 2013

This version:
http://ns.inria.fr/prissma/v2/ (rdf)
Latest version:
http://ns.inria.fr/prissma (rdf)
Previous version:
http://ns.inria.fr/prissma/v1/ (rdf)
Author:
Luca Costabello (Inria, WIMMICS Team)
Advisors:
Fabien gandon (Inria, WIMMICS Team),
Ivan Herman (W3C/CWI)

Valid XHTML + RDFa Creative Commons License This work is licensed under a Creative Commons Attribution License. This copyright applies to the PRISSMA Vocabulary Specification and accompanying documentation in RDF. Regarding underlying technology, the PRISSMA Vocabulary uses W3C's RDF technology, an open Web standard that can be freely used by anyone.


Abstract

The PRISSMA ontology (Presentation of Resources for Interoperable Semantic and Shareable Mobile Adaptability) is a domain-independent vocabulary for displaying Web of Data resources in mobile environments. It consists in a lightweight ontology for describing context conditions in a declarative style. The vocabulary describes the context conditions in which a given set of Fresnel declarations must be activated.

The PRISSMA ontology is used by the PRISSMA adaptive presentation-level framework.

The PRISSMA Vocabulary at a glance

What follows is the vocabulary schematic representation. Grey boxes represent core PRISSMA classes.

The prissma ontology.

What's the PRISSMA Vocabulary for?

PRISSMA vocabulary provides classes and properties to model core mobile context concepts useful for dynamic adaptation of user interfaces for RDF data. PRISSMA models the context of usage of each Fresnel Lens or Format by modeling different dimensions: the user eho requested the resource, the device features on which the resource will be displayed and the surrounding physical environment.

The PRISSMA ontology is used by the PRISSMA adaptive presentation-level framework.

Background

Classic mobile web experience suggests that the same information is not meant to be represented in the same way on all devices. Context-awareness research underlines the influence of the surrounding environment on data presentation. The same principles and best practices apply to RDF resources representation in mobile environments.

Works such as Fresnel focus on the representation of RDF resources. Fresnel is a presentation vocabulary for displaying RDF data. It specifies what information show and how to format it. Designed for static environments, Fresnel core vocabulary does not specify under which conditions provide a given RDF data representation. The Adaptation of RDF data to context is therefore left to the application logic, i.e. sharing and re-using contextual conditions for RDF presentation is not possible.

The PRISSMA Vocabulary Description

This specification serves as the PRISSMA Vocabulary "namespace document". The PRISSMA vocabulary is an extension of the Fresnel presentation ontology and specifies when (i.e. in which mobile context) Fresnel Lenses and Formats must be selected. In the original Fresnel vocabulary the class fresnel:Purpose determines the choice of lenses in conflicting situations, i.e. when more than one lens applies. PRISSMA vocabulary extends the semantics of fresnel:Purpose to delegate the selection of Lenses and Formats to a broader and more expressive definition of mobile context, modeled by the concept of prissma:Prism.

We extend the W3C Model-Based User Interface Incubator Group proposal where mobile context is described as an encompassing term, an information space defined as the sum of three main axis: the mobile User model, the Device features and the Environment in which the action is performed. PRISSMA represents the user model with the class prissma:User, the device features with prissma:Device and the environment with prissma:Environment.

In the light of the Web of Data philosophy, PRISSMA does not provide an exhaustive set of context classes and properties. Instead, it delegates extensions to domain specialists who can adapt the vocabulary to their needs.

Further details can be found in DC Proposal: PRISSMA, Towards Mobile Adaptive Presentation of the Web of Data.

Examples

The following examples show how the PRISSMA Vocabulary is used to model context declaration that determine when fresnel lenses and formats must be selected.

The first Prism models a “geek” user in a location (library) with a given latitude, longitude and radius:

@prefix : <http://example.org#> .
@prefix prissma: <http://ns.inria.fr/prissma/v1#> .
@prefix fresnel: <http://www.w3.org/2004/09/fresnel#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> .

:samplePrism1 a prissma:Prism;
    fresnel:purpose :geekAtLibraryCtx.
                            
:geekAtLibraryCtx a prissma:Context;
    prissma:user :geek; 
    prissma:environment :library.
    
:geek a prissma:User;
    foaf:interest "computer programming",
    <http://dbpedia.org/resource/Star_Trek>.

:library a prissma:Environment;
    prissma:currentPOI [
	   geo:lat "45.43463";
           geo:long "7.843435";
           prissma:radius "200"].
  

The example below represents a user interested in computer science using an android device:

@prefix : <http://example.org#> .
@prefix prissma: <http://ns.inria.fr/prissma/v1#> .
@prefix fresnel: <http://www.w3.org/2004/09/fresnel#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix soft: <http://www.w3.org/2007/uwa/context/software.owl#> .
@prefix common: <http://www.w3.org/2007/uwa/context/common.owl#> .

:samplePrism2 a prissma:Prism;
    fresnel:purpose :nerdAndroidCtx.
                            
:geekAndroidMorningCtx a prissma:Context;
    prissma:user :nerd;
    prissma:device :androidJellyBean;  

:nerd a prissma:User;
    foaf:interest "computer science".

:androidJellyBean a prissma:Device;
    soft:operatingSystem [
      common:name "Android 4.2.2".].

The PRISSMA Vocabulary cross-reference: Listing the PRISSMA Vocabulary Classes and Properties

An a-z index of PRISSMA Vocabulary terms, by class (categories or types) and by property.

Classes: | Activity | Context | Device | Environment | POI | Prism | User |

Properties: | currentPOI | device | environment | motion | nearbyEntity | poiCategory | poiLabel | radius | user |


Classes

Class: prissma:Context

Context - The Context class is represents the mobile context and is equivalent to a fresnel:Purpose
Status: stable
Properties include: user environment device

[#] [back to top]


Class: prissma:Device

Device - The Device represents the mobile device on which Web of Data resource consumption takes place. It enables device-specific data representation. It is equivalent to the Device class of the delivery context ontology
Status: stable
Used with: device

[#] [back to top]


Class: prissma:Environment

Environment - The class Environment models the user context in which the resource consumption takes place, therefore enabling customized resource presentation according to specific situations.
Status: stable
Properties include: nearbyEntity motion currentPOI
Used with: environment

[#] [back to top]


Class: prissma:POI

POI - The class models a Point of Interest (POI) and consists in a simplified version of W3C Point of Interest Core specifications. POIs are defined as entities that "describe information about locations such as name, category, unique identifier, or civic address".
Status: stable
Properties include: radius poiCategory poiLabel
Used with: currentPOI
Sub class of geo:SpatialThing

[#] [back to top]


Class: prissma:Prism

Prism - Wrapper class for describing the contextual conditions under which a given RDF presentation must be activated.
Status: stable

[#] [back to top]


Class: prissma:User

User - Represents the target mobile user associated to a prissma:Context. To provide more flexibility, the class can be used to model both user stereotypes and specific users, according to the designer needs. The class is equivalent to foaf:Person
Status: stable
Used with: user

[#] [back to top]


Class: prissma:Activity

Activity - The Activity class consists in a placemark aimed at modeling a high-level representation of an user action, such as 'running', 'driving', 'working', 'shopping', etc.
Status: testing

[#] [back to top]


Properties

Property: prissma:currentPOI

currentPOI - The property associates a POI to a prissma:Environment
Status: stable
Domain: Environment
Range: POI

[#] [back to top]


Property: prissma:device

device - The property associates a Device to a Purpose
Status: stable
Domain: Context
Range: Device

[#] [back to top]


Property: prissma:environment

environment - The property associates an Environment to a Purpose
Status: stable
Domain: Context
Range: Environment

[#] [back to top]


Property: prissma:poiCategory

poiCategory - Associates a category to a POI (e.g. monument, restaurant, etc.)
Status: stable
Domain: POI

[#] [back to top]


Property: prissma:poiLabel

poiLabel - Associates an identifying resource to a POI (e.g. a given monument, a specific restaurant, etc.)
Status: stable
Domain: POI

[#] [back to top]


Property: prissma:radius

radius - Specifies the geographic extension of a POI. Value is expressed in metres.
Status: stable
Domain: POI
Range: xsd:nonNegativeInteger

[#] [back to top]


Property: prissma:user

user - The property associates a User to a Purpose
Status: stable
Domain: Context
Range: User

[#] [back to top]


Property: prissma:motion

motion - Associates any given high-level representation of motion to a prissma:Environment
Status: testing
Domain: Environment

[#] [back to top]


Property: prissma:nearbyEntity

nearbyObject - The environmental proximity of a generic real-world entity can trigger different resource representations. The property is therefore used to associate nearby objects to the Environment model.
Status: testing
Domain: Environment
Range: owl:Thing

[#] [back to top]


External Vocabulary References

Classes
fresnel:Purpose, fresnel:Lens, fresnel:Format, fresnel:Group, foaf:Person, geo:SpatialThing, time:Interval, geo:Point, dcn:Device.
Properties
fresnel:purpose, fresnel:group, ao:activity, ao:time, tl:start, tl:duration, geo:lat, geo:long.