Skip to main content

Natural Language Generation from Ontologies

  • Conference paper
  • First Online:

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

Abstract

This paper addresses the problem of automatic generation of natural language descriptions for ontology-described artifacts. The original motivation for the work is the challenge of providing textual narratives of automatically generated scientific workflows (e.g., paragraphs that scientists can include in their publications). The paper presents two systems which generate descriptions of sets of atoms derived from a collection of ontologies. The first system, called nlgPhylogeny, demonstrates the feasibility of the task in the Phylotastic project, providing evolutionary biologists with narrative for automatically generated analysis workflows. nlgPhylogeny utilizes the fact that the Grammatical Framework (GF) is suitable for the natural language generation (NLG) task; the paper shows how elements of the ontologies in Phylotastic, such as web services and information artifacts, can be encoded in GF for the NLG task. The second system, called \(\mathtt{\small nlgOntology}^{A}\), is a generalization of nlgPhylogeny. It eliminates the requirement that a GF needs to be defined and proposes the use of annotated ontologies for NLG. Given a set of annotated ontologies, \(\mathtt{\small nlgOntology}^{A}\) generates a GF suitable for the creation of natural language descriptions of sets of atoms derived from these ontologies. The paper describes the algorithms used in the development of nlgPhylogeny and \(\mathtt{\small nlgOntology}^{A}\) and discusses potential applications of these systems.

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

Learn about institutional subscriptions

Notes

  1. 1.

    http://coherentknowledge.com.

  2. 2.

    http://gem.med.yale.edu/ergo/default.htm.

  3. 3.

    https://ttsreader.com.

  4. 4.

    https://github.com/Attempto/APE.

  5. 5.

    http://www.molto-project.eu.

  6. 6.

    For simplicity, we use examples which are linear sequences of services. We also trim the names of services for readability.

  7. 7.

    http://www.grammaticalframework.org/lib/doc/synopsis.html.

  8. 8.

    http://theswo.sourceforge.net.

  9. 9.

    http://www.obofoundry.org.

References

  1. Stoltzfus, A., et al.: Phylotastic! making tree-of-life knowledge accessible, reusable and convenient. BMC Bioinform. 14, 158 (2013)

    Article  Google Scholar 

  2. Angelov, K., Bringert, B., Ranta, A.: PGF: a portable run-time format for type-theoretical grammars. J. Logic Lang. Inf. 19, 201–228 (2010)

    Article  Google Scholar 

  3. Burden, H., Heldal, R.: Natural language generation from class diagrams. In: Proceedings of the 8th International Workshop on Model-Driven Engineering, Verification and Validation (MoDeVVa 2011), Wellington, New Zealand. ACM (2011)

    Google Scholar 

  4. Fuchs, N.E., Schwitter, R.: Attempto controlled English (ACE). CoRR cmp-lg/9603003 (1996)

    Google Scholar 

  5. Kamp, H., Reyle, U.: From Discourse to Logic. Springer, Dordrecht (1993). https://doi.org/10.1007/978-94-017-1616-1

    Book  MATH  Google Scholar 

  6. Nguyen, T.H., Son, T.C., Pontelli, E.: Automatic web services composition for phylotastic. In: Calimeri, F., Hamlen, K., Leone, N. (eds.) PADL 2018. LNCS, vol. 10702, pp. 186–202. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-73305-0_13

    Chapter  Google Scholar 

  7. Prosdocimi, F., Chisham, B., Thompson, J., Pontelli, E., Stoltzfus, A.: Initial implementation of a comparative data analysis ontology. Evol. Bioinform. 5, 47–66 (2009)

    Article  Google Scholar 

  8. Ranta, A.: Grammatical framework. J. Funct. Program. 14(2), 145–189 (2004)

    Article  MathSciNet  Google Scholar 

  9. Ranta, A.: Grammatical framework: Programming with multilingual grammars. CSLI Publications, Center for the Study of Language and Information (2011)

    Google Scholar 

  10. Reiter, E., Dale, R.: Building Natural Language Generation Systems. Cambridge University Press, Cambridge (2000)

    Book  Google Scholar 

  11. Schwitter, R.: Specifying and verbalising answer set programs in controlled natural language (2018). arXiv preprint: arXiv:1804.10765

  12. Vrandei, D.: Capturing meaning: Toward an abstract wikipedia. http://ceur-ws.org/Vol-2180/

Download references

Acknowledgement

We thank the reviewers for the comments and the references, especially [12]. We would like to acknowledge the partial support of the NSF grants 1458595, 1401639, and 1345232.

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to Van Nguyen , Tran Cao Son or Enrico Pontelli .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Nguyen, V., Son, T.C., Pontelli, E. (2019). Natural Language Generation from Ontologies. In: Alferes, J., Johansson, M. (eds) Practical Aspects of Declarative Languages. PADL 2019. Lecture Notes in Computer Science(), vol 11372. Springer, Cham. https://doi.org/10.1007/978-3-030-05998-9_5

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-05998-9_5

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-05997-2

  • Online ISBN: 978-3-030-05998-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics