Abstract
While to collect data, it is necessary to store it, to understand its structure it is necessary to do data-mining. Business Intelligence (BI) enables us to make intelligent, data-driven decisions by the mean of a set of tools that allows the creation of a potentially unlimited number of machine-generated, data-driven reports, which are calculated by a machine as a response to queries specified by humans. Natural Query Languages (NQLs) allow one to dig into data with an intuitive human-machine dialogue. The current NQL-based systems main problems are the required prior learning phase for writing correct queries, understanding the linguistic coverage of the NQL and asking precise questions.
Results: We have developed an NQL as well as an entire Natural Language Interface Database (NLIDB) that supports the user with BI queries with minimized disadvantages, namely Ask Data Anything. The core part - NQL parser - is a hybrid of CNL and the pattern matching approach with a prior error repair phase. Equipped with reasoning capabilities due to the intensive use of semantic technologies, our hybrid approach allows one to use very simple, keyword-based (even erroneous) queries as well as complex CNL ones with the support of a predictive editor.
Supplementary Information: Supplementary materials are available at Cognitum website: http://cognitum.eu/SmartBI.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Androutsopoulos, I., Ritchie, G., Thanisch, P.: MASQUE/SQL - an efficient and portable natural language query interface for relational databases. Database technical paper, Department of AI, University of Edinburgh (1993)
Androutsopoulos, I., Ritchie, G.D., Thanisch, P.: Natural language interfaces to databases - an introduction. CoRR cmp-lg/9503016 (1995). http://arxiv.org/abs/cmp-lg/9503016
Baader, F., Calvanese, D., McGuinness, D., Nardi, D., Patel-Schneider, P.: The Description Logic Handbook: Theory, Implementation and Applications. Cambridge University Press, New York (2003)
Codd, E.F.: Seven steps to rendezvous with the casual user. In: IFIP Working Conference Data Base Management, pp. 179–200. iBM Research Report RJ 1333, San Jose, January 1974. http://dblp.uni-trier.de/db/conf/ds/dbm74.html#Codd74
Cognitum.: Askdataanything! 2015 documentation (2016). http://docs.cognitum.eu/AskDataAnything2015/. Accessed 13 May 2016
Datta, A., Thomas, H.: The cube data model: a conceptual model and algebra for on-line analytical processing in data warehouses. Decis. Support Syst. 27(3), 289–301 (1999)
Earley, J.: An efficient context-free parsing algorithm. Commun. ACM 13(2), 94–102 (1970). http://doi.acm.org/10.1145/362007.362035
Fuchs, N.E., Schwertel, U., Schwitter, R.: Attempto controlled English – not just another logic specification language. In: Flener, P. (ed.) LOPSTR 1998. LNCS, vol. 1559, pp. 1–20. Springer, Heidelberg (1999)
Habernal, I., Konopík, M.: SWSNL: Semantic web search using natural language. Expert Syst. Appl. 40(9), 3649–3664 (2013). http://dblp.uni-trier.de/db/journals/eswa/eswa40.html#HabernalK13
Harris, S., Seaborne, A.: SPARQL 1.1 query language (2013). http://www.w3.org/TR/sparql11-query/. Accessed 21 Sept 2015
Hendrix, G.G., Sacerdoti, E.D., Sagalowicz, D., Slocum, J.: Developing a natural language interface to complex data. ACM Trans. Database Syst. 3(2), 105–147 (1978). http://doi.acm.org/10.1145/320251.320253
Hitzler, P., Krötzsch, M., Parsia, B., Patel-Schneider, P.F., Rudolph, S.: OWL, web ontology language (2004). http://www.w3.org/TR/owl2-primer/. Accessed 21 Sept 2015
Kapłański, P.: Controlled english interface for knowledge bases. Stud. Informatica 32(2A), 485–494 (2011)
Kapłański, P., Weichbroth, P.: Cognitum ontorion: knowledge representation and reasoning system. In: Position Papers of the 2015 Federated Conference on Computer Science and Information Systems, FedCSIS 2015, Lódz, Poland, 13–16 September 2015, pp. 177–184 (2015). http://dx.doi.org/10.15439/2015F17
Kuhn, T.: A survey and classification of controlled natural languages. Comput. Linguist. 40(1), 121–170 (2014). http://www.mitpressjournals.org/doi/abs/10.1162/COLI_a_00168
Lassila, O., Swick, R.R.: Resource description framework (RDF) model and syntax specification. W3c recommendation. W3C, February 1999. http://www.w3.org/TR/1999/REC-rdf-syntax-19990222/
Llopis, M., Ferrández, A.: How to make a natural language interface to query databases accessible to everyone: an example. Comput. Stand. Interfaces 35(5), 470–481 (2013). http://dblp.uni-trier.de/db/journals/csi/csi35.html#LlopisF13
Nihalani, M.N., Silakari, S., Motwani, M.: Natural language interface for database: a brief review. IJCSI Int. J. Comput. Sci. Issues 8(2), 600–608 (2011)
Nolan, C.: Manipulate and query olap data using adomd and multidimensional expressions. Microsoft Syst. J. 63, 51–59 (1999)
Popescu, A.M., Armanasu, A., Etzioni, O., Ko, D., Yates, A.: Modern natural language interfaces to databases: composing statistical parsing with semantic tractability. In: Proceedings of the 20th International Conference on Computational Linguistics, COLING 2004. Association for Computational Linguistics, Stroudsburg (2004). http://dx.doi.org/10.3115/1220355.1220376
Ranta, A.: Embedded controlled languages. In: Davis, B., Kaljurand, K., Kuhn, T. (eds.) CNL 2014. LNCS, vol. 8625, pp. 1–7. Springer, Heidelberg (2014). http://dx.doi.org/10.1007/978-3-319-10223-8_1
Warren, D.H.D., Pereira, F.C.N.: An efficient easily adaptable system for interpreting natural language queries. Comput. Linguist. 8(3–4), 110–122 (1982). http://dl.acm.org/citation.cfm?id=972942.972944
Woods, W., Kaplan, R., Nash-Webber, B.: The Lunar Sciences Natural Language Information System: Final Report. BBN report, Bolt Beranek and Newman (1972). https://books.google.pl/books?id=RhuEMwEACAAJ
Wroblewska, A., Kaplanski, P., Zarzycki, P., Lugowska, I.: Semantic rules representation in controlled natural language in FluentEditor. In: 2013 The 6th International Conference on Human System Interaction (HSI), pp. 90–96. IEEE (2013)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2016 Springer International Publishing Switzerland
About this paper
Cite this paper
Seganti, A., Kapłański, P., Campo, J.D.N., Cieśliński, K., Koziołkiewicz, J., Zarzycki, P. (2016). Asking Data in a Controlled Way with Ask Data Anything NQL. In: Davis, B., Pace, G., Wyner, A. (eds) Controlled Natural Language. CNL 2016. Lecture Notes in Computer Science(), vol 9767. Springer, Cham. https://doi.org/10.1007/978-3-319-41498-0_6
Download citation
DOI: https://doi.org/10.1007/978-3-319-41498-0_6
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-41497-3
Online ISBN: 978-3-319-41498-0
eBook Packages: Computer ScienceComputer Science (R0)