Skip to content

Commit 90c7a2d

Browse files
authored
Merge pull request #574 from NCATSTranslator/metakg-updates
add KL/AT, sources to MetaEdge
2 parents 5245478 + 9a116bd commit 90c7a2d

3 files changed

Lines changed: 73 additions & 39 deletions

File tree

‎ChangeLog.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
- Update yaml descriptions to match 2.0.0 changes and clarify desired behavior. ([PR](https://github.com/NCATSTranslator/ReasonerAPI/pull/565/changes))
55
- Added `Response.data_release_versions` ([PR](https://github.com/NCATSTranslator/ReasonerAPI/pull/569/changes))
66
- Renamed `PathConstraint.intermediate_categories` to `PathConstraint.required_intermediate_categories` ([PR](https://github.com/NCATSTranslator/ReasonerAPI/pull/570/changes))
7+
- Added `MetaEdge.knowledge_levels`, `MetaEdge.agent_types`, `MetaEdge.sources` to MetaKnowledgeGraph [PR](https://github.com/NCATSTranslator/ReasonerAPI/pull/574)
78

89
Documentation/Git action updates:
910
- Adjust spec docs to reflect making `AttributeConstraint.name` optional ([PR](https://github.com/NCATSTranslator/ReasonerAPI/pull/564/changes))

‎TranslatorReasonerAPI.yaml‎

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1554,6 +1554,36 @@ components:
15541554
examples:
15551555
- biolink:ChemicalToGeneAssociation
15561556
$ref: '#/components/schemas/BiolinkEntity'
1557+
knowledge_levels:
1558+
description: >-
1559+
The knowledge levels contributing to this meta edge.
1560+
If provided, this property SHOULD contain all possible
1561+
knowledge_levels relevant edges might return.
1562+
(See https://biolink.github.io/biolink-model/KnowledgeLevelEnum/)
1563+
type: array
1564+
items:
1565+
type: string
1566+
minItems: 1
1567+
agent_types:
1568+
description: >-
1569+
The agent types contributing to this meta edge.
1570+
If provided, this property SHOULD contain all possible
1571+
agent_types relevant edges might return.
1572+
(See https://biolink.github.io/biolink-model/AgentTypeEnum/)
1573+
type: array
1574+
items:
1575+
type: string
1576+
minItems: 1
1577+
sources:
1578+
description: >-
1579+
The infores CURIEs for sources contributing to this meta edge.
1580+
If provided, this property SHOULD contain resource_ids for
1581+
all relevant resource_roles. Services MAY choose to omit
1582+
their own aggregator resource_ids.
1583+
type: array
1584+
items:
1585+
$ref: '#/components/schemas/CURIE'
1586+
minItems: 1
15571587
required:
15581588
- subject
15591589
- predicate

0 commit comments

Comments
 (0)