Implementing TMQL For Teaching: The Straightforward Approach With Emphasis On Understandability and Modularity
Implementing TMQL For Teaching: The Straightforward Approach With Emphasis On Understandability and Modularity
Benjamin Bock, Sven Krosse {bock,krosse}@informatik.uni-leipzig.de, Topic Maps Lab, University of Leipzig
exploit experience
programming-only and leverage knowledge
Learn TMDM background tolog
databases or
XML background TMAPI Toma
SQL XPATH
use transformations
FLWR
RTM-TMQL Toma2TMQL tolog2TMQL
simple != simple
prefer words? prefer symbols?
They got something simple, but from another
perspective: The inner structure of the query
language is organized and generalized to a heavy NCL or (another
extend, to make the grammar simple and uniform CL or (new) NCL
new) NCL
and remove exceptions. They got something simple,
but not what they expected.
Theses two perspectives for simple need to be
matched to satisfy all stakeholders. The theoretical transform all to a
simplicity of the inner workings of the language must common Canonical Level
be brought to the top - both in terms of readable
syntax on the technical side and educational effort The parse tree is your friend
on the human side. Special non-canonical levels Some queries are hard to
which can be added to our existing implementation understand – no matter how fitting
in a modular way can be used to better fit the the style of the language used may
needs. be.
The parse explains a query
by displaying its parts
hierarchically.
It also shows optimizations done.
Montag, 9. November 2009