TNTBase – a Versioned Database for XML (Mathematical) Documents
1. TNTBase – a Versioned Database for XML
(Mathematical) Documents
Content Math Training Camp 2010
Christoph Lange, Vyacheslav Zholudev
Jacobs University, Bremen, Germany
KWARC – Knowledge Adaptation and Reasoning for Content
July 07, 2010
Lange/Zholudev (Jacobs) TNTBase – a Versioned Database for XML (Mathematical) Documents
July 07, 2010 1/8
2. TNTBase – a Versioned XML Database
http://tntbase.org – combines
Versioning as in Subversion
Fine-grained XML access as in Oracle Berkeley DB XML
. . . plus:
Virtual documents (= views on XML)
Plugin API for validation, presentation, etc.
RESTful HTTP interface for accessing functionality
‘‘File manager’’ GUI
Lange/Zholudev (Jacobs) TNTBase – a Versioned Database for XML (Mathematical) Documents
July 07, 2010 2/8
3. TNTBase – File Manager Interface
Lange/Zholudev (Jacobs) TNTBase – a Versioned Database for XML (Mathematical) Documents
July 07, 2010 3/8
4. TNTBase – Virtual Document Workflow
Lange/Zholudev (Jacobs) TNTBase – a Versioned Database for XML (Mathematical) Documents
July 07, 2010 4/8
5. TNTBase – Extension Towards a Specific Format
TNTBase TNTBase (F)
Web Application
Web Application
F-specific layer
XML-layer
XML-layer
xSVN xSVN
XML XML(F)
Lange/Zholudev (Jacobs) TNTBase – a Versioned Database for XML (Mathematical) Documents
July 07, 2010 5/8
6. TNTBase – Plugin API and RESTful Interface
Lange/Zholudev (Jacobs) TNTBase – a Versioned Database for XML (Mathematical) Documents
July 07, 2010 6/8
7. TNTBase + JOMDoc + JOBAD Integrated
(JOMDoc rendering XHTML+MathML+RDFa, JOBAD providing
definition lookup and semantic navigation)
Lange/Zholudev (Jacobs) TNTBase – a Versioned Database for XML (Mathematical) Documents
July 07, 2010 7/8
8. Conclusion
Content Math markup is often XML in versioned repositories ⇒
TNTBase core handles that well
There is not just one language (OMDoc, MathDox, OpenMath
CDs, etc.) – be flexible w. r. t. schema
Different languages require different validation and
presentation ⇒ plugin API
Alternative: put higher-level functionality on top, not into
TNTBase (→ MKM talk on Thursday: ‘‘MKM in the large’’)
Try it (Debian package available): http://tntbase.org
Lange/Zholudev (Jacobs) TNTBase – a Versioned Database for XML (Mathematical) Documents
July 07, 2010 8/8