Accelerate the Value of Data

URI-URI Relation

If the connectRelationsToDefaultCrosswalk property is true when a URI-URI relation is created, the following rules are applied:
  1. If the start entity has a Reltio crosswalk with the same value as its ID, this crosswalk is used as the crosswalk for the start object in the relation. Otherwise, a new Reltio crosswalk with the value equal to the entity ID is created. This new crosswalk is added to the winner contributor of the start entity. The start object of the relation is connected to this new Reltio crosswalk.
  2. The behavior is the same for the end entity. If the end entity has a Reltio crosswalk with the same value as its ID, this crosswalk is used as the crosswalk for the end object in the relation. Otherwise, a new Reltio crosswalk with the value equal to the entity ID is created. This new crosswalk is added to the winner contributor of the end entity. The end object of the relation is connected to this new Reltio crosswalk.

Request to Create a Relation

POST {{api_uri}}/{{tenant}}/relations
[
    {
        "type":"configuration/relationTypes/HasAddress",
        "startObject":{
            "objectURI":"entities/{{id_1}}"
        },
        "endObject":{
            "objectURI":"entities/{{id_2}}"
        }
    }
]

Result - When connectRelationsToDefaultCrosswalk is false

"startObject": {
        "type": "configuration/entityTypes/HCP",
        "objectURI": "...",
        "label": "...",
        "directionalLabel": "...",
        "crosswalks": []
    },
    "endObject": {
        "type": "configuration/entityTypes/Location",
        "objectURI": "...",
        "label": "...",
        "directionalLabel": "...",
        "crosswalks": []
    }

Result - When connectRelationsToDefaultCrosswalk is true

"startObject": {
        "type": "configuration/entityTypes/HCP",
        "objectURI": "entities/{{id_1}}",
        "label": "...",
        "directionalLabel": "...",
        "crosswalks": [
            {
                "uri": "...",
                "type": "configuration/sources/Reltio",
                "value": "{{id_1}}",
                ...
            }
        ]
    },
    "endObject": {
        "type": "configuration/entityTypes/Location",
        "objectURI": "entities/{{id_2}}",
        "label": "...",
        "directionalLabel": "...",
        "crosswalks": [
            {
                "uri": "...",
                "type": "configuration/sources/Reltio",
                "value": "{{id_2}}",
                ...
            }
        ]
    }