source: examples/python_tests/alumni3_rt1/alumni3.save @ 7211a95

mei_rt2mei_rt2_fix_1
Last change on this file since 7211a95 was 7211a95, checked in by Mei <mei@…>, 12 years ago

1) add more python examples
2) add the missing linking role and linking oset api calls
3) fix the output of time typed data term/oset obj in typed_string format

(transform back from yap time format to our ddddddddTdddddd format

  • Property mode set to 100644
File size: 1.1 KB
Line 
1% Restoring file /usr/local/lib/Yap/startup.yss
2
3===good============ stateU.foundingAlumni <- Bob
4YAP query succeed
5pStateU.foundingAlumni <- pStateU.diploma(D:['psychology','mathmatics'],Year:[1963,1961,1960])
6pStateU.diploma('mathmatics',1961) <- pBob
7
8===bad============ stateU.foundingAlumni <- Mark
9YAP query failed
10
11===bad============ stateU.foundingAlumni <- Joe
12YAP query failed
13
14===bad============ stateU.foundingAlumni <- Maryann
15YAP query failed
16
17===good============ stateU.foundingAlumni <- Jan
18YAP query succeed
19pStateU.foundingAlumni <- pStateU.diploma(D:['psychology','mathmatics'],Year:[1963,1961,1960])
20pStateU.diploma('psychology',1960) <- pJan
21
22...final principal set...
23(pBob,keyid,y)
24(pJan,keyid,y)
25(pJoe,keyid,y)
26(pMark,keyid,y)
27(pMaryann,keyid,y)
28(pStateU,keyid,y)
29
30
31
32...final policy attribute set...
33pStateU.diploma('mathmatics',1961) <- pBob
34pStateU.diploma('mathmatics',1965) <- pMark
35pStateU.diploma('psychology',1960) <- pJan
36pStateU.diploma('psychology',1962) <- pMaryann
37pStateU.diploma('zoology',1961) <- pJoe
38pStateU.foundingAlumni <- pStateU.diploma(D:['psychology','mathmatics'],Year:[1963,1961,1960])
39
40
Note: See TracBrowser for help on using the repository browser.