0

Key word dynamically.

I've been trying out JPL for SWI-Prolog but as far as I can tell, all that can do is take a pre-written Prolog file and dynamically construct some queries to be run on that knowledge base. It has no way of actually adding to the knowledge base.

What I envisage is a user running the Java program being able to add rules to the Prolog knowledge base through some kind of command line interface (i.e. setting the properties of certain objects that the user creates in an interactive fiction story).

Can JPL do this? Can any Prolog interface? Or do I have to go back to finding a Java knowledge representation library that isn't either hugely overengineered (Cyc) or a buggy mess (Tweety)? If so, do you have any to recommend?

user5513268
  • 41
  • 1
  • 2

0 Answers0