Ontology-driven User Interfaces

farmpaintlickInternet και Εφαρμογές Web

21 Οκτ 2013 (πριν από 4 χρόνια και 19 μέρες)

80 εμφανίσεις

Ontology
-
driven User Interfaces

CSIRO LAND AND WATER | ENVIRONMENTAL INFORMATION SYSTEMS

Jonathan Yu
|
Research software engineer | 21 June 2013

Jonathan

Tech Session:
Ontology
-
driven
User Interfaces

Ontology

EIS

CLW

CSIRO

Person

Semantic
Web

Organisation

Activity

Research
Software
Engineer

Role

Topic

User
interface
design

Overview (Semantic view)

Jonathan

Tech Session:
Ontology
-
driven
User Interfaces

Ontology

EIS

CLW

CSIRO

Person

Semantic
Web

Organisation

Activity

Role

Topic

is
-
a

is
-
a

is
-
a

is
-
a

part
-
of

part
-
of

is
-
a

hosts

presenter

is
-
a

is
-
a

is
-
a

related to

related to

User
interface
design

works as

interest

interest

is
-
a

works in

Research
Software
Engineer

Overview

Problem


Recap of ontologies and semantic web


User interfaces: Rich Internet Applications


Ontology
-
driven user interfaces


Presentation title | Presenter name

3

|

Problem


NetCDF

header example

float
DetR_N
(record,
k_centre
,
j_centre
,
i_centre
) ;



DetR_N:tracer

= "true" ;



DetR_N:coordinates

= "t,
x_centre
,
y_centre
,
z_centre
" ;



DetR_N:units

= "mg N m
-
3" ;



DetR_N:type

= 4 ;

float
Chl_MIM
(time, latitude, longitude) ;


Chl_MIM:_FillValue

=
-
999.f ;


Chl_MIM:long_name

= "Chlorophyll concentration, MIM
SVDC on
Rrs
" ;


Chl_MIM:units

= "
ug
/l" ;

Try to interpret these
NetCDF

metadata headers...

Problem


WDTF XML example

Presentation title | Presenter name

5

|

<
wdtf:result
>


<
wdtf:TimeSeries
>



<
wdtf:defaultInterpolationType
>
InstVal
</
wdtf:defaultInterpolationType
>

<
wdtf:defaultUnitsOfMeasure
>
ML
</
wdtf:defaultUnitsOfMeasure
>

<
wdtf:defaultQuality
>
quality
-
A
</
wdtf:defaultQuality
>



<
wdtf:timeValuePair

time=
"2009
-
03
-
11T01:29:35+10:00“
>



232.2643


</
wdtf:timeValuePair
>


</
wdtf:TimeSeries
>


</
wdtf:result
>


Try to interpret this...

Problem

Semantics (meaning) are often kept implicit in syntax or in heads of
people and can result in inconsistency, ambiguity, errors in the
documentation, data, and software produced





Solution

Formalise

semantics explicitly


Build tools to support its use in documentation, annotation of
datasets, and software engineering activities





Ontologies enable specification of semantics


concepts

(classes and
instances)



the relationships
between concepts



set of logical
assertions that apply

Presentation title | Presenter name

7

|

Formalising ontologies as explicit
artifacts

Provides:


context and the ability to precisely reference meaning


shared understanding of the semantics used between stakeholders


ability to leverage logics
-
based reasoning and querying


bind to / reuse of growing list of public ontologies


Using RDF
-
based ontology languages and vocabularies allow


Machine readable


Collection of truth statements and propositions


Draw inferences or possible states


“Web enabled”


RDF
-
based ontology languages are part of the semantic web stack


8

|

The semantic web

‘Status quo’ web : web of documents






The semantic web: web of data



Performing event detection over real
-
time sensor data using ontology
-
driven approaches | Jonathan Yu

9

|

<a
href
...>

<a
href
...>

<a
href
...>

<a
href
...>

<a
href
...>

<a
href
...>

Melbourne

Australia

gn:parentCountry

Victoria

gn:parentFeature

gn:parentCountry


-
37.814”

“144.96332”

pos:lat

pos:long

Uses of RDF
-
based ontologies/vocabularies:

Knowledge representation

Some uses on the
producer

side...


1. Use ontologies to perform semantic annotation of datasets.


E.g.
ML
refers to the unit of measure,
MegaLitres



2. Representing domain knowledge


e.g. Hydrological concepts
-

flow, rainfall


3. Promote consistency in your application


E.g. Black Mountain is a geospatial feature located in Canberra,
not the class of black coloured mountains


Presentation title | Presenter name

10

|

Uses of RDF
-
based ontologies/vocabularies:

Driving software applications and services

Some uses on the
consumer

side


1. Data Discovery and semantic search


2. Driving user interfaces



Have been doing this in some projects in varying degrees:

eReefs
, WDTS, Tools and Docs, SIRF,
Geofabric




Presentation title | Presenter name

11

|

The “www” today

Presentation title | Presenter name

12

|

Web

Web

Server

Application
Server

Web Apps

Humans

Computers /

Machines

------

------

XML / JSON / RDF

NetCDF

/ SHP / etc.

HTML, AJAX, RIA

Web Applications: Modern UI Development

Modern web UI development for Rich Internet Applications (RIA)


HTML, XHTML, XML, CSS


PHP, JSP,
Javascript


AJAX components


Frameworks for developing modern web applications


Javascript
:
jQuery
, Dojo


Python:
Django
, web2py


Microsoft : Visual C# / ASP.NET


Java
-

JavaServer

Faces based (JSF):
RichFaces
,
ICEfaces

MyFaces
, ADF Faces


Frameworks for generating RIA


Google Web Toolkit


Vaadin


Pyjamas






Presentation title | Presenter name

13

|

Ontology
-
driven UI


Some powerful ontology libraries available:


Ontology APIs, e.g. OWL
-
API, Jena


Semantic inference engines, e.g. Pellet


Rules engine, e.g. SPIN


SPARQL querying, e.g. Jena ARQ



Not immediately usable by common web application frameworks



Developed some wrappers using GWT to provide access to these
libraries


https://github.com/jyucsiro/gwt
-
ontology
-
lib



Demonstrate what is possible with ontology
-
driven UIs


Presentation title | Presenter name

14

|

Ontology
-
driven UI using GWT Ontology Lib

Presentation title | Presenter name

15

|

OWL
-
api

Apache

Jena

Pellet

SPARQL

Inferences

SPIN

Queries

Rules

OWL / RDF Interfaces

Web UI Framework: GWT

(List boxes,
portlets
, trees, layouts, etc.)

Humans

HTML, AJAX, RIA

Web application server

RDF documents
and triple stores

Examples using GWT Ontology Library


Presentation title | Presenter name

16

|

LAND AND WATER

Thank you

Land and Water

Jonathan Yu

Research Software
Engineer

t

+61 3 9252 6440

e

jonathan.yu@csiro.au

w

www.csiro.au/clw