Training:PhD Course on Computational Ontologies @ University of Bologna 2011/Ontology Testing/ArmirBujari
From Odp
(Difference between revisions)
(New page: {| border="1" align="center" style="text-align:center;" |+ Testing Exercise - document your work on methods used | '''Number''' || '''Requirement tested''' || '''Method used''' || '''Test...) |
|||
Line 3: | Line 3: | ||
| '''Number''' || '''Requirement tested''' || '''Method used''' || '''Test applied''' || '''Error(s) found''' || '''Suggestions/ideas for solution''' || '''Additional notes''' | | '''Number''' || '''Requirement tested''' || '''Method used''' || '''Test applied''' || '''Error(s) found''' || '''Suggestions/ideas for solution''' || '''Additional notes''' | ||
|- | |- | ||
- | | 0 || || only for students exercising with method guidelines || || || || | + | | 0 |A track has only one genre| || only for students exercising with method guidelines |Unit testing (track, genre) |
+ | Query: | ||
+ | SELECT ?p ?y | ||
+ | WHERE { | ||
+ | ?p a :Track . | ||
+ | ?p :genre ?y | ||
+ | } | ||
+ | |||
+ | | | | ||
+ | |||
+ | The track name can have more than one genre associated | ||
+ | | || || | ||
|- | |- | ||
- | | 1 || || || || || || | + | |
+ | |||
+ | | 1 | | ||
+ | A track realizes only one song | ||
+ | | || | | ||
+ | Unit testing (track, associatedSong) | ||
+ | Query: | ||
+ | SELECT ?p ?y | ||
+ | WHERE { | ||
+ | ?p a :Track . | ||
+ | ?p :recordingOf ?y | ||
+ | } | ||
+ | | | | ||
+ | |||
+ | The track name can have more than one genre associated | ||
+ | | || || | ||
|- | |- | ||
+ | |||
+ | |||
| 2 || || || || || || | | 2 || || || || || || | ||
|- | |- |
Revision as of 14:50, 10 May 2011
Number | Requirement tested | Method used | Test applied | Error(s) found | Suggestions/ideas for solution | Additional notes |
A track has only one genre| | Unit testing (track, genre)
Query: SELECT ?p ?y WHERE { ?p a :Track . ?p :genre ?y } |
The track name can have more than one genre associated | ||||
A track realizes only one song |
Unit testing (track, associatedSong) Query: SELECT ?p ?y WHERE { ?p a :Track . ?p :recordingOf ?y } |
The track name can have more than one genre associated | ||||
2 | ||||||
3 | ||||||
4 |