openaire-graph-docs/versioned_docs/version-7.0.0/data-model/relationships/relationship-object.md

2.1 KiB

title
The Relationship object

The Relationship object

A relationship in the Graph is represented with the data type presented in this page, which aims to model a directed edge between two nodes, providing information about its semantics, provenance and validation.

source

Type: String • Cardinality: ONE

OpenAIRE identifier of the node in the graph.

"source": "openorgs____::1cb75a3ad756e4c83e455e3e7347643b"

sourceType

Type: String • Cardinality: ONE

Graph node type.

"sourceType": "organization"

target

Type: String • Cardinality: ONE

OpenAIRE identifier of the node in the graph.

"target": "doajarticles::022409068174087a003647ff46070f7f"

targetType

Type: String • Cardinality: ONE

Graph node type.

"target": "datasource"

reltype

Type: RelType • Cardinality: ONE

Represent the semantics of the relationship between two nodes of the graph.

"reltype": {
    "name": "provides",
    "type": "provision"
}

provenance

Type: Provenance • Cardinality: ONE

Indicates the process that produced (or provided) the information.

"provenance": {
    "provenance": "Harvested",
    "trust":"0.900"
}

validated

Type: Boolean • Cardinality: ONE

Indicates weather or not the relationship was validated.

"validated": true

validationDate

Type: String • Cardinality: ONE

Indicates the validation date of the relationship - applies only when the validated flag is set to true.

"validationDate": "2022-09-02"

The RelType object

The RelType data type models the semantic of the relationship among two nodes.

type

Type: String • Cardinality: ONE

The relationship category, e.g. affiliation, citation. (see relationship types).

"name": "provides"

name

Type: String • Cardinality: ONE

Further specifies the relationship semantic, indicating the relationship direction, e.g. Cites, isCitedBy.

"type": "provision"