Line 10: Line 10:
 
  || none || none || none  
 
  || none || none || none  
 
|-  
 
|-  
| 1 || || || || || ||
+
| 1 || CQ2 || 1||  
 +
SELECT ?p ?band ?year_start ?year_end ?strument
 +
WHERE {
 +
    ?p a mi:Person .
 +
?band a mi:Band .
 +
?timeindex a mi:TimeIndexedMembership .
 +
?timeindex mi:band ?band .
 +
?timeindex mi:member ?p .
 +
?timeindex mi:membershipStartDate ?year_start .
 +
?timeindex mi:membershipEndDate ?year_end .
 +
        ? p mi:bassPlayerOf
 +
}
 +
... no way to express
 +
|| no way to express the role of a person ||  
 +
design pattern : ObjectRole
 +
||
 
|-
 
|-
 
| 2 || || || || || ||
 
| 2 || || || || || ||

Revision as of 14:54, 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 CQ1 1

SELECT ?p ?strument WHERE { ?p a :Person . ?p :playsInstrument ?strument }

none none none
1 CQ2 1

SELECT ?p ?band ?year_start ?year_end ?strument WHERE {

   ?p a mi:Person .

?band a mi:Band . ?timeindex a mi:TimeIndexedMembership . ?timeindex mi:band ?band . ?timeindex mi:member ?p . ?timeindex mi:membershipStartDate ?year_start . ?timeindex mi:membershipEndDate ?year_end .

       ? p mi:bassPlayerOf

} ... no way to express

no way to express the role of a person

design pattern : ObjectRole

2
3
4
The page [[Bootstrap:Footer]] was not found.