This discussion is archived
5 Replies Latest reply: Aug 28, 2012 9:09 AM by Rajan.Panchal RSS

Inferred relationship

Rajan.Panchal Newbie
Currently Being Moderated
What is the purpose of inferred relationship? when it is useful? Can anyone give an example?
thanks.
  • 1. Re: Inferred relationship
    944614 Explorer
    Currently Being Moderated
    See this topic in the Oracle Policy Modeling User's Guide, Write rules that infer relationships and entities.

    "Rules that infer relationships and entities can be useful for grouping entity instances in order to refer to the group as a whole in your rules and use the standard entity functions in a more powerful way. For example, you could:

    Collect payments and write rules to sum all payments made within the same year
    Determine eligibility for benefits and write rules to sum all eligible benefits or create a payment plan for all eligible benefits
    Collect product information and write rules to determine which services should be created based on the customer’s product

    Further examples are provided under Worked Examples" in the topic Write rules that infer relationships and entities.
  • 2. Re: Inferred relationship
    BradTuckett Pro
    Currently Being Moderated
    The basic example I like to use is determining eligibility for the children in the household. If you have the containment relationship "the children in the household", then the inferred relationship "the eligible children in the household" will be a subset of the children in the household, of whose membership is determined by one or more inferred attributes on each child. As the circumstances of a child changes, they will either be added or removed from the inferred relationship.
  • 3. Re: Inferred relationship
    WilliamPessoa Newbie
    Currently Being Moderated
    I like to use a even more basic example... List Of Clasifications

    Lets assume that:
    You are Rich if you make $200,000 or more:
    You are American if you are born in the US
    You completed a Bachelors degree if you studied more than 12yrs
    You are not a felon if you never went to jail
    and so on...

    Now you have a "Entity" that is basically the list of classification (instead of having them as a attributes)

    Entity "Classification"
    Attribute "Type"

    Now you can create a list of "type" based on the rule I described above...
    Depending on the conditions met you would dynamically have the following:
    Instance 1: Rich
    Instance 2: American
    Intance 3: Not a Felon
    (...)

    Makes sense?

    This is very good for integration with other systems
  • 4. Re: Inferred relationship
    BradTuckett Pro
    Currently Being Moderated
    Yes, inferred entity instances is another use of inferred relationships. In that case, the inferred relationship is also a containment relationship.
  • 5. Re: Inferred relationship
    Rajan.Panchal Newbie
    Currently Being Moderated
    Thanks All !

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points