AI Zone Admin Forum Add your forum

NEWS: Chatbots.org survey on 3000 US and UK consumers shows it is time for chatbot integration in customer service!read more..

Find if word is in concept
 
 

I would like to know if a word is a member of a concept

I thought

u: (fact) if (^findfact(not member ~negation) != FAILRULE_BIT) {yes}

might work but the function is failing. I even tried specifying not as not~1. Also, will findfact recurse through the concept?

 

 
  [ # 1 ]

if ( _0 ? ~animals) is a classic output way to ask.
( _~animals)  is a pattern one,
(_*1 _0?~animals) is another pattern one.

findfact is not recursive.

 

 
  [ # 2 ]

and the fact approach for non-recursive membership is:
^query(direct_svo bird member ‘~birds)

 

 
  login or register to react