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

From Odp

Jump to: navigation, search
Current revision (15:55, 10 May 2011) (view source)
 
(3 intermediate revisions not shown.)
Line 5: Line 5:
| 0 || || only for students exercising with method guidelines || || || ||
| 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 . } || - || - || - ||
+
| 1 || What instruments does a certain person play? || 1° (SPARQL Query) ||  SELECT ?person ?instrument  WHERE { ?person :playsInstrument ?instrument . } || - || - || not too hard, a few minutes ||
|-
|-
-
| 2 || 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 ?membershipStartDate . ?time :membershipEndDate ?membershipEndDate . } or also just SELECT ?person ?band ?membershipStartDate ?membershipEndDate  WHERE { ?time :member ?person . ?time :band ?band . ?time :membershipStartDate ?membershipStartDate . ?time :membershipEndDate ?membershipEndDate . } || - || - || - ||
+
| 2 || 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 ?membershipStartDate . ?time :membershipEndDate ?membershipEndDate . } or also just SELECT ?person ?band ?membershipStartDate ?membershipEndDate  WHERE { ?time :member ?person . ?time :band ?band . ?time :membershipStartDate ?membershipStartDate . ?time :membershipEndDate ?membershipEndDate . } || - || - || a tad hard (had to figure out how to deal with Data Properties), quite a bit longer ||
|-
|-
-
| 3 || || || || || ||
+
| 3 || What tracks are recordings of a certain song? || 1° (SPARQL Query) || SELECT ?track ?song WHERE { ?track :recordingOf ?song . } || - || - || after #1 easy enough, about a minute||
 +
|-
 +
| 4 || What is the genre, e.g., rock or pop, of this track? || 1° (SPARQL Query) ||  SELECT ?track ?genre WHERE { ?track :genre ?genre . } || - || - || similar to #1, less than a minute||
|-
|-
|}
|}

Current revision

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 . } - - not too hard, a few minutes
2 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 ?membershipStartDate . ?time :membershipEndDate ?membershipEndDate . } or also just SELECT ?person ?band ?membershipStartDate ?membershipEndDate WHERE { ?time :member ?person . ?time :band ?band . ?time :membershipStartDate ?membershipStartDate . ?time :membershipEndDate ?membershipEndDate . } - - a tad hard (had to figure out how to deal with Data Properties), quite a bit longer
3 What tracks are recordings of a certain song? 1° (SPARQL Query) SELECT ?track ?song WHERE { ?track :recordingOf ?song . } - - after #1 easy enough, about a minute
4 What is the genre, e.g., rock or pop, of this track? 1° (SPARQL Query) SELECT ?track ?genre WHERE { ?track :genre ?genre . } - - similar to #1, less than a minute
Personal tools
Quality Committee
Content OP publishers