The knowledge base system includes {HEAD ~ an interface device} that receives said {TAIL ~ knowledge base} by a user, and a generating device that generates a program based upon the knowledge base 
receives
The knowledge base system includes { HEAD ~ an interface device } that receives said { TAIL ~ knowledge base } by a user , and a generating device that generates a program based upon the knowledge base
OTH OTH OTH OTH OTH HEAD HEAD HEAD HEAD HEAD HEAD HEAD OTH REL OTH TAIL TAIL TAIL TAIL TAIL TAIL OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH