SchemaLink / webapp

A schema drawing application
https://fl-14-97.zhdk.cloud.switch.ch/
GNU Affero General Public License v3.0
1 stars 0 forks source link

Use relationship cardinality in the LinkML export #42

Open simoneguzzi opened 3 days ago

simoneguzzi commented 3 days ago

Relationship cardinalities should be used to populate the minimum_cardinality and maximum_cardinality slots of the dedicated class in the LinkML export. E.g:

PhysicianAthleteRelationship:
   is_a: Triple
   slot_usage:
      subject:
         range: Physician
      predicate:
         range: PhysicianAthletePredicate
      object:
         range: Athlete
      startingFrom:
         range: date
      salary:
         range: float
      maximum_cardinality: 0
      minimum_cardinality: 70