| From spreadsheets to relational databases and back |
| Full text |
Pdf
(1.08 MB)
|
Source
|
ACM/SIGPLAN Workshop Partial Evaluation and Semantics-Based Program Manipulation
archive
Proceedings of the 2009 ACM SIGPLAN workshop on Partial evaluation and program manipulation
table of contents
Savannah, GA, USA
SESSION: Program transformation II
table of contents
Pages 179-188
Year of Publication: 2009
ISBN:978-1-60558-327-3
|
|
Authors
|
|
| Sponsors |
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 13, Downloads (12 Months): 110, Citation Count: 0
|
|
|
ABSTRACT
This paper presents techniques and tools to transform spreadsheets into relational databases and back. A set of data refinement rules is introduced to map a tabular datatype into a relational database schema. Having expressed the transformation of the two data models as data refinements, we obtain for free the functions that migrate the data. We use well-known relational database techniques to optimize and query the data. Because data refinements define bi-directional transformations we can map such database back to an optimized spreadsheet. We have implemented the data refinement rules and we constructed Haskell-based tools to manipulate, optimize and refactor Excel-like spreadsheets.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
|
| |
2
|
|
| |
3
|
T.L. Alves, P.F. Silva, and J. Visser. Constraint-aware Schema Transformation. In The Ninth International Workshop on Rule-Based Programming, 2008.
|
 |
4
|
|
 |
5
|
|
 |
6
|
Björn Bringert , Anders Höckersten , Conny Andersson , Martin Andersson , Mary Bergman , Victor Blomqvist , Torbjörn Martin, Student paper: HaskellDB improved, Proceedings of the 2004 ACM SIGPLAN workshop on Haskell, p.108-115, September 22-22, 2004, Snowbird, Utah, USA
[doi> 10.1145/1017472.1017473]
|
| |
7
|
|
| |
8
|
|
| |
9
|
A. Cunha, J.N. Oliveira, and J. Visser. Type-safe Two-level Data Transformation. In J. Misra et al., editors, Proc. Formal Methods, 14th Int. Symp. Formal Methods Europe, volume 4085 of LNCS, pages 284--299. Springer, 2006.
|
| |
10
|
C. J. Date. An Introduction to Database Systems. Addison-Wesley, 1995. ISBN 0-201-82458-2.
|
| |
11
|
FAST. UMinho Haskell Software -- http://haskell.di.uminho.pt/UMHS.
|
 |
12
|
|
 |
13
|
|
| |
14
|
B.H. Frost and S.D. Stanton. Spreadsheet-based relational database interface, January 2008. URL http://www.freepatentsonline.com/20080016041.html. US Patent 20080016041.
|
| |
15
|
|
| |
16
|
|
| |
17
|
|
| |
18
|
J.N. Oliveira. 'Fractal' Types: an Attempt to Generalize Hash Table Calculation. In Workshop on Generic Programming (WGP'98), Marstrand, Sweden, June 1998.
|
| |
19
|
J.N. Oliveira. A reification calculus for model-oriented software specification. Formal Asp. Comput., 2(1):1--23, 1990.
|
| |
20
|
José N. Oliveira, Transforming Data by Calculation, Generative and Transformational Techniques in Software Engineering II: International Summer School, GTTSE 2007, Braga, Portugal, July 2-7, 2007. Revised Papers, Springer-Verlag, Berlin, Heidelberg, 2007
[doi> 10.1007/978-3-540-88643-3_4]
|
| |
21
|
J.N. Oliveira. Pointfree foundations for (generic) lossless decomposition. 2007b. Submitted.
|
| |
22
|
J.N. Oliveira. Functional dependency theory made 'simpler'. Technical Report PURe-05.01.01, DI-Research, January 2005.
|
| |
23
|
S. Peyton Jones. Haskell 98: Language and libraries. J. Funct. Program., 13(1):1--255, 2003.
|
| |
24
|
S. Peyton Jones, G. Washburn, and S. Weirich. Wobbly types: type inference for generalised algebraic data types. Technical Report MS-CIS-05-26, Univ. of Pennsylvania, July 2004.
|
| |
25
|
|
| |
26
|
|
| |
27
|
|
|