Skip to main content

Asking Data in a Controlled Way with Ask Data Anything NQL

  • Conference paper
  • First Online:
Book cover Controlled Natural Language (CNL 2016)

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 34.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 44.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. 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)

    Google Scholar 

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

  3. 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)

    MATH  Google Scholar 

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

  5. Cognitum.: Askdataanything! 2015 documentation (2016). http://docs.cognitum.eu/AskDataAnything2015/. Accessed 13 May 2016

  6. 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)

    Article  Google Scholar 

  7. Earley, J.: An efficient context-free parsing algorithm. Commun. ACM 13(2), 94–102 (1970). http://doi.acm.org/10.1145/362007.362035

    Article  MATH  Google Scholar 

  8. 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)

    Chapter  Google Scholar 

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

    Article  Google Scholar 

  10. Harris, S., Seaborne, A.: SPARQL 1.1 query language (2013). http://www.w3.org/TR/sparql11-query/. Accessed 21 Sept 2015

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

    Article  Google Scholar 

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

  13. Kapłański, P.: Controlled english interface for knowledge bases. Stud. Informatica 32(2A), 485–494 (2011)

    Google Scholar 

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

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

    Article  Google Scholar 

  16. 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/

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

    Article  Google Scholar 

  18. 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)

    Google Scholar 

  19. Nolan, C.: Manipulate and query olap data using adomd and multidimensional expressions. Microsoft Syst. J. 63, 51–59 (1999)

    Google Scholar 

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

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

    Google Scholar 

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

    Google Scholar 

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

  24. 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)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Alessandro Seganti .

Editor information

Editors and Affiliations

Rights and permissions

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

Publish with us

Policies and ethics