External Computations and Interoperability in the New DLV Grounder

  • Francesco CalimeriEmail author
  • Davide Fuscà
  • Simona Perri
  • Jessica Zangari
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 10640)


In this paper we focus on some of the most recent advancements in \(\mathcal I\)-DLV, the new intelligent grounder of DLV; the system has been endowed with means aimed at easing the interoperability and integration with external systems and accommodating external source of computation and value invention within ASP programs. In particular, we describe here the support for external computations via explicit calls to Python scripts, and tools for the interoperability with both relational and graph databases.


Knowledge representation and reasoning Answer Set Programming DLV Artificial Intelligence Deductive database systems Grounding Instantiation 


  1. 1.
    Alviano, M., et al.: The ASP system DLV2. In: Balduccini, M., Janhunen, T. (eds.) LPNMR 2017. LNCS, vol. 10377, pp. 215–221. Springer, Cham (2017). CrossRefGoogle Scholar
  2. 2.
    Alviano, M., Dodaro, C., Leone, N., Ricca, F.: Advances in WASP. In: Calimeri, F., Ianni, G., Truszczynski, M. (eds.) LPNMR 2015. LNCS, vol. 9345, pp. 40–54. Springer, Cham (2015). CrossRefGoogle Scholar
  3. 3.
    Brewka, G., Eiter, T., Truszczynski, M.: Answer set programming at a glance. Commun. ACM 54(12), 92–103 (2011)CrossRefGoogle Scholar
  4. 4.
    Calimeri, F., Cozza, S., Ianni, G.: External sources of knowledge and value invention in logic programming. Ann. Math. Artif. Intell. 50(3–4), 333–361 (2007)CrossRefzbMATHMathSciNetGoogle Scholar
  5. 5.
    Calimeri, F., Cozza, S., Ianni, G., Leone, N.: An ASP system with functions, lists, and sets. In: Erdem, E., Lin, F., Schaub, T. (eds.) LPNMR 2009. LNCS, vol. 5753, pp. 483–489. Springer, Heidelberg (2009). CrossRefGoogle Scholar
  6. 6.
    Calimeri, F., Faber, W., Gebser, M., Ianni, G., Kaminski, R., Krennwallner, T., Leone, N., Ricca, F., Schaub, T.: Asp-core-2: input language format. Technical Report, ASP Standardization Working Group (2012)Google Scholar
  7. 7.
    Calimeri, F., Fuscà, D., Perri, S., Zangari, J.: I-DLV: the new intelligent grounder of DLV. Intelligenza Artificiale 11(1), 5–20 (2017)CrossRefGoogle Scholar
  8. 8.
    Calimeri, F., Gebser, M., Maratea, M., Ricca, F.: Design and results of the fifth answer set programming competition. Artif. Intell. 231, 151–181 (2016)CrossRefzbMATHMathSciNetGoogle Scholar
  9. 9.
    Calimeri, F., Perri, S., Fuscà, D., Zangari, J.: \(\cal{I}\)-DLV homepage (since 2016).
  10. 10.
    Eiter, T., Fink, M., Ianni, G., Krennwallner, T., Redl, C., Schüller, P.: A model building framework for answer set programming with external computations. TPLP 16(4), 418–464 (2016)MathSciNetzbMATHGoogle Scholar
  11. 11.
    Erdem, E., Gelfond, M., Leone, N.: Applications of answer set programming. AI Mag. 37(3), 53–68 (2016)CrossRefGoogle Scholar
  12. 12.
    Faber, W., Leone, N., Perri, S.: The intelligent grounder of DLV. In: Erdem, E., Lee, J., Lierler, Y., Pearce, D. (eds.) Correct Reasoning. LNCS, vol. 7265, pp. 247–264. Springer, Heidelberg (2012). CrossRefGoogle Scholar
  13. 13.
    Gebser, M., Kaminski, R., Kaufmann, B., Ostrowski, M., Schaub, T., Wanko, P.: Theory solving made easy with clingo 5. In: ICLP TCs, pp. 2:1–2:15 (2016)Google Scholar
  14. 14.
    Gebser, M., Kaminski, R., König, A., Schaub, T.: Advances in gringo series 3. In: Delgrande, J.P., Faber, W. (eds.) LPNMR 2011. LNCS, vol. 6645, pp. 345–351. Springer, Heidelberg (2011). CrossRefGoogle Scholar
  15. 15.
    Gebser, M., Maratea, M., Ricca, F.: What’s hot in the answer set programming competition. In: AAAI 2016, pp. 4327–4329. AAAI Press (2016)Google Scholar
  16. 16.
    Gelfond, M., Lifschitz, V.: The Stable Model Semantics for Logic Programming. In: ICLP 1988, pp. 1070–1080. MIT Press, Cambridge (1988)Google Scholar
  17. 17.
    Gelfond, M., Lifschitz, V.: Classical negation in logic programs and disjunctive databases. New Gener. Comput. 9(3/4), 365–385 (1991)CrossRefzbMATHGoogle Scholar
  18. 18.
    Guo, Y., Pan, Z., Heflin, J.: LUBM: a benchmark for OWL knowledge base systems. Web Semant.: Sci. Serv. Agents World Wide Web 3(2), 158–182 (2005)CrossRefGoogle Scholar
  19. 19.
    Kaufmann, B., Leone, N., Perri, S., Schaub, T.: Grounding and solving in answer set programming. AI Mag. 37(3), 25–32 (2016)CrossRefGoogle Scholar
  20. 20.
    Leone, N., Pfeifer, G., Faber, W., Eiter, T., Gottlob, G., Perri, S., Scarcello, F.: The DLV system for knowledge representation and reasoning. ACM Trans. Comput. Log. (TOCL) 7(3), 499–562 (2006)CrossRefzbMATHMathSciNetGoogle Scholar
  21. 21.
    Lierler, Y., Maratea, M., Ricca, F.: Systems, engineering environments, and competitions. AI Mag. 37(3), 45–52 (2016)CrossRefGoogle Scholar
  22. 22.
    Lifschitz, V.: Answer set planning. In: ICLP, pp. 23–37. MIT Press (1999)Google Scholar
  23. 23.
    Ullman, J.D.: Principles of Database and Knowledge-Base Systems, vol. 1. Computer Science Press, New York (1988)Google Scholar
  24. 24.
    Walega, P.A., Schultz, C.P.L., Bhatt, M.: Non-monotonic spatial reasoning with answer set programming modulo theories. CoRR abs/1606.07860 (2016).

Copyright information

© Springer International Publishing AG 2017

Authors and Affiliations

  • Francesco Calimeri
    • 1
    • 2
    Email author
  • Davide Fuscà
    • 1
  • Simona Perri
    • 1
  • Jessica Zangari
    • 1
  1. 1.Department of Mathematics and Computer ScienceUniversity of CalabriaRendeItaly
  2. 2.DLVSystem SrlRendeItaly

Personalised recommendations