Skip to content

Commit

Permalink
fix: add holds or supports property to models.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sennierer authored and koeaw committed May 15, 2024
1 parent 027a02b commit 4e0a117
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions apis_ontology/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1405,3 +1405,11 @@ def construct_properties():
subjects=[Person, Organisation],
objects=[Work, Expression],
)

# P198 holds or supports https://remogrillo.github.io/cidoc-crm_periodic_table/?code=P198
holds_or_supports = create_properties(
name_forward="holds or supports",
name_reverse="is held or supported by",
subjects=[PhysicalObject,],
objects=[PhysicalObject,]
)

0 comments on commit 4e0a117

Please sign in to comment.