Skip to main content

Requirements Behaviour Analysis for Ontology Testing

  • Conference paper
  • First Online:

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

Abstract

In the software engineering field, every software product is delivered with its pertinent associated tests which verify its correct behaviour. Besides, there are several approaches which, integrated in the software development process, deal with software testing, such as unit testing or behaviour-driven development. However, in the ontology engineering field there is a lack of clearly defined testing processes that can be integrated into the ontology development process. In this paper we propose a testing framework composed by a set of activities (i.e., test design, implementation and execution), with the goal of checking whether the requirements identified are satisfied by the formalization and analysis of their expected behaviour. This testing framework can be used in different types of ontology development life-cycles, or concerning other goals such as conformance testing between ontologies. In addition to this, we propose an RDF vocabulary to store, publish and reuse these test cases and their results, in order to allow traceability between the ontology, the test cases and their requirements. We validate our approach by integrating the testing framework into an ontology engineering process where an ontology network has been developed following agile principles.

This work is partially supported by the H2020 project VICINITY: Open virtual neighbourhood network to connect intelligent buildings and smart objects (H2020-688467) and by a Predoctoral grant from the I+D+i program of the Universidad Politécnica de Madrid.

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.

    This term is borrowed from the Software Engineering field, in which functional requirements refer to the functionalities the software system should have.

  2. 2.

    https://bitbucket.org/malefort/scone.

  3. 3.

    https://docs.cucumber.io/.

  4. 4.

    https://w3id.org/def/vtc.

  5. 5.

    https://www.w3.org/TR/owl2-manchester-syntax/.

  6. 6.

    At the time of writing, the authors only had access to the requirements of these ontologies.

  7. 7.

    http://vicinity.iot.linkeddata.es/vicinity/.

  8. 8.

    https://w3id.org/saref.

  9. 9.

    https://bitbucket.org/malefort/scone.

  10. 10.

    http://iot.linkeddata.es/def/core/.

  11. 11.

    During the development of this work part of the VICINITY Core ontology was transferred to a new ontology.

  12. 12.

    http://iot.linkeddata.es/def/wot/.

  13. 13.

    http://iot.linkeddata.es/def/wot-mappings/.

  14. 14.

    http://vicinity2020.eu/vicinity/.

  15. 15.

    http://vicinity.iot.linkeddata.es/vicinity/testing.html.

References

  1. Auer, S.: The RapidOWL Methodology - towards agile knowledge engineering. In: Proceedings of the IEEE International Workshop on Enabling Technologies: Infrastructures for Collaborative Enterprises (WETICE 2006), pp. 352–357 (2006)

    Google Scholar 

  2. Blomqvist, E., Seil Sepour, A., Presutti, V.: Ontology testing - methodology and tool. In: ten Teije, A., et al. (eds.) EKAW 2012. LNCS, vol. 7603, pp. 216–226. Springer, Heidelberg (2012). https://doi.org/10.1007/978-3-642-33876-2_20

    Chapter  Google Scholar 

  3. Daga, E., et al.: NeOn D2.5.2 Pattern based ontology design: methodology and software support

    Google Scholar 

  4. Dennis, M., van Deemter, K., Dell’Aglio, D., Pan, J.Z.: Computing authoring tests from competency questions: experimental validation. In: d’Amato, C., et al. (eds.) ISWC 2017. LNCS, vol. 10587, pp. 243–259. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-68288-4_15

    Chapter  Google Scholar 

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

    Google Scholar 

  6. Gangemi, A., Presutti, V.: Ontology design patterns. In: Staab, S., Studer, R. (eds.) Handbook on Ontologies, pp. 221–243. Springer, Heidelberg (2009). https://doi.org/10.1007/978-3-540-92673-3

    Chapter  Google Scholar 

  7. García-Ramos, S., Otero, A., Fernández-López, M.: OntologyTest: a tool to evaluate ontologies through tests defined by the user. In: Omatu, S., et al. (eds.) IWANN 2009. LNCS, vol. 5518, pp. 91–98. Springer, Heidelberg (2009). https://doi.org/10.1007/978-3-642-02481-8_13

    Chapter  Google Scholar 

  8. Grüninger, M., Fox, M.S.: Methodology for the Design and Evaluation of Ontologies (1995)

    Google Scholar 

  9. Hamill, P.: Unit Test Frameworks: Tools for High-quality Software Development. O’Reilly Media Inc., Sebastopol (2004)

    Google Scholar 

  10. Keet, C.M., Ławrynowicz, A.: Test-driven development of ontologies. In: Sack, H., et al. (eds.) ESWC 2016. LNCS, vol. 9678, pp. 642–657. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-34129-3_39

    Chapter  Google Scholar 

  11. Parkkila, J., et al.: An ontology for videogame interoperability. Multimedia Tools Appl. 76(4), 4981–5000 (2017)

    Article  Google Scholar 

  12. Peroni, S.: A simplified agile methodology for ontology development. In: Dragoni, M., Poveda-Villalón, M., Jimenez-Ruiz, E. (eds.) OWLED/ORE 2016. LNCS, vol. 10161, pp. 55–69. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-54627-8_5

    Chapter  Google Scholar 

  13. Ren, Y., Parvizi, A., Mellish, C., Pan, J.Z., van Deemter, K., Stevens, R.: Towards competency question-driven ontology authoring. In: Presutti, V. (ed.) ESWC 2014. LNCS, vol. 8465, pp. 752–767. Springer, Cham (2014). https://doi.org/10.1007/978-3-319-07443-6_50

    Chapter  Google Scholar 

  14. Solis, C., Wang, X.: A study of the characteristics of behaviour driven development. In: Proceedings on the EUROMICRO Conference on Software Engineering and Advanced Applications (SEAA 2011), pp. 383–387 (2011)

    Google Scholar 

  15. Suárez-Figueroa, M.C., Gómez-Pérez, A., Fernández-López, M.: The NeOn methodology for ontology engineering. In: Suárez-Figueroa, M.C., Gómez-Pérez, A., Motta, E., Gangemi, A. (eds.) Ontology Engineering in a Networked World, pp. 9–34. Springer, Heidelberg (2012). https://doi.org/10.1007/978-3-642-24794-1_2

    Chapter  Google Scholar 

  16. Suárez-Figueroa, M.C., Gómez-Pérez, A., Villazón-Terrazas, B.: How to write and use the ontology requirements specification document. In: Meersman, R., Dillon, T., Herrero, P. (eds.) OTM 2009. LNCS, vol. 5871, pp. 966–982. Springer, Heidelberg (2009). https://doi.org/10.1007/978-3-642-05151-7_16

    Chapter  Google Scholar 

  17. Sure, Y., Erdmann, M., Angele, J., Staab, S., Studer, R., Wenke, D.: OntoEdit: collaborative ontology development for the semantic web. In: Horrocks, I., Hendler, J. (eds.) ISWC 2002. LNCS, vol. 2342, pp. 221–235. Springer, Heidelberg (2002). https://doi.org/10.1007/3-540-48005-6_18

    Chapter  MATH  Google Scholar 

  18. Vrandečić, D., Gangemi, A.: Unit tests for ontologies. In: Meersman, R., Tari, Z., Herrero, P. (eds.) OTM 2006. LNCS, vol. 4278, pp. 1012–1020. Springer, Heidelberg (2006). https://doi.org/10.1007/11915072_2

    Chapter  Google Scholar 

  19. Wynne, M., Hellesoy, A., Tooke, S.: The Cucumber Book: Behaviour-Driven Development for Testers and Developers. Pragmatic Bookshelf, Raleigh (2017)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Alba Fernández-Izquierdo .

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

Fernández-Izquierdo, A., García-Castro, R. (2018). Requirements Behaviour Analysis for Ontology Testing. In: Faron Zucker, C., Ghidini, C., Napoli, A., Toussaint, Y. (eds) Knowledge Engineering and Knowledge Management. EKAW 2018. Lecture Notes in Computer Science(), vol 11313. Springer, Cham. https://doi.org/10.1007/978-3-030-03667-6_8

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-03667-6_8

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-03666-9

  • Online ISBN: 978-3-030-03667-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics