Skip to main content

Automatic Source Code Generation from Owl Pseudocode

  • Conference paper
  • First Online:
  • 2037 Accesses

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

Abstract

Algorithmics is a crucial step in programming learning processes. It helps learners to propose a better writing and understanding of solutions without worrying about programming language syntactic complexity. Once algorithm is clearly established, the next step is to translate it into a given programming language. When writing programs, syntax errors are common mainly due to the multiplicity of programming languages and strict syntactic rules. We propose in this work a web and mobile interface to automatically generate, from algorithms based on Pseudocode ontology, the corresponding codes in several programming languages such as C, Pascal and Python.

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

References

  1. Diatta, B., Basse, A., Ouya, S.: PasOnto: ontology for learning pascal programming language. In: 2019 IEEE Global Engineering Education Conference (EDUCON), pp. 749–754. IEEE (April, 2019)

    Google Scholar 

  2. Sosnovsky, S., Gavrilova, T.: Development of educational ontology for C-programming. Int. J. Inf. Theor. Appl. 13(4), 303–308 (2006)

    Google Scholar 

  3. Pierrakeas, C., Solomou, G., Kameas, A.: An ontology-based approach in learning programming languages. In: 2012 16th Panhellenic Conference on Informatics (PCI), pp. 393–398. IEEE (October, 2012)

    Google Scholar 

  4. Kouneli, A., Solomou, G., Pierrakeas, C., Kameas, A.: Modeling the knowledge domain of the Java programming language as an ontology. In: International Conference on Web-Based Learning, pp. 152–159. Springer, Heidelberg (September, 2012)

    Google Scholar 

  5. Alnusair, A., Zhao, T.: Component search and reuse: an ontology-based approach. In: 2010 IEEE International Conference on Information Reuse and Integration (IRI), pp. 258–261. IEEE (August, 2010)

    Google Scholar 

  6. Atzeni, M., Atzori, M.: CodeOntology: RDFization of source code. In: International Semantic Web Conference, pp. 20–28. Springer, Cham (October, 2017)

    Google Scholar 

  7. Ivanova, T.: Bilingual ontologies for teaching programming in Java. In: Romansky, R. (ed.) Proceedings of the International Conference on Information Technologies, pp. 182–195 (2014)

    Google Scholar 

  8. Ganapathi, G., Lourdusamy, R., Rajaram, V.: Towards ontology development for teaching programming language. In: World Congress on Engineering (2011)

    Google Scholar 

  9. Epure, C., Iftene, A.: Semantic analysis of source code in object oriented programming. A case study for C. Rom. J. Hum.-Comput. Interact. 9(2), 103 (2016)

    Google Scholar 

  10. Diatta, B., Basse, A., Ndiaye, N.M.: Framework and ontology for modeling and querying algorithms. In: International Conference on Interactive Collaborative Learning, pp. 536–544. Springer, Cham (September, 2018)

    Google Scholar 

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

  12. Prud’hommeaux, E., Seaborne, A.: SPARQL Query Language for RDF. W3C Recommendation, January 2008. http://www.w3.org/TR/rdf-sparql-query/

  13. Glimm, B., Horrocks, I., Motik, B., Stoilos, G., Wang, Z.: HermiT: an OWL 2 reasoner. J. Autom. Reasoning 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

Diatta, B., Basse, A., Deme, C.B., Ouya, S. (2021). Automatic Source Code Generation from Owl Pseudocode. 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_67

Download citation

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

  • 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