Voting assistant in Prolog

This application can give you suggestion about your voting choice. A user can make a list of politicians and their own views in the source file. Ask the application which politician is the most suitable to vote for in next elections.

This application has two modes:

automatic mode, wherethe voter is defined in data-sets with the following views

likes(voter, profamily).
likes(voter, naturalfood).
likes(voter, pacifism).
likes(voter, closedborders).
likes(voter, liberalism).
likes(voter, strongarmy).
likes(voter, lowtax).

reading mode, where a user must provide views in Prolog’s list syntax:

% ?- reading.
% |: [lowtax, war, profamily].

[Total: 0    Average: 0/5]