Accelerate the Value of Data

Dependent Survivorship Rule

You can identify a source to calculate Operational Value based on the value of another attribute.

You can define a survivorship rule in a manner where you provide precedence to certain data sources based on the value of another attribute.

For example, assume a configuration where the relationship type ProductToCountry includes a nested attribute for Language and an attribute for Type.

Relationship type: ProductToCountry with attributes:

  • Language (Nested)
    • Overview
  • Type (Simple String)

You can apply the survivorship rule where you can specify the source used to calculate the OV for the ProductToCountry.Language.Overview attribute based on the value of the Type relationship type attribute, For example, when Type = Episode, set source order to A, B, C, D, E, Reltio, F as shown below:

{
            "attribute": "configuration/relationTypes/ProductToCountry/attributes/Language/attributes/Overview",
            "sourcesUriOrder": [
            "configuration/sources/A",
            "configuration/sources/B",
            "configuration/sources/C",
            "configuration/sources/D",
            "configuration/sources/E",
            "configuration/sources/Reltio",
            "configuration/sources/F"
            ],
            "survivorshipStrategy": "SRC_SYS",
            "filter": {
            "equals": [
            {
            "URI": "configuration/relationTypes/ProductToCountry/attributes/Type",
            "value": "Episode"
            }
            ]
            }
            }

To set source order to C, A, B, D, E, Reltio, F when Type = Documentary:

{
            "attribute": "configuration/relationTypes/ProductToCountry/attributes/Language/attributes/Overview",
            "sourcesUriOrder": [
            "configuration/sources/C",
            "configuration/sources/A",
            "configuration/sources/B",
            "configuration/sources/D",
            "configuration/sources/E",
            "configuration/sources/Reltio",
            "configuration/sources/F"
            ],
            "survivorshipStrategy": "SRC_SYS",
            "filter": {
            "equals": [
            {
            "URI": "configuration/relationTypes/ProductToCountry/attributes/Type",
            "value": "Documentary"
            }
            ]
            }
            }

Each survivorship rule is calculated separately. In this case, if Type has both Episode and Documentary values, there can be two winners for the Overview attribute. If the Type value is Episode, the configuration/sources/D source order is used to calculate the winner by this mapping. Alternatively, if the Type value is Documentary, the configuration/sources/B source order is used to calculate the winner by this mapping.

Note: Multiple mappings do not have a common fallback strategy. Each fallback strategy specified inside a rule is applicable only for that particular rule.