1 | |
---|
2 | ...ctxtA principals |
---|
3 | (pStateU,keyid,y) |
---|
4 | (pBob,keyid,n) |
---|
5 | (pMark,keyid,n) |
---|
6 | |
---|
7 | ...ctxtA attributes |
---|
8 | pStateU.foundingAlumni <- pStateU.diploma(D:['psychology','mathmatics'],Year:[1963,1961,1960]) |
---|
9 | pStateU.diploma('mathmatics',1961) <- pBob |
---|
10 | pStateU.diploma('mathmatics',1965) <- pMark |
---|
11 | |
---|
12 | ...ctxtB principals |
---|
13 | (pStateU,keyid,y) |
---|
14 | (pBob,keyid,n) |
---|
15 | (pMark,keyid,n) |
---|
16 | (pJoe,keyid,n) |
---|
17 | (pMaryann,keyid,n) |
---|
18 | (pJan,keyid,n) |
---|
19 | |
---|
20 | ...ctxtB attributes |
---|
21 | pStateU.foundingAlumni <- pStateU.diploma(D:['psychology','mathmatics'],Year:[1963,1961,1960]) |
---|
22 | pStateU.diploma('mathmatics',1961) <- pBob |
---|
23 | pStateU.diploma('mathmatics',1965) <- pMark |
---|
24 | pStateU.diploma('zoology',1961) <- pJoe |
---|
25 | pStateU.diploma('psychology',1962) <- pMaryann |
---|
26 | pStateU.diploma('psychology',1960) <- pJan |
---|
27 | |
---|
28 | ...ctxtC principals |
---|
29 | (pStateU,keyid,y) |
---|
30 | (pMaryann,keyid,n) |
---|
31 | (pJan,keyid,n) |
---|
32 | |
---|
33 | ...ctxtC attributes |
---|
34 | pStateU.foundingAlumni <- pStateU.diploma(D:['psychology','mathmatics'],Year:[1963,1961,1960]) |
---|
35 | pStateU.diploma('psychology',1962) <- pMaryann |
---|
36 | pStateU.diploma('psychology',1960) <- pJan |
---|
37 | |
---|
38 | |
---|
39 | ===good============ ctxtA,stateU.foundingAlumni <- Bob |
---|
40 | YAP query succeed |
---|
41 | pStateU.foundingAlumni <- pStateU.diploma(D:['psychology','mathmatics'],Year:[1963,1961,1960]) |
---|
42 | pStateU.diploma('mathmatics',1961) <- pBob |
---|
43 | |
---|
44 | |
---|
45 | ===good============ ctxtB,stateU.foundingAlumni <- Bob |
---|
46 | YAP query succeed |
---|
47 | pStateU.foundingAlumni <- pStateU.diploma(D:['psychology','mathmatics'],Year:[1963,1961,1960]) |
---|
48 | pStateU.diploma('mathmatics',1961) <- pBob |
---|
49 | |
---|
50 | |
---|
51 | ===bad============ ctxtC,stateU.foundingAlumni <- Bob |
---|
52 | YAP query failed |
---|
53 | |
---|
54 | |
---|
55 | ===bad============ ctxtA,stateU.foundingAlumni <- Jan |
---|
56 | YAP query failed |
---|
57 | |
---|
58 | |
---|
59 | ===good============ ctxtB,stateU.foundingAlumni <- Jan |
---|
60 | YAP query succeed |
---|
61 | pStateU.foundingAlumni <- pStateU.diploma(D:['psychology','mathmatics'],Year:[1963,1961,1960]) |
---|
62 | pStateU.diploma('psychology',1960) <- pJan |
---|
63 | |
---|
64 | |
---|
65 | ===good============ ctxtC,stateU.foundingAlumni <- Jan |
---|
66 | YAP query succeed |
---|
67 | pStateU.foundingAlumni <- pStateU.diploma(D:['psychology','mathmatics'],Year:[1963,1961,1960]) |
---|
68 | pStateU.diploma('psychology',1960) <- pJan |
---|