Skip to content

Commit 66d32ad

Browse files
matentznjoeflack4
andauthored
Move predicate_label examples to predicate_id in sssom_schema.yaml (#370)
Fixes #369. The examples for the predicate_id slot where in the wrong slot (predicate_label), here we move them to be correct. I have also added a single example for the predicate_label slot. --------- Co-authored-by: Joe Flack <[email protected]>
1 parent 1aeeb80 commit 66d32ad

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

src/sssom_schema/schema/sssom_schema.yaml

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -186,19 +186,7 @@ slots:
186186
range: EntityReference
187187
required: true
188188
slot_uri: owl:annotatedProperty
189-
examples:
190-
- value: skos:exactMatch
191-
predicate_modifier:
192-
description: A modifier for negating the prediate. See https://github.com/mapping-commons/sssom/issues/40 for discussion
193-
range: predicate_modifier_enum
194-
see_also:
195-
- https://github.com/mapping-commons/sssom/issues/107
196-
examples:
197-
- value: Not
198-
description: Negates the predicate, see documentation of predicate_modifier_enum
199-
predicate_label:
200-
description: The label of the predicate/relation of the mapping
201-
range: string
189+
202190
examples:
203191
- value: owl:sameAs
204192
description: The subject and the object are instances (owl individuals), and the two instances are the same.
@@ -224,6 +212,20 @@ slots:
224212
description: Two terms are related in some way. The meaning is frequently consistent across a single set of mappings. Note this property is often overloaded even where the terms are of a different nature (e.g. interpro2go)
225213
- value: rdfs:seeAlso
226214
description: The subject and the object are associated in some unspecified way. The object IRI often resolves to a resource on the web that provides additional information.
215+
predicate_modifier:
216+
description: A modifier for negating the predicate. See https://github.com/mapping-commons/sssom/issues/40 for discussion
217+
range: predicate_modifier_enum
218+
see_also:
219+
- https://github.com/mapping-commons/sssom/issues/107
220+
examples:
221+
- value: Not
222+
description: Negates the predicate, see documentation of predicate_modifier_enum
223+
predicate_label:
224+
description: The label of the predicate/relation of the mapping
225+
range: string
226+
examples:
227+
- value: has cross-reference
228+
description: The label of the oboInOwl:hasDbXref property to represent cross-references.
227229
predicate_type:
228230
description: The type of entity that is being mapped.
229231
range: entity_type_enum

0 commit comments

Comments
 (0)