Escolar Documentos
Profissional Documentos
Cultura Documentos
LOGICAL FRAMEWORK
Terje Aaberge
Western Norway Research Institute, Norway
taa@vestforsk.no
ABSTRACT
The paper presents a logical framework for the modelling of context aware systems.
The framework consists of three first order languages that together make it possible to
represent all aspects of such systems and which thus provide a transparent modelling
framework. The framework is constructed for the use in semantic modelling of
context aware systems and models can for most parts easily be implemented in
OWL/SWIRL. In addition to presenting the three languages an account is given on
how to model a system, i.e. how the different elements of a context aware system are
to be represented by the symbolic elements of the languages.
σ ( r ) =D( )
the symbolic model of the domain. 2
The names of the individuals, relations r
between individuals, terms, sentences and relations n σ (n) = N
between these objects are given by the map
p σ ( p ) =P
η : G → M1 ∪ M( ) ;
2
i
d η ( d) = d i
n η (n) = n
( ν ( d) =n) σ ( ν ( d) =n ) =Pν
(10)
i
i ( π (n) =p ) σ ( π ( n ) =p ) =Pπ
( ν ( d) = n ) ( )
η ν ( d) = n = ( d,n ) ( π( ) (n ,n ) =p( ) ) σ ( π( ) (n ,n ) =p( ) )
2
s t
2 2
s t
2
( π( ) (n ,n ) = p( ) )
2
s t
2
( δ ( d) =p ) σ ( δ ( d) =p ) =Pδ
η ( π( ) ( n ,n ) = p( ) ) = ( ( n ,n ) ,p( ) )
2
s t
2
s t
2 (δ( ) (r ) =p( ) ) σ ( δ( ) (r ) =p( ) ) =P
2 2 2 2
δ(2)
( δ ( d) = p ) (
η δ ( d) = p = ( d,p ) ) informally defined by5
(δ( ) (r ) = p( ) ) η(δ( ) (r ) = p( ) )
2 2 2 2 1. Dm, m is an individual
2. D( )m , m is a relation
2
= ( r,p( ) )
2 3. Nm, m is the name of an individual
N( )m , m is the name of a relation
2
4.
where ν ( d) = n denotes relations (arrows: d n) 5. Vm, m is a variable
6. Pm, m is a 1-ary predicate
P( )m , m is a 2-ary predicate
etc. 2
Each observable α determines an atomic 7.
fact about an element of the domain G, 8. Sm, m is a sentence
9. Hm , m is a formula
α:G → Q; g α ( g) (8)
10. Pν m1m2 , m1 is named m2
11. Pπ m1m2 , m2m1 is a sentence
Moreover, for each observable α there exists a 12. P ( 2) m1m2 , m2m1 is a sentence
unique map β defined by the condition of π
commutativity of the diagram 13. Pδ m1m2 , m1 possesses the property
β referred to by m2