ACM Home Page
Please provide us with feedback. Feedback
From spreadsheets to relational databases and back
Full text PdfPdf (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
Jácome Cunha  Universidade do Minho, Braga, Portugal
João Saraiva  Universidade do Minho, Braga, Portugal
Joost Visser  Software Improvement Group & CWI, Amsterdam, Netherlands
Sponsors
SIGPLAN: ACM Special Interest Group on Programming Languages
ACM: Association for Computing Machinery
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 13,   Downloads (12 Months): 110,   Citation Count: 0
Additional Information:

abstract   references   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1480945.1480972
What is a DOI?

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
 
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
 
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

Collaborative Colleagues:
Jácome Cunha: colleagues
João Saraiva: colleagues
Joost Visser: colleagues