BaseX

{{Short description|XML database management and query system}}

{{about|BaseX XML Database|Basex firm|Basex}}

{{Infobox software

| name = BaseX

| author = Christian Grün

| logo = BaseX-logo-small-transparent.png

| screenshot = Screenshot BaseX 9.0.png

| caption = BaseX GUI showing an XML document in various visualizations

| genre = XML database

| programming language = Java

| platform = Java SE

| license = BSD-3-Clause{{cite web|title=BaseX Open Source|url=https://basex.org/about/open-source/|access-date=2021-06-28}}

| released = 2007

| latest release version = 11.7

| latest release date = {{release date and age|2025|01|31}}

| website = {{url|http://basex.org}}

| language = English, Dutch, French, German, Hungarian, Indonesian, Italian, Japanese, Mongolian, Romanian, Russian, Spanish{{Cite web|url=http://docs.basex.org/wiki/Translations|title=Translations - BaseX Documentation}}

}}

BaseX is a native and light-weight XML database management system and XQuery processor, developed as a community project on GitHub.[https://github.com/BaseXdb/basex GitHub: BaseX] It is specialized in storing, querying, and visualizing large XML documents and collections.{{cite web|url=http://docs.basex.org/wiki/Statistics |title=Overview on database instances created with BaseX|accessdate=30 June 2011 }} 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{{cite web|url=http://dev.w3.org/2006/xquery-test-suite/PublicPagesStagingArea/XQTSReport_XQTS_1_0_2.html|title=W3C: XQuery Test Suite Result Summary|accessdate=30 June 2011 | publisher=World Wide Web Consortium}}{{cite web|url=http://dev.w3.org/2007/xpath-full-text-10-test-suite/PublicPagesStagingArea/ReportedResults/XQFTTSReportSimple.html|title=W3C: XPath and XQuery Full Text 1.0 Test Suite Result Summary|accessdate=30 June 2011|publisher=World Wide Web Consortium}} 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

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.{{cite web|url=http://www.inf.uni-konstanz.de/dbis/publications/download/GHKSW-EXPDB06-slides.pdf |publisher=Universität Konstanz |author1=Christian Grün |author2=Marc Kramis |author3=Alexander Holupirek |author4=Marc H. Scholl |author5=Marcel Waldvogel |title=Pushing XPath accelerator to its limits |date=30 June 2006 |accessdate=30 June 2011 |url-status=dead |archiveurl=https://web.archive.org/web/20110927141800/http://www.inf.uni-konstanz.de/dbis/publications/download/GHKSW-EXPDB06-slides.pdf |archivedate=27 September 2011 }} Additionally, BaseX provides several types of indices to improve the performance of path operations, attribute lookups, text comparisons and full-text searches.{{cite web |url=http://kops.ub.uni-konstanz.de/bitstream/handle/urn:nbn:de:bsz:352-opus-127142/Dissertation_Gruen_2010.pdf?sequence=1 |title=Storing and Querying Large XML Instances |format=PDF |publisher=Universität Konstanz |accessdate=30 June 2011 |url-status=dead |archiveurl=https://web.archive.org/web/20111009004836/http://kops.ub.uni-konstanz.de/bitstream/handle/urn%3Anbn%3Ade%3Absz%3A352-opus-127142/Dissertation_Gruen_2010.pdf?sequence=1 |archivedate=9 October 2011 }}

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.{{cite web|url=http://www.linuxpromagazine.com/Online/News/BaseX-5.0-XML-Database-with-Visual-Frontend?category=13433|title=BaseX 5.0: XML Database with Visual Frontend|accessdate=30 June 2011| publisher=Linux Magazine}}{{cite web |url=http://oss.bund.de/node/328 |title=Open Source Kompetenzzentrum of the german Bundesverwaltungsamt |accessdate=30 June 2011 |language=German |url-status=dead |archiveurl=https://web.archive.org/web/20111103220109/http://oss.bund.de/node/328 |archivedate=3 November 2011 }}

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.{{cite web|url=http://docs.basex.org/wiki/Startup#Requirements|title=Startup - BaseX Documentation}} In particular, packages are available for Debian{{cite web| url=https://packages.debian.org/search?keywords=basex&searchon=names&suite=all§ion=all|title=Debian -- Package search results -- basex}} and Ubuntu.{{cite web|url=http://launchpad.net/ubuntu/+source/basex|title=basex package: Ubuntu|date=25 April 2023 }}

Further reading

  • [http://www.linuxtag.org/2011/de/program/themenschwerpunkte/system-management/vortragsdetails-talkid383.html BaseX Talk at LinuxTag Berlin, 2011]

References

{{Reflist}}