R-Pref: Rapid Prototyping of Database Preference Queries in R

Patrick Roocks, Werner Kießling

2013

Abstract

Preferences are a well-established framework for database queries with soft constraints. Such queries select the best objects from large data sets according to a strict partial order induced by intuitive and semantically rich preference constructors. Together with functionality like grouping and aggregation, adapted from well-known database mechanisms, a very flexible preference framework has emerged in the last decade. In this paper we present R-Pref, an implementation of the preference framework in the statistical computing language R. R-Pref comprises less than 1000 lines of code and adheres to the formal foundations of preferences. It allows rapid prototyping of new preferences and related concepts. Exemplarily we present a use case in which a simple text mining example based on pattern matching is enriched by preferences. We argue that R-Pref paves the way for rapidly exploring new fields of application for preferences. Especially new semantic constructs for preference related operations together with equivalences of preference terms, being highly important for optimization, can be quickly evaluated.

Download


Paper Citation


in Harvard Style

Roocks P. and Kießling W. (2013). R-Pref: Rapid Prototyping of Database Preference Queries in R . In Proceedings of the 2nd International Conference on Data Technologies and Applications - Volume 1: DATA, ISBN 978-989-8565-67-9, pages 104-111. DOI: 10.5220/0004590301040111

in Bibtex Style

@conference{data13,
author={Patrick Roocks and Werner Kießling},
title={R-Pref: Rapid Prototyping of Database Preference Queries in R},
booktitle={Proceedings of the 2nd International Conference on Data Technologies and Applications - Volume 1: DATA,},
year={2013},
pages={104-111},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0004590301040111},
isbn={978-989-8565-67-9},
}


in EndNote Style

TY - CONF
JO - Proceedings of the 2nd International Conference on Data Technologies and Applications - Volume 1: DATA,
TI - R-Pref: Rapid Prototyping of Database Preference Queries in R
SN - 978-989-8565-67-9
AU - Roocks P.
AU - Kießling W.
PY - 2013
SP - 104
EP - 111
DO - 10.5220/0004590301040111