upper layer, propose to generate queries from REST-
ful APIs. In (Ed-douibi et al., 2018) an UML class
diagram is used to generate a database schema and a
RESTful API, respecting the OData pattern. It is de-
signed to OLTP queries, and there are extensions to
use OLAP queries. The translations are direct query
expansions. In (Sellami et al., 2014) an RESTful API
is presented as a communication language with rela-
tional and NoSQL data stores. In this case, the join
operations and aggregation functions are not allowed,
which means they are restricted, enabling to design
simple queries, but not targeted to analytics.
6 CONCLUSIONS
We presented a solution to ease the task of creat-
ing analytic queries on integrated tabular Open Data
sources. We describe our query representation for-
mat, called Relation-Free Query (RFQ), where we do
not explicitly define the relations and the joins, en-
abling to focus on the attributes, metrics and dimen-
sions. The RFQ requests are done through a RESTful
API. We provide a virtual global schema with the in-
formation about possible dimensions, metrics and at-
tributes, which is mapped into the target tables of the
concrete database.
We presented a case study, that consists on query-
ing over integrated Open Data sources, having more
than 900 dimensions and 600 metrics. The queries
are created using the developed RESTful API, which
has a one-to-one correspondence with the RFQ format
(dimensions, metrics, filters). This enables to have
a published Open Data querying microservice. A
microservice-based architecture was chosen because
it enables easy access by mobile or web application
developers, thus aiming at providing a public accessi-
ble service. A current version of the service, is freely
available online in a real world scenario, called BIOD
(Blended Integrated Open Data).
As future work, we plan to provide adapters of the
queries generated by the tool to enable querying on
different data lakes and to develop a solution to find
unionable tables to integrate the sources.
ACKNOWLEDGMENTS
We would like to thank the Simmc/UFPR and
SNPPIR/UFPR projects, which partially funded this
work.
REFERENCES
Abadi, D. and Stonebraker, M. (2015). C-store: Looking
back and looking forward. Talk at VLDB - Very Large
Database Systems.
Abiteboul, S., Hull, R., and Vianu, V. (1995). Founda-
tions of databases: the logical level. Addison-Wesley
Longman Publishing Co., Inc.
Aligon, J., Golfarelli, M., Marcel, P., Rizzi, S., and Turric-
chia, E. (2014). Similarity measures for OLAP ses-
sions. Knowl. Inf. Syst., 39(2):463–489.
Bergamaschi, S., Domnori, E., Guerra, F., Trillo Lado, R.,
and Velegrakis, Y. (2011). Keyword search over rela-
tional databases: A metadata approach. In Proceed-
ings of the 2011 ACM SIGMOD, SIGMOD ’11, pages
565–576, New York, NY, USA. ACM.
Blunschi, L., Jossen, C., Kossmann, D., Mori, M., and
Stockinger, K. (2012). Soda: Generating sql for busi-
ness users. Proceedings of the VLDB Endowment,
5(10):932–943.
Chen, S. (2010). Cheetah: a high performance, custom
data warehouse on top of mapreduce. Proceedings
ofVLDB, 3(1-2):1459–1468.
Ed-douibi, H., Izquierdo, J. L. C., and Cabot, J. (2018).
Model-driven development of OData services: An ap-
plication to relational databases.
Kwakye, M. M., Kiringa, I., and Viktor, H. L. (2013).
Merging multidimensional data models: a practical
approach for schema and data instances. In Proceed-
ings of the 5th DBKDA, pages 100–107.
Lenzerini, M. (2002). Data integration: A theoretical per-
spective. In Proceedings of the twenty-first ACM
SIGMOD-SIGACT-SIGART symposium on Principles
of database systems, pages 233–246.
Li, F., Pan, T., and Jagadish, H. V. (2014). Schema-free sql.
In Proceedings of the 2014 ACM SIGMOD, SIGMOD
’14, page 1051–1062, New York, NY, USA. ACM.
Miller, R. J. (2018). Open data integration. Proc. VLDB
Endow., 11(12):2130–2139.
Richardson, L., Amundsen, M., and Ruby, S. (2013). REST-
ful Web APIs: Services for a Changing World. ”
O’Reilly Media, Inc.”.
Sellami, R., Bhiri, S., and Defude, B. (2014). Odbapi: a
unified rest api for relational and nosql data stores. In
2014 IEEE International Congress on BigData, pages
653–660. IEEE.
Tata, S. and Lohman, G. M. (2008). Sqak: Doing more
with keywords. In Proceedings of the 2008 ACM
SIGMOD, SIGMOD, pages 889–902, New York, NY,
USA. ACM.
Open Data Analytic Querying using a Relation-Free API
155