Skip to content

Commit 573fa88

Browse files
committed
Do _not_ assign a IRI to values of the mapping_cardinality_enum.
For the `mapping_cardinality_enum`, representing values with a resource identifier in RDF doesn’t really bring any benefit compared to representing the values with a string literal.
1 parent a6ec00e commit 573fa88

File tree

1 file changed

+6
-18
lines changed

1 file changed

+6
-18
lines changed

src/sssom_schema/schema/sssom_schema.yaml

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -75,24 +75,12 @@ enums:
7575
Not: Negating the mapping predicate. The meaning of the triple becomes subject_id is not a predicate_id match to object_id.
7676
mapping_cardinality_enum:
7777
permissible_values:
78-
"1:1":
79-
meaning: sssom:Cardinality_1_1
80-
description: One-to-one mapping
81-
"1:n":
82-
meaning: sssom:Cardinality_1_n
83-
description: One-to-many mapping
84-
"n:1":
85-
meaning: sssom:Cardinality_n_1
86-
description: Many-to-one mapping
87-
"1:0":
88-
meaning: sssom:Cardinality_1_0
89-
description: One-to-none mapping
90-
"0:1":
91-
meaning: sssom:Cardinality_0_1
92-
description: None-to-one mapping
93-
"n:n":
94-
meaning: sssom:Cardinality_n_n
95-
description: Many-to-many mapping
78+
"1:1": One-to-one mapping
79+
"1:n": One-to-many mapping
80+
"n:1": Many-to-one mapping
81+
"1:0": One-to-none mapping
82+
"0:1": None-to-one mapping
83+
"n:n": Many-to-many mapping
9684

9785
types:
9886
EntityReference:

0 commit comments

Comments
 (0)