Skip to main content

Ontology-Based System for Automatic SQL Exercises Generation

  • Conference paper
  • First Online:
  • 2011 Accesses

Part of the book series: Advances in Intelligent Systems and Computing ((AISC,volume 1192))

Abstract

In computer science as in many fields, practice activities are essential to facilitate skill acquisition. Nevertheless, developing and correcting questions are time consuming tasks. That is the case, in particular, for traditional and online SQL courses which include many SQL questions to be created and corrected. SQL learners need to practice more writing SQL statements in order to better understand and correct their syntactic and semantic errors. To overcome the difficulty of creating questions from scratch, research proposes to automatically generate such questions.

In this work, we propose a system that teachers can use to automatically produce SQL questions sorted by difficulty level. Instead of creating SQL questions, teachers only propose a database schema. Learners can also use the system to answer SQL questions and get appropriate feedback to improve their skills.

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

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   219.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

Learn about institutional subscriptions

Notes

  1. 1.

    https://www.w3schools.com/sql/.

  2. 2.

    https://sqlbolt.com.

  3. 3.

    https://protege.stanford.edu.

  4. 4.

    https://getbootstrap.com.

  5. 5.

    https://jquery.com.

References

  1. Leo, J., Kurdi, G., Matentzoglu, N., Parsia, B., Sattler, U., Forge, S., Donato, G., Dowling, W.: Ontology-based generation of medical, multi-term MCQs. Int. J. Artif. Intell. Educ. 29, 145–188 (2019)

    Article  Google Scholar 

  2. Diatta, B., Basse, A., Ouya, S.: Bilingual ontology-based automatic question generation. In: 2019 IEEE Global Engineering Education Conference (EDUCON), Dubai, United Arab Emirates, pp. 679–684 (2019)

    Google Scholar 

  3. Papasalouros, A.: Automatic exercise generation in euclidean geometry. In: IFIP International Conference on Artificial Intelligence Applications and Innovations, pp. 141–150. Springer (2013)

    Google Scholar 

  4. Papasalouros, A., Chatzigiannakou, M.: Semantic web and question generation: an overview of the state of the art. International Association for Development of the Information Society (2018)

    Google Scholar 

  5. Alsubait, T., Parsia, B., Sattler, U.: Generating multiple choice questions from ontologies: how far can we go? In: International Conference on Knowledge Engineering and Knowledge Management, pp. 66–79. Springer (2014)

    Google Scholar 

  6. Qian, G.: Teaching SQL: a divide-and-conquer method for writing queries. J. Comput. Sci. Coll. 33(4), 37–44 (2018)

    Google Scholar 

  7. Cagliero, L., De Russis, L., Farinetti, L., Montanaro, T.: Improving the effectiveness of SQL learning practice: a data-driven approach. In: 2018 IEEE 42nd Annual Computer Software and Applications Conference (COMPSAC), vol. 1, pp. 980–989. IEEE (2018)

    Google Scholar 

  8. Matos, V.M., Grasser, R.: Teaching tip a simpler (and better) SQL approach to relational division. J. Inf. Syst. Educ. 13(2), 89–94 (1995)

    Google Scholar 

  9. Ahadi, A., Behbood, V., Vihavainen, A., Prior, J., Lister, R.: Students’ syntactic mistakes in writing seven different types of SQL queries and its application to predicting students’ success. In: Proceedings of the 47th ACM Technical Symposium on Computing Science Education, pp. 401–406. ACM (2016)

    Google Scholar 

  10. Ahadi, A., Prior, J., Behbood, V., Lister, R.: Students’ semantic mistakes in writing seven different types of SQL queries. In: Proceedings of the 2016 ACM Conference on Innovation and Technology in Computer Science Education, pp. 272–277. ACM (2016)

    Google Scholar 

  11. Taipalus, T., Perälä, P.: What to expect and what to focus on in SQL query teaching. In: Proceedings of the 50th ACM Technical Symposium on Computer Science Education - SIGCSE 2019, pp. 198–203 (2019). https://doi.org/10.1145/3287324.3287359

  12. Do, Q., Agrawal, R.K., Rao, D., Gudivada, V.N.: Automatic generation of SQL queries. American Society for Engineering Education (2014). Paper ID: 8958

    Google Scholar 

  13. Atchariyachanvanich, K., Nalintippayawong, S., Julavanich, T.: Reverse SQL question generation algorithm in the DBLearn adaptive E-learning system. IEEE Access 7, 54993–55004 (2019). https://doi.org/10.1109/ACCESS.2019.2912522

    Article  Google Scholar 

  14. Julavanich, T., Nalintippayawong, S., Atchariyachanvanich, K.: RSQLG: the reverse SQL question generation algorithm. In: 2019 IEEE 6th International Conference on Industrial Engineering and Applications (ICIEA), pp. 908–912 (2019)

    Google Scholar 

  15. Bachimont, B., Isaac, A., Troncy, R.: Semantic commitment for designing ontologies: a proposal. In: International Conference on Knowledge Engineering and Knowledge Management, pp. 114–121. Springer, Heidelberg, October 2002

    Google Scholar 

  16. Noy, N.F., McGuinness, D.L.: Ontology development 101: a guide to creating your first ontology. Technical Report SMI-2001-0880, Stanford Medical Informatics (2001)

    Google Scholar 

  17. Fernández-López, M., Gómez-Pérez, A., Juristo, N.: Methontology: from ontological art towards ontological engineering. In: Proceedings of AAAI 1997 Spring Symposium Series, Workshop on Ontological Engineering, Stanford, CA, pp. 33–40 (1997)

    Google Scholar 

  18. Uschold, M., King, M.: Towards a methodology for building ontologies. In: Proceedings of the Workshop on Basic Ontological Issues in Knowledge Sharing Held in Conjunction with IJCAI, Montreal (1995)

    Google Scholar 

  19. Motik, B., Patel-Schneider, P.F., Parsia, B., Bock, C., Fokoue, A., Haase, P., Hoekstra, R., Horrocks, I., Ruttenberg, A., Sattler, U., Smith, M.: OWL 2 web ontology language: structural specification and functional-style syntax. W3C recommendation, vol. 27, no. 65, p. 159 (2009)

    Google Scholar 

  20. Lamy, J.B.: Owlready: ontology-oriented programming in Python with automatic classification and high level constructs for biomedical ontologies. Artif. Intell. Med. 80, 11–28 (2017)

    Article  Google Scholar 

  21. Prud’hommeaux, E., Seaborne, A.: SPARQL query language for RDF. W3C recommendation, January 2008. http://www.w3.org/TR/rdf-sparql-query/

  22. Glimm, B., Horrocks, I., Motik, B., Stoilos, G., Wang, Z.: HermiT: an OWL 2 reasoner. J. Autom. Reason. 53(3), 245–269 (2014)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Baboucar Diatta .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Basse, A., Diatta, B., Ouya, S. (2021). Ontology-Based System for Automatic SQL Exercises Generation. In: Auer, M.E., Tsiatsos, T. (eds) Internet of Things, Infrastructures and Mobile Applications. IMCL 2019. Advances in Intelligent Systems and Computing, vol 1192. Springer, Cham. https://doi.org/10.1007/978-3-030-49932-7_69

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-49932-7_69

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-49931-0

  • Online ISBN: 978-3-030-49932-7

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics