2 Replies Latest reply on Oct 22, 2017 12:19 PM by 3526958

    Create Rule with advanced antecedents

    3526958

      Hi everyone,

       

      My Environment: Oracle Database 12c Release 12.2.0.1.0 - 64bit Production

       

      I'm trying to create a rulebase which has one rule like:

      IF ?s "don't have" <predicate>

      THEN ?s <have> <object>

       

      I find examples in Oracle Semantic Technologies Overview are

      IF ?s "have" <predicate> and <object>

      THEN ....

       

      like,

      'grandparent_rule',

      '(?x :parentOf ?y) (?y :parentOf ?z)',

      NULL,

      '(?x :grandParentOf ?z)',

      SEM_ALIASES(SEM_ALIAS('','http://www.example.org/family/')));

       

      I want to write antecedents like this,

      who don't have parent than have a error which is a predicate.

       

      Thank you for reply!

       

      Jason