Skip to content

Commit

Permalink
Remove mentions of sssom literal from schema
Browse files Browse the repository at this point in the history
Instead of creating a new entity reference type, we re-use the existing "rdfs literal". It is widely understood.
  • Loading branch information
matentzn committed Aug 6, 2024
1 parent a0ae426 commit 9fa9b6f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/sssom_schema/schema/sssom_schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ enums:
meaning: rdfs:Class
rdfs literal:
meaning: rdfs:Literal
description: "'rdfs literal' used in SSSOM files to express that an entity is represented by a literal."
see_also:
- https://mapping-commons.github.io/sssom/sssom-profiles/
- https://github.com/mapping-commons/sssom/issues/234
rdfs datatype:
meaning: rdfs:Datatype
rdf property:
meaning: rdf:Property
sssom literal:
description: A special type of literal that is used in SSSOM files to express that the subject_id is not an entity reference.
see_also:
- https://mapping-commons.github.io/sssom/sssom-profiles/
- https://github.com/mapping-commons/sssom/issues/234

predicate_modifier_enum:
permissible_values:
Not: Negating the mapping predicate. The meaning of the triple becomes subject_id is not a predicate_id match to object_id.
Expand Down Expand Up @@ -681,7 +681,7 @@ classes:
- preconditions:
slot_conditions:
subject_type:
equals_string: "sssom literal"
equals_string: "rdfs literal"
postconditions:
slot_conditions:
subject_label:
Expand All @@ -690,15 +690,15 @@ classes:
slot_conditions:
subject_type:
none_of:
equals_string: "sssom literal"
equals_string: "rdfs literal"
postconditions:
slot_conditions:
subject_id:
required: true
- preconditions:
slot_conditions:
object_type:
equals_string: "sssom literal"
equals_string: "rdfs literal"
postconditions:
slot_conditions:
object_label:
Expand All @@ -707,7 +707,7 @@ classes:
slot_conditions:
object_type:
none_of:
equals_string: "sssom literal"
equals_string: "rdfs literal"
postconditions:
slot_conditions:
object_id:
Expand Down

0 comments on commit 9fa9b6f

Please # to comment.