Skip to content

Commit

Permalink
feat(models): add holds or supports property
Browse files Browse the repository at this point in the history
Resolves ÖAW-internal GitLab issue 126 for repo
frischmuth/backend/apis-instance-frischmuth.

Co-authored-by: KK <[email protected]>
  • Loading branch information
sennierer and koeaw committed May 15, 2024
1 parent 2dad5b1 commit b9590ec
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions apis_ontology/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1405,3 +1405,12 @@ def construct_properties():
subjects=[Person, Organisation],
objects=[Work, Expression],
)

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

0 comments on commit b9590ec

Please sign in to comment.