learning datalog
filter out incomplete entries