0

Say, we have some facts like

musician(sokrates).
philosopher(sokrates).
two_legged(sokrates).
dead(sokrates).

Is there any way to ask Prolog for predicates that are valid for 'sokrates' like:

X(sokrates).

I looked for some syntax to do that, but I can't imagine a solution.

Prodiction
  • 187
  • 12

0 Answers0