Professional Documents
Culture Documents
Sven Windisch
Dr. Lutz Maicher
Sven Windisch, Dr. Lutz Maicher (Topic Maps Lab) September 30, 2010 1/23
Agenda
A Short Example
Sven Windisch, Dr. Lutz Maicher (Topic Maps Lab) September 30, 2010 2/23
Overview
A Short Example
Sven Windisch, Dr. Lutz Maicher (Topic Maps Lab) September 30, 2010 3/23
Definition of facets
Facets are . . .
. . . clearly defined, mutually exclusive, and collectively exhaustive aspects,
properties or characteristics of a specific subject.
Example
Some person has a name, a date of birth and a birthplace. These three
characteristics are mutually exclusive and collectively exhaustive. They are
facets of this person.
Sven Windisch, Dr. Lutz Maicher (Topic Maps Lab) September 30, 2010 4/23
Mathematical Definition
f = (id(t), n, v)
Sven Windisch, Dr. Lutz Maicher (Topic Maps Lab) September 30, 2010 5/23
Famous facet examples
Sven Windisch, Dr. Lutz Maicher (Topic Maps Lab) September 30, 2010 6/23
Facettable Elements of a Topic
Names
I Names are very useful, but need careful spellchecking.
I Special Name types (e.g. Forename, Surname) provide a more concise
classification.
Occurrences
I Occurences with short values are fine for faceting.
I Again, careful spellchecking is necessary.
Sven Windisch, Dr. Lutz Maicher (Topic Maps Lab) September 30, 2010 8/23
Facettable Elements of a Topic
Roles
I A Topic plays a specific Role, or not. Roles can therefore be used as
flag-like facets.
Topic Types
I Types of Topics are useful for distinguishing different kinds of search
results.
Sven Windisch, Dr. Lutz Maicher (Topic Maps Lab) September 30, 2010 9/23
Sven Windisch, Dr. Lutz Maicher (Topic Maps Lab) September 30, 2010 10/23
Don’t they come automagically?
Sven Windisch, Dr. Lutz Maicher (Topic Maps Lab) September 30, 2010 11/23
Overview
A Short Example
Sven Windisch, Dr. Lutz Maicher (Topic Maps Lab) September 30, 2010 12/23
Why TMQL?
Definition
A path expression represents a sequence of navigation steps through the
abstract bidirectional graph of a Topic Map. Starting from given values (atoms
or items in a Topic Map), navigation steps along defined axes within the
context map compute new values.
Sven Windisch, Dr. Lutz Maicher (Topic Maps Lab) September 30, 2010 13/23
How to Define a Facet
Any facet definition resembles a simple path expression with the following
limitations
I The starting element must be a Topic that serves as Topic type for other
Topics.
I The possible result values are restricted to strings, because the names
and values of facets must be human readable.
The given Topic type identifier is replaced with the respective identifier of one
of the instances. The TMQL expression is then executed and the result is
stored as the facets value.
Sven Windisch, Dr. Lutz Maicher (Topic Maps Lab) September 30, 2010 14/23
Overview
A Short Example
Sven Windisch, Dr. Lutz Maicher (Topic Maps Lab) September 30, 2010 15/23
Example Topic Map
Sven Windisch, Dr. Lutz Maicher (Topic Maps Lab) September 30, 2010 16/23
Navigating the Topic Map
http://psi.example.com/person
>> traverse http://psi.example.com/mailing-address
>> traverse http://psi.example.com/container-containee-address
>> characteristics tm:name
Sven Windisch, Dr. Lutz Maicher (Topic Maps Lab) September 30, 2010 17/23
Navigating the Topic Map
http://psi.example.com/person
>> traverse http://psi.example.com/mailing-address
>> traverse http://psi.example.com/container-containee-address
>> characteristics tm:name
Sven Windisch, Dr. Lutz Maicher (Topic Maps Lab) September 30, 2010 18/23
Navigating the Topic Map
http://psi.example.com/person
>> traverse http://psi.example.com/mailing-address
>> traverse http://psi.example.com/container-containee-address
>> characteristics tm:name
Sven Windisch, Dr. Lutz Maicher (Topic Maps Lab) September 30, 2010 19/23
Navigating the Topic Map
http://psi.example.com/person
>> traverse http://psi.example.com/mailing-address
>> traverse http://psi.example.com/container-containee-address
>> characteristics tm:name
Sven Windisch, Dr. Lutz Maicher (Topic Maps Lab) September 30, 2010 20/23
From TMQL to Facets in Three Simple Steps
http://psi.example.com/person
>> traverse http://psi.example.com/mailing-address
>> traverse http://psi.example.com/container-containee-address
>> characteristics tm:name
I http://psi.example.com/person is replaced by
http://psi.example.com/Sven_Windisch
I The given query is executed, the result is Leipzig
I A new facet is created:
(http://psi.example.com/Sven_Windisch, Office Location, Leipzig)
Sven Windisch, Dr. Lutz Maicher (Topic Maps Lab) September 30, 2010 21/23
Overview
A Short Example
Sven Windisch, Dr. Lutz Maicher (Topic Maps Lab) September 30, 2010 22/23
Conclusions
I Domain-specific facets are useful wherever facets must link deeper.
I TMQL does a wonderful job for defining domain-specific facets.
I Defining domain-specific facets is easy.
I The used Topic Map must be well modeled and spellchecked.
Outlook
I Release: Maiana prototype in October, complete search engine at the
end of 2010
Sven Windisch, Dr. Lutz Maicher (Topic Maps Lab) September 30, 2010 23/23