87 research outputs found
On the Semantics of "Now" in Databases
While "now" is expressed in SQL as CURRENT-TIMESTAMP within queries, this value cannot be
stored in the database. However, this notion of an ever-increasing current-time value has been
reflected in some temporal data models by inclusion of database-resident variables, such as
"now," "until-changed," "â," "@" and "-." Time variables are very desirable, but their use
also leads to a new type of database, consisting of tuples with variables, termed a variable
database.
This paper proposes a framework for defining the semantics of the variable databases of temporal
relational data models. A framework is presented because several reasonable meanings
may be given to databases that use some of the specific temporal variables that have appeared
in the literature. Using the framework, the paper defines a useful semantics for such databases.
Because situations occur where the existing time variables are inadequate, two new types of
modeling entities that address these shortcomings, timestamps which we call now-relative and
now-relative indeterminate, are introduced and defined within the framework. Moreover, the paper
provides a foundation, using algebraic bind operators, for the querying of variable databases
via existing query languages. This transition to variable databases presented here requires minimal
change to the query processor. Finally, to underline the practical feasibility of variable
databases, we show that database variables can be precisely specified and efficiently implemented
in conventional query languages, such as SQL, and in temporal query languages, such
as TSQL2.Information Systems Working Papers Serie
Model inference for spreadsheets
Many errors in spreadsheet formulas can be avoided if spreadsheets are built automati-
cally from higher-level models that can encode and enforce consistency constraints in the generated
spreadsheets. Employing this strategy for legacy spreadsheets is dificult, because the model has
to be reverse engineered from an existing spreadsheet and existing data must be transferred into
the new model-generated spreadsheet.
We have developed and implemented a technique that automatically infers relational schemas
from spreadsheets. This technique uses particularities from the spreadsheet realm to create better
schemas. We have evaluated this technique in two ways: First, we have demonstrated its appli-
cability by using it on a set of real-world spreadsheets. Second, we have run an empirical study
with users. The study has shown that the results produced by our technique are comparable to
the ones developed by experts starting from the same (legacy) spreadsheet data.
Although relational schemas are very useful to model data, they do not t well spreadsheets as
they do not allow to express layout. Thus, we have also introduced a mapping between relational
schemas and ClassSheets. A ClassSheet controls further changes to the spreadsheet and safeguards
it against a large class of formula errors. The developed tool is a contribution to spreadsheet
(reverse) engineering, because it lls an important gap and allows a promising design method
(ClassSheets) to be applied to a huge collection of legacy spreadsheets with minimal effort.We would like to thank Orlando Belo for his help on running and analyzing the empirical study. We would also like to thank Paulo Azevedo for his help in conducting the statistical analysis of our empirical study. We would also like to thank the anonymous reviewers for their suggestions which helped us to improve the paper. This work is funded by ERDF - European Regional Development Fund through the COMPETE Programme (operational programme for competitiveness) and by National Funds through the FCT - Fundacao para a Ciencia e a Tecnologia (Portuguese Foundation for Science and Technology) within project FCOMP-01-0124-FEDER-010048. The first author was also supported by FCT grant SFRH/BPD/73358/2010
Modellbasierte Entwicklung von Web 2.0-Anwendungen mit MDA™ (Model-Based Development of Web 2.0 Applications with MDA)
- …
