2023-04-05 17:28:12 +02:00
---
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
2023-07-19 10:00:10 +02:00
_Type: String • Cardinality: ONE_
2023-04-05 17:28:12 +02:00
2023-07-19 10:00:10 +02:00
OpenAIRE identifier of the node in the graph.
2023-04-05 17:28:12 +02:00
```json
2023-07-19 10:00:10 +02:00
"source": "openorgs____::1cb75a3ad756e4c83e455e3e7347643b"
```
### sourceType
_Type: String • Cardinality: ONE_
Graph node type.
```json
"sourceType": "organization"
2023-04-05 17:28:12 +02:00
```
### target
2023-07-19 10:00:10 +02:00
_Type: String • Cardinality: ONE_
2023-04-05 17:28:12 +02:00
2023-07-19 10:00:10 +02:00
OpenAIRE identifier of the node in the graph.
2023-04-05 17:28:12 +02:00
```json
2023-07-19 10:00:10 +02:00
"target": "doajarticles::022409068174087a003647ff46070f7f"
```
### targetType
_Type: String • Cardinality: ONE_
Graph node type.
```json
"target": "datasource"
2023-04-05 17:28:12 +02:00
```
### reltype
_Type: [RelType ](#the-reltype-object ) • Cardinality: ONE_
2023-11-02 11:25:53 +01:00
Represent the semantics of the relationship between two nodes of the graph.
2023-04-05 17:28:12 +02:00
```json
"reltype": {
"name": "provides",
"type": "provision"
}
```
### provenance
_Type: [Provenance ](/data-model/entities/other#provenance-1 ) • Cardinality: ONE_
Indicates the process that produced (or provided) the information.
```json
"provenance": {
"provenance": "Harvested",
"trust":"0.900"
}
```
### validated
_Type: Boolean • Cardinality: ONE_
2023-11-02 11:25:53 +01:00
Indicates weather or not the relationship was validated.
2023-04-05 17:28:12 +02:00
```json
"validated": true
```
### validationDate
_Type: String • Cardinality: ONE_
2023-11-02 11:25:53 +01:00
Indicates the validation date of the relationship - applies only when the validated flag is set to true.
2023-04-05 17:28:12 +02:00
```json
"validationDate": "2022-09-02"
```
2023-07-19 10:00:10 +02:00
---
2023-04-05 17:28:12 +02:00
## The `RelType` object
The RelType data type models the semantic of the relationship among two nodes.
### type
_Type: String • Cardinality: ONE_
2023-11-02 11:25:53 +01:00
The relationship category, e.g. affiliation, citation. (see [relationship types ](./relationship-types )).
2023-04-05 17:28:12 +02:00
```json
"name": "provides"
```
### name
_Type: String • Cardinality: ONE_
2023-11-02 11:25:53 +01:00
Further specifies the relationship semantic, indicating the relationship direction, e.g. Cites, isCitedBy.
2023-04-05 17:28:12 +02:00
```json
"type": "provision"
```
---