1network unknown { 2} 3variable A { 4 type discrete [ 3 ] { young, adult, old }; 5} 6variable S { 7 type discrete [ 2 ] { M, F }; 8} 9variable E { 10 type discrete [ 2 ] { high, uni }; 11} 12variable O { 13 type discrete [ 2 ] { emp, self }; 14} 15variable R { 16 type discrete [ 2 ] { small, big }; 17} 18variable T { 19 type discrete [ 3 ] { car, train, other }; 20} 21probability ( A ) { 22 table 0.3, 0.5, 0.2; 23} 24probability ( S ) { 25 table 0.6, 0.4; 26} 27probability ( E | A, S ) { 28 (young, M) 0.75, 0.25; 29 (adult, M) 0.72, 0.28; 30 (old, M) 0.88, 0.12; 31 (young, F) 0.64, 0.36; 32 (adult, F) 0.7, 0.3; 33 (old, F) 0.9, 0.1; 34} 35probability ( O | E ) { 36 (high) 0.96, 0.04; 37 (uni) 0.92, 0.08; 38} 39probability ( R | E ) { 40 (high) 0.25, 0.75; 41 (uni) 0.2, 0.8; 42} 43probability ( T | O, R ) { 44 (emp, small) 0.48, 0.42, 0.10; 45 (self, small) 0.56, 0.36, 0.08; 46 (emp, big) 0.58, 0.24, 0.18; 47 (self, big) 0.70, 0.21, 0.09; 48} 49