+ All Categories
Home > Technology > Priamos: A Middleware Architecture for Real-Time Semantic Annotation of Context Features

Priamos: A Middleware Architecture for Real-Time Semantic Annotation of Context Features

Date post: 01-Nov-2014
Category:
Upload: nikolaos-konstantinou
View: 267 times
Download: 0 times
Share this document with a friend
Description:
This paper proposes a middleware architecture for the automated, real-time, unsupervised annotation of low-level context features and their mapping to high-level semantics. The distinguishing characteristic of this architecture is that both low level components such as sensors, feature extraction algorithms and data sources, and high level components such as application-specific ontologies are pluggable to the middleware architecture thus facilitating application development and system configuration to different real-world scenarios. A prototype implementation based on Semantic Web tools is presented in depth, while the benefits and drawbacks of this approach are underlined. We argue that the use of Semantic Web provides powerful answers to context awareness challenges. Furthermore, it enables the composition of simple rules through human-centric interfaces, which may launch a context-aware system that will annotate content without the need for user technical expertise. A test case of system operation in a laboratory environment is presented. Emphasis is given, along with the theoretical justification, to practical issues that arise in real-world scenarios.
Popular Tags:
15
“PRIAMOS: A Middleware Architecture for Real-time Semantic Annotation of Context Features” – IE07, Ulm University, Germany Priamos: A Middleware Architecture for Real- time Semantic Annotation of Context Features Nikolaos Konstantinou, Emmanuel Solidakis, Stavroula Zoi, Anastasios Zafeiropoulos, Panagiotis Stathopoulos, Nikolas Mitrou National Technical University of Athens ECE Faculty, Computer Network Laboratory
Transcript
Page 1: Priamos: A Middleware Architecture for Real-Time Semantic Annotation of Context Features

“PRIAMOS: A Middleware Architecture for Real-time Semantic Annotation of Context Features” – IE07, Ulm University, Germany

Priamos: A Middleware Architecture for Real-time Semantic Annotation of Context Features

Nikolaos Konstantinou, Emmanuel Solidakis, Stavroula Zoi, Anastasios Zafeiropoulos, Panagiotis Stathopoulos, Nikolas Mitrou

National Technical University of AthensECE Faculty, Computer Network Laboratory

Page 2: Priamos: A Middleware Architecture for Real-Time Semantic Annotation of Context Features

“PRIAMOS: A Middleware Architecture for Real-time Semantic Annotation of Context Features” – IE07, Ulm University, Germany

• Introduction

• Related Work

• Priamos Architecture

• Priamos Modules

• Users – Hierarchy

• Test Case Scenario

• Performance Measurements

Outline

Page 3: Priamos: A Middleware Architecture for Real-Time Semantic Annotation of Context Features

“PRIAMOS: A Middleware Architecture for Real-time Semantic Annotation of Context Features” – IE07, Ulm University, Germany

Introduction

• The basic concept of the Semantic Web is content annotation– Time-Consuming task– Considered to be loss of resources in terms of time and money– Reuse of information is troublesome– Annotation easily becomes out-of-date

• Context means situational information (time, location, ongoing activities)

– A system is context-aware if it can extract, interpret and use context information and adapt its functionality to the current context of use

– One of the most challenging issues of context aware applications is the inclusion of intelligence while processing the incoming information and deducting meaning

Page 4: Priamos: A Middleware Architecture for Real-Time Semantic Annotation of Context Features

“PRIAMOS: A Middleware Architecture for Real-time Semantic Annotation of Context Features” – IE07, Ulm University, Germany

Related Work

• Manual annotation (Vannotea, M-Ontomat Annotizer, COHSE, SMORE)• Supervised automated annotation (Mnm, Melita)• Unsupervised automated annotation (Armadillo, KnowItAll, SmartWeb)• Pattern-based and rule-based approaches

– Cafetiere (rule-based system for generating XML annotations )

– Ponder, Context Toolkit, HP’s CoolTown, Intelligent Room (do not use a formal model to represent context information)

– CHIL, KaOS, Rei (limited to specific ontologies)

Semantic Annotation

Manual AnnotationAutomated Annotation

User-centeredPattern- and rule-

centered

Supervised Unsupervised

Page 5: Priamos: A Middleware Architecture for Real-Time Semantic Annotation of Context Features

“PRIAMOS: A Middleware Architecture for Real-time Semantic Annotation of Context Features” – IE07, Ulm University, Germany

Application

Ontology models

Web Service Clent 1

Tracker 1 Tracker 2 Tracker 3

KnowledgeBase

C C

V

C

Context Sensors

Web Service Clent 2

Web Service Clent 3

Sensor 1 Sensor 2 Sensor 3

MiddlewareCore Functions

Mapping Rules

Semantic Rules

AdministrationConsole

Reasoning services

Priamos Architecture

• Priamos focuses mostly in providing a middleware environment that does not restrict the users or developers to specific predefined vocabularies for a world model description or a message syntax among the various pluggable components. Emphasis is given in offering an architecture that is independent of ontologies and sensors while in the same time adopts a common formal representation of context and facilitates application development.

• The Priamos middleware architecture comprises a set of core reusable distributed components for the automated, real-time annotation oflow-level context features and their mapping to high-level semantics.

• The main idea is to launch a procedure that annotates contextual information upon its appearance by using specific sets of rules. The resulting Knowledge Base reflects a spherical perception of the world model.

Page 6: Priamos: A Middleware Architecture for Real-Time Semantic Annotation of Context Features

“PRIAMOS: A Middleware Architecture for Real-time Semantic Annotation of Context Features” – IE07, Ulm University, Germany

Mappingrules Semantic

rules

Ontology Persistent model

<XML Message /> Ontology model Reasoning ServerTrackerSensor

RawData

RealWorldEvent

FeatureExtractionAlgorithms

Message Processing Cycle

Page 7: Priamos: A Middleware Architecture for Real-Time Semantic Annotation of Context Features

“PRIAMOS: A Middleware Architecture for Real-time Semantic Annotation of Context Features” – IE07, Ulm University, Germany

• Web Service Interfacing Module– Messages expressed in any arbitrary well-formed XML document

• Message Templates– The received messages can conform to any specifications we

might choose

• Ontology Models– The database model is stored using Jena internal graph engine.

• Rules

Software Modules

Page 8: Priamos: A Middleware Architecture for Real-Time Semantic Annotation of Context Features

“PRIAMOS: A Middleware Architecture for Real-time Semantic Annotation of Context Features” – IE07, Ulm University, Germany

• Trackers– They are the first ones to process raw data– Apply special algorithms and techniques to the signal captured by the

sensors• Ontology Manager• Message Template Manager• Message to Ontology Mapper• Semantic Rule Composition• Action Manager

– Send Sms– Send Email– Send Web Service Message– Voice Message– Run an external Application

Application Description

Page 9: Priamos: A Middleware Architecture for Real-Time Semantic Annotation of Context Features

“PRIAMOS: A Middleware Architecture for Real-time Semantic Annotation of Context Features” – IE07, Ulm University, Germany

Message to Ontology Mapper

IF

EXISTSHAS

VALUEHAS

SIBLINGS

> , <>= , <== , !=

XML ELEMENT

AND

INSERT INDIVIDUAL IN CLASS

Class

AND ASSIGN VALUE TO DATATYPE PROPERTY

Datatype Property

XML ELEMENT

SAVE

Insert Value Insert Value

THEN

Page 10: Priamos: A Middleware Architecture for Real-Time Semantic Annotation of Context Features

“PRIAMOS: A Middleware Architecture for Real-time Semantic Annotation of Context Features” – IE07, Ulm University, Germany

Semantic Rule Composition

IF

CLASS HAS INDIVIDUALS

NUMBER OFINDIVIDUALS

IN CLASS

DATATYPEPROPERTY HAS VALUE

> , <>= , <== , !=

Insert Value

AND

SAVE

> , <>= , <== , !=

Insert Value

EXECUTE AN APPLICATION

INSERT INDIVIDUAL IN CLASS

SEND WEB SERVICE

MESSAGESEND SMS SEND EMAIL

Select Application

Insert Text and recipient number

Set Message

Parameters

ClassSet Email

Parameters

THEN

Page 11: Priamos: A Middleware Architecture for Real-Time Semantic Annotation of Context Features

“PRIAMOS: A Middleware Architecture for Real-time Semantic Annotation of Context Features” – IE07, Ulm University, Germany

• Middleware Maintainers– Domain Expert who defines the mapping rules from the incoming messages to the

ontology concepts– Keeps in mind to fully cover the the developers’ needs

• Application Developers– Exploits the core middleware functionality– Can plug an ontology, form semantic rules on the ontology, define the actions that can

be taken• System Administrators

– Has the overall supervision of the system’s functions– Can configure the system for different operations– Can define features of interest to be captured (e.g. when a security alert should be

triggered)• End Users

– They are not familiar with the technology– Monitor a system operation session (e.g. a guardian in a security-surveillance scenario)– Receive automated notifications in form of a sound, an email, a call, an alert in general

(e.g. a security guard who receives alerts in his mobile)

Priamos Users

Page 12: Priamos: A Middleware Architecture for Real-Time Semantic Annotation of Context Features

“PRIAMOS: A Middleware Architecture for Real-time Semantic Annotation of Context Features” – IE07, Ulm University, Germany

Offline SearchReal-Time

Decision MakingPriamos

ConfigurationloadOntology

Ontology Browsing, Editing

Priamos Installation

APPLICATIONDEVELOPERS

SYSTEM ADMINISTRATOR

TurnOnPriamosMiddleware

TurnOnTracker (FaceTracker)

CameraZoom (Camera1)

SendEmail, SoundAlert, SendSMS, …

END USERS

MIDDLEWAREMAINTAINERS

TurnOffTracker (FaceTracker)

Add/remove MessageTemplate Add/remove MappingRulegetMappingRules

Alert!

TurnOffPriamosMiddleware

getActions

askOntology (Query)

Add/remove SemanticRulesgetSemanticRulessetActionsgetActions

The Priamos API

Page 13: Priamos: A Middleware Architecture for Real-Time Semantic Annotation of Context Features

“PRIAMOS: A Middleware Architecture for Real-time Semantic Annotation of Context Features” – IE07, Ulm University, Germany

Smart Room Scenario

• Lab Environment – A camera is monitoring the room• Face Tracker using 2 algorithms:

- Viola Jones for face detection- Camsift algorithm for face tracking

• Produced Message <Event id="5712"> <Tracker type="FaceTracker"> <DataSource id="3" name="CeilingCamera" url="seq_000077" /> <person id="1" certainty="100"> <location2d datasourceId="3" x="429" y="46" /> </person> </Tracker> </Event>

• Mapping Rule if exists /Event/Tracker/Datasource/Person then insertIndividualIn(Persons)

• Semantic Rule if hasIndividuals(Persons) then turn on the lights / send an email

Page 14: Priamos: A Middleware Architecture for Real-Time Semantic Annotation of Context Features

“PRIAMOS: A Middleware Architecture for Real-time Semantic Annotation of Context Features” – IE07, Ulm University, Germany

Performance Measurements

Page 15: Priamos: A Middleware Architecture for Real-Time Semantic Annotation of Context Features

“PRIAMOS: A Middleware Architecture for Real-time Semantic Annotation of Context Features” – IE07, Ulm University, Germany

• Maintenance Scheduling (Buffer Database, Replication)• Use of Semantic Web Services• Enhance the Semantic and Mapping Rules• Probabilistic Processing of information• Offline Semantic Search

Future Work


Recommended