Skip to main content

VRASP: A Virtual Reality Environment for Learning Answer Set Programming

  • Conference paper
  • First Online:
Practical Aspects of Declarative Languages (PADL 2020)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 12007))

Included in the following conference series:

Abstract

Answer Set Programming (ASP) is a dominant programming paradigm in Knowledge Representation. It is used to build intelligent agents – knowledge-intensive software systems capable of exhibiting intelligent behaviors. It is found that ASP can also be used to teach computer science in middle and high schools. However, the current ASP systems do not provide direct support for a programmer to produce an intelligent agent that a general user can directly interact with, which may greatly compromise the potential attraction of ASP to the secondary school students. In this paper, we propose a Virtual Reality (VR) programming environment called VRASP that allows a student to produce an avatar (agent) in a virtual world that is able to answer questions in spoken natural language from a general user. The VR application is accessible from anywhere so that the students’ friends can interact with the agent. As a result, it gives the students a feeling of achievement and thus encourages them to solve problems using ASP. VRASP was evaluated with 10 users. Results of these studies show that students are able to communicate with the environment intuitively with an accuracy of 78%.

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 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.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. Cooper, S., Dann, W., Pausch, R.: Alice: a 3-D tool for introductory programming concepts. J. Comput. Sci. Coll 15, 107–116 (2000)

    Google Scholar 

  2. Erdem, E., Gelfond, M., Leone, N.: Applications of answer set programming. AI Mag. 37(3), 53–68 (2016)

    Article  Google Scholar 

  3. Freina, L., Ott, M.: A literature review on immersive virtual reality in education: state of the art and perspectives. In: The International Scientific Conference eLearning and Software for Education, vol. 1, p. 133. “Carol I” National Defence University (2015)

    Google Scholar 

  4. Kao, D., Harrell, D.F.: Toward avatar models to enhance performance and engagement in educational games. In: 2015 IEEE Conference on Computational Intelligence and Games (CIG), pp. 246–253 (Aug 2015)

    Google Scholar 

  5. Kolodner, J.L., et al.: Problem-based learning meets case-based reasoning in the middle-school science classroom: Putting learning by design (TM) into practice. J. Learn. Sci. 12(4), 495–547 (2003)

    Article  Google Scholar 

  6. Lindgren, R., Johnson-Glenberg, M.: Emboldened by embodiment: six precepts for research on embodied learning and mixed reality. Educ. Res. 42(8), 445–452 (2013)

    Article  Google Scholar 

  7. Marcopoulos, E., Zhang, Y.: onlineSPARC: a programming environment for answer set programming. TPLP 19(2), 262–289 (2019)

    MathSciNet  MATH  Google Scholar 

  8. Mayer, R.E.: Cognitive theory of multimedia learning. Camb. Handb. Multimed. Learn. 41, 31–48 (2005)

    Article  Google Scholar 

  9. Nguyen, V.T.: VRASP demo, November 2019. https://github.com/Alex-Nguyen/VRASP

  10. Nguyen, V.T., Hite, R., Dang, T.: Learners’s technological acceptance of vr content development: a sequential 3-part use case study of diverse post-secondary students. Int. J. Semant. Comput. 13(03), 343–366 (2019)

    Article  Google Scholar 

  11. Pouw, W.T., Van Gog, T., Paas, F.: An embedded and embodied cognition review of instructional manipulatives. Educ. Psychol. Rev. 26(1), 51–72 (2014)

    Article  Google Scholar 

  12. Resnick, M., et al.: Scratch: programming for all. Commun. ACM 52(11), 60–67 (2009)

    Article  Google Scholar 

  13. T. Nguyen, V., Hite, R., Dang, T.: Web-based virtual reality development in classroom: from learner’s perspectives. In: 2018 IEEE International Conference on Artificial Intelligence and Virtual Reality (AIVR), pp. 11–18, December 2018

    Google Scholar 

  14. Vo, N., Mitra, A., Baral, C.: The NL2KR platform for building natural language translation systems. In: Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pp. 899–908 (2015)

    Google Scholar 

  15. Vosinakis, S., Anastassakis, G., Koutsabasis, P.: Teaching and learning logic programming in virtual worlds using interactive microworld representations. Br. J. Educ. Technol. 49(1), 30–44 (2018)

    Article  Google Scholar 

  16. Zhang, Y., Wang, J., Bolduc, F., Murray, W.G.: LP based integration of computing and science education in middle schools. In: Proceedings of the ACM Conference on Global Computing Education, CompEd, 17–19 May 2019, pp. 44–50 (2019)

    Google Scholar 

  17. Zhang, Y., Wang, J., Bolduc, F., Murray, W.G., Staffen, W.: A preliminary report of integrating science and computing teaching using logic programming. In: Proceedings of AAAI (2019, to appear)

    Article  Google Scholar 

Download references

Acknowledgement

We thank the anonymous reviewers for their comments which improve this paper significantly. Zhang is partially supported by NSF grant DRL-1901704.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Vinh T. Nguyen .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Nguyen, V.T., Zhang, Y., Jung, K., Xing, W., Dang, T. (2020). VRASP: A Virtual Reality Environment for Learning Answer Set Programming. In: Komendantskaya, E., Liu, Y. (eds) Practical Aspects of Declarative Languages. PADL 2020. Lecture Notes in Computer Science(), vol 12007. Springer, Cham. https://doi.org/10.1007/978-3-030-39197-3_6

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-39197-3_6

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-39196-6

  • Online ISBN: 978-3-030-39197-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics