Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Prolog based spreadsheet analyzer (prototype)
Prolog CSS
Branch: master
Pull request Compare This branch is 17 commits ahead of JanWielemaker:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.


# PlSheet: a SWI-Prolog library for analyzing ODF spreadsheets

PlSheet is a SWI-Prolog  library  for   analysing  ODF  spreadsheets. It
covers representing the spreadsheet as a Prolog fact base which includes
cell contents, cell types,  cell  formulas   and  cell  style (spanning,
colour, font, etc). On top of  that,   it  provides facilities to reason
about formula dependencies and discover  regions with similar properties
(e.g., a region of cells with labels).

The file contains sample toplevel  code   that  can be used as a
starting point to use the library.

## Home

PlSheet is hosted on GitHub at

## Installation

Plsheet depends on two SWI-Prolog add-ons,  which can be installed using
the following commands (to be typed at the Prolog prompt)

  ?- pack_install(webconsole).
  ?- pack_install(graphml).

## Documentation

The library is documented in the source using PlDoc. The simplest way to
view the documentation is by running the   command  below, which opens a
browser with interactive facilities for  exploring the documentation and

  % swipl --pldoc

## Processing MicroSoft Excel files

This library only processes ODF (Open Document Format) files. ODS is the
ODF sub-format for spreadsheets. Open Office  and Libre Office ship with
a tool called =unoconv= to do batch  conversion of MicroSoft excel files
using the following command:

  % unoconv -f ods *.xlsx

## Acknowledgements

This library was developed in the context  of COMMIT/, and in particular
the Data2Semantics project thereof.


Something went wrong with that request. Please try again.