Training:PhD Course on Computational Ontologies @ University of Bologna 2011/Ontology Testing/GiulioPellitta

From Odp

(Difference between revisions)
Jump to: navigation, search
Line 9: Line 9:
| 2 || Who were the members of a band in a point in time? || 1° (SPARQL Query) ||  SELECT ?person ?band WHERE { ?person :playsRoleInBand ?band . } || - || - || - ||
| 2 || Who were the members of a band in a point in time? || 1° (SPARQL Query) ||  SELECT ?person ?band WHERE { ?person :playsRoleInBand ?band . } || - || - || - ||
|-
|-
-
| 3 || || || || || ||
+
| 3 || Who were the members of a band in a point in time? || 1° (SPARQL Query) || SELECT ?person ?band ?membershipStartDate ?membershipEndDate WHERE { ?person :playsRoleInBand ?band .
 +
?time :member ?person .
 +
?time :band ?band .
 +
?time :membershipStartDate ?sDate .
 +
?time :membershipEndDate ?eDate .
 +
} or also just SELECT ?person ?band ?membershipStartDate ?membershipEndDate  WHERE { ?time :member ?person .
 +
?time :band ?band .
 +
?time :membershipStartDate ?membershipStartDate .
 +
?time :membershipEndDate ?membershipEndDate .
 +
} || - || - || - ||
|-
|-
| 4 || || || || || ||
| 4 || || || || || ||
|-
|-
|}
|}

Revision as of 15:45, 10 May 2011

Testing Exercise - document your work on methods used
Number Requirement tested Method used Test applied Error(s) found Suggestions/ideas for solution Additional notes
0 only for students exercising with method guidelines
1 What instruments does a certain person play? 1° (SPARQL Query) SELECT ?person ?instrument WHERE { ?person :playsInstrument ?instrument . } - - -
2 Who were the members of a band in a point in time? 1° (SPARQL Query) SELECT ?person ?band WHERE { ?person :playsRoleInBand ?band . } - - -
3 Who were the members of a band in a point in time? 1° (SPARQL Query) SELECT ?person ?band ?membershipStartDate ?membershipEndDate WHERE { ?person :playsRoleInBand ?band .

?time :member ?person . ?time :band ?band . ?time :membershipStartDate ?sDate . ?time :membershipEndDate ?eDate . } or also just SELECT ?person ?band ?membershipStartDate ?membershipEndDate WHERE { ?time :member ?person . ?time :band ?band . ?time :membershipStartDate ?membershipStartDate . ?time :membershipEndDate ?membershipEndDate . } || - || - || - ||

4
Personal tools
Quality Committee
Content OP publishers