Skip to main content

Querying an Ontology Using Natural Language

  • Conference paper
  • First Online:

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 11122))

Abstract

In the context of the development of a virtual tutor to support distance learning courses, this paper presents an approach to solve the problem of automatically answering questions posed by students in a natural language (Portuguese). Our approach is based on three main pillars: an ontology, a conversion process, and a querying process. First, the ontology, was built to model the knowledge regarding all aspects of the course; second, we defined a way of converting a natural language question to a SPARQL query; finally, the SPARQL query is executed and the result extracted from the ontology. Focusing on the second pillar mentioned above (the conversion of a NL question), we explain the whole process and present the results regarding a set of preliminary experiments.

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.

    https://unity3d.com/.

References

  1. Munir, K., Anjum, M.S.: The use of ontologies for effective knowledge modelling and information retrieval. Appl. Comput. Inform. 14(2), 116–126 (2018). https://doi.org/10.1016/j.aci.2017.07.003. ISSN 2210-8327

    Article  Google Scholar 

  2. Zemmouchi-Ghomari, L., Ghomari, A.R.: Translating natural language competency questions into SPARQL queries: a case study. In: The First International Conference on Building and Exploring Web Based Environments, pp. 81–86 (2013)

    Google Scholar 

  3. Paredes-Valverde, M.A., Rodríguez-García, M.Á., Ruiz-Martínez, A., Valencia-García, R., Alor-Hernández, G.: ONLI: an ontology-based system for querying DBpedia using natural language paradigm. Expert Syst. Appl. 42(12), 5163–5176 (2015)

    Article  Google Scholar 

  4. Shaik, S., Kanakam, P., Hussain, S.M., Suryanarayana, D.: Transforming natural language query to SPARQL for semantic information retrieval. Int. J. Eng. Trends Technol. 41, 347–350 (2016)

    Article  Google Scholar 

  5. Munsen, M.A.: The Protégé team: the protégé project: a look back and a look forward. AI Matters 1(4), 4–12 (2015)

    Article  Google Scholar 

  6. Bechhofer, S., van Harmelen, F., Hendler, J., Horrocks, I., McGuinness, D.L., Patel-Schneider, P.F., Stein, L.A.: OWL web ontology language reference. Technical report, W3C. http://www.w3.org/TR/owl-ref/(2004)

  7. Harris, S., Seaborne, A.: SPARQL 1.1 query language. W3C recommendation, W3C. http://www.w3.org/TR/2013/REC-sparql11-query-20130321/ (2013)

  8. De Carvalho, R., Querido, A., Campos, M., Pereirsa, R., Silva, J., Branco, A.: CINTIL DependencyBank PREMIUM - a corpus of grammatical dependencies for portuguese. In: Proceedings, LREC2016 - 10th Language Resources and Evaluation Conference, pp. 1552–1557 (2016)

    Google Scholar 

Download references

Acknowledgements

This work is supported by UID/MULTI/04046/2013 centre grant from FCT, Portugal (to BioISI – Biosystems & Integrative Sciences Institute) and by PTDC/IVC-PEC/3963/2014 project grant (VIRTUAL TUTORING the virtual tutor as learning mediating artifact in online university education) also from FCT. We would also like to thank our colleagues from the NLX (http://nlx.di.fc.ul.pt/) research group, for their support on using the dependency parser service.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to João Balsa .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Salgueiro, A.M., Alves, C.B., Balsa, J. (2018). Querying an Ontology Using Natural Language. In: Villavicencio, A., et al. Computational Processing of the Portuguese Language. PROPOR 2018. Lecture Notes in Computer Science(), vol 11122. Springer, Cham. https://doi.org/10.1007/978-3-319-99722-3_17

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-99722-3_17

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-99721-6

  • Online ISBN: 978-3-319-99722-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics