You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In TRAPI 1.5, we're now required to have attributes properties in some objects. Since we don't have any data to put in them, we'll make the values empty arrays.
every node-binding inside a result's node_bindings (same level as id). Lines 670-671,675
every edge-binding inside a result-analysis's edge_bindings (same level as id). Lines 763-764,768
every auxiliary-graph (same level as edges). Lines 795-796,800
Note: we already have attributes on every KG Node, which is where we put the equivalent IDs and synonyms (names). This includes "normal" KG nodes and subclass nodes that come from ID-node expansion. Requirement added on lines 1009-1010, 1020.
The text was updated successfully, but these errors were encountered:
colleenXu
changed the title
Minor: add "attributes": [] to NodeBindings, EdgeBindings, AuxGraphs, KG Nodes
Minor: add "attributes": [] to NodeBindings, EdgeBindings, AuxGraphs
Mar 26, 2024
colleenXu
changed the title
Minor: add "attributes": [] to NodeBindings, EdgeBindings, AuxGraphs
TRAPI 1.5: add "attributes": [] to NodeBindings, EdgeBindings, AuxGraphs
Mar 29, 2024
In TRAPI 1.5, we're now required to have
attributes
properties in some objects. Since we don't have any data to put in them, we'll make the values empty arrays.node_bindings
(same level asid
). Lines 670-671,675edge_bindings
(same level asid
). Lines 763-764,768edges
). Lines 795-796,800example result (NodeBinding + EdgeBinding)
example auxiliary-graph
Note: we already have
attributes
on every KG Node, which is where we put the equivalent IDs and synonyms (names). This includes "normal" KG nodes and subclass nodes that come from ID-node expansion. Requirement added on lines 1009-1010, 1020.The text was updated successfully, but these errors were encountered: