% AILog representation for a simplified movie domain
% This is code from the slides of lect3 in ch14 of
% Poole and Mackworth, Artificial Intelligence: foundations of
% computational agents, Cambridge, 2010. http://artint.info
% Copyright (c) David Poole and Alan Mackworth 2012. This program
% is released under GPL, version 3 or later; see http://www.gnu.org/licenses/gpl.html
% To run this in AILog, you should put it in the same directory as AILog and then call
% load 'movie.ailog'.
prob young(P):0.4.
prob genre(M)=action:0.4, genre(M)=romance:0.3, genre(M)=family:0.3.
likes(P,M)