Skip to content
Surf Wiki
Save to docs
technology/databases

From Surf Wiki (app.surf) — the open knowledge base

BaseX

XML database management and query system


XML database management and query system

FieldValue
nameBaseX
authorChristian Grün
logoBaseX-logo-small-transparent.png
screenshotScreenshot BaseX 9.0.png
captionBaseX GUI showing an XML document in various visualizations
genreXML database
programming languageJava
platformJava SE
licenseBSD-3-Clause
released2007
latest release version12.1
latest release date
website
languageEnglish, Dutch, French, German, Hungarian, Indonesian, Italian, Japanese, Mongolian, Romanian, Russian, Spanish

BaseX is a native and light-weight XML database management system and XQuery processor, developed as a community project on GitHub. It is specialized in storing, querying, and visualizing large XML documents and collections. BaseX is platform-independent and distributed under the BSD-3-Clause license.

In contrast to other document-oriented databases, XML databases provide support for standardized query languages such as XPath and XQuery. BaseX is highly conformant to World Wide Web Consortium (W3C) specifications and the official Update and Full Text extensions. The included GUI enables users to interactively search, explore and analyze their data, and evaluate XPath/XQuery expressions in realtime (i.e., while the user types).

Technologies

  • XPath query language
  • XQuery 3.1
    • XQuery Update (W3C)
    • XQuery Full Text (W3C)
  • Support for most EXPath/EXQuery modules and packaging system
  • Client-Server architecture with user and transaction management and logging facilities
  • APIs: RESTXQ, RESTful API, WebDAV, XML:DB, XQJ; Java, C#, Perl, PHP, Python and others
  • Supported data formats: XML, HTML, JSON, CSV, Text, binary data
  • GUI including several visualizations: Treemap, table view, tree view, scatter plot

Database layout

BaseX uses a tabular representation of XML tree structures to store XML documents. The database acts as a container for a single document or a collection of documents. The XPath Accelerator encoding scheme and Staircase Join Operator have been taken as inspiration for speeding up XPath location steps. Additionally, BaseX provides several types of indices to improve the performance of path operations, attribute lookups, text comparisons and full-text searches.

History

BaseX was started by Christian Grün at the University of Konstanz in 2005. In 2007, BaseX went open source and has been under the BSD-3-Clause license since then.

Supported systems

The BaseX server is a pure Java 1.8 application and thus runs on any system that provides a suitable Java implementation. It has been tested on Windows, Mac OS X, Linux and OpenBSD. In particular, packages are available for Debian and Ubuntu.

References

References

  1. "BaseX Open Source".
  2. "Translations - BaseX Documentation".
  3. [https://github.com/BaseXdb/basex GitHub: BaseX]
  4. "Overview on database instances created with BaseX".
  5. "W3C: XQuery Test Suite Result Summary". World Wide Web Consortium.
  6. "W3C: XPath and XQuery Full Text 1.0 Test Suite Result Summary". World Wide Web Consortium.
  7. [http://xqj.net/basex BaseX XQJ API]
  8. (30 June 2006). "Pushing XPath accelerator to its limits". Universität Konstanz.
  9. "Storing and Querying Large XML Instances". Universität Konstanz.
  10. "BaseX 5.0: XML Database with Visual Frontend". [[Linux Magazine]].
  11. "Open Source Kompetenzzentrum of the german Bundesverwaltungsamt".
  12. "Startup - BaseX Documentation".
  13. "Debian -- Package search results -- basex".
  14. (25 April 2023). "basex package: Ubuntu".
Info: Wikipedia Source

This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page.

Want to explore this topic further?

Ask Mako anything about BaseX — get instant answers, deeper analysis, and related topics.

Research with Mako

Free with your Surf account

Content sourced from Wikipedia, available under CC BY-SA 4.0.

This content may have been generated or modified by AI. CloudSurf Software LLC is not responsible for the accuracy, completeness, or reliability of AI-generated content. Always verify important information from primary sources.

Report