Skip to content

FiorelaCiroku/knowledge-engineering

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

Ontology testing in XD

This repository provides material and examples for the Knowledge Engineering class class on ontology testing in eXtreme Design methodology, that will take place on December 14th.

Video Tutorial and Slides

Links

Assignment

Sources

Screenshot 2021-12-10 at 02 46 04

Tasks

  • Translate the competency question to a SPARQL query.
  • Create a toy dataset for the competency question verification test based on the requirement.
  • Create an expected result file for the competency question verification test based on the requirement.
  • Construct a competency question verification test based on the requirement, including the above components.
  • Create an inference verification test case on a requirement of your choosing.
  • Create an error provocation test case.
  • Create a toy dataset for the error provocation test.

Competency question verification test

@prefix owlunit: <https://w3id.org/OWLunit/ontology/> .

tc:xx a owlunit:CompetencyQuestionVerification ;
  owlunit:hasCompetencyQuestion " " ;
 	owlunit:hasSPARQLUnitTest " " ;
	owlunit:hasInputData td:xx ;
	owlunit:hasInputTestDataCategory owlunit:ToyDataset ;
	owlunit:hasExpectedResult " ";
	owlunit:testsOntology xx: .

Inference verification test

@prefix owlunit: <https://w3id.org/OWLunit/ontology/> . 

tc:xx a owlunit:InferenceVerification ;
	owlunit:hasInputData ex:xx ;
	owlunit:hasSPARQLUnitTest " " ;
	owlunit:hasReasoner owlunit:HermiT ;
	owlunit:hasExpectedResult true/false ;
 	owlunit:testsOntology xx: .

Error provocation test

@prefix owlunit: <https://w3id.org/OWLunit/ontology/> . 

tc:xx a owlunit:ErrorProvocation ;
	owlunit:hasInputData td:xx ;
 	owlunit:testsOntology xx: .

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published