You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: linkml_model/model/docs/specification/02instances.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -321,11 +321,11 @@ To interpret a path *p*:
321
321
1.**VariableName** is resolved to an instance *i*
322
322
2. For each path component in the path, reset *i* to be the value of looking up that component:
323
323
- if the path extension is `.<s>` then *r* must be an **InstanceOfClass*, and the value is equal to the value of the slot assignment for slot `s`
324
-
- if the path extension is `[<id>]` then *r* must be an **InstanceOfCollection**, and the value is equals to the member of that list that has a slot with the role of *identifier* whose value is `<id>`
324
+
- if the path extension is `[<key>]` then *r* must be an **InstanceOfCollection**, and the value is equals to the member of that list that has a slot with the role of *identifier* whose value is `<key>`
325
325
326
326
For example, if *i* is equal to the Person instance in the Combined Example above:
URIs can be contracted to CURIEs using the `prefixes` map in the model, see next function.
213
239
214
240
### Function: Applicable Slots
215
241
@@ -395,7 +421,28 @@ for c in m.classes:
395
421
396
422
### Rule: Derived Class and Slot URIs
397
423
398
-
For each class or slot, if a class_uri or slot_uri is not specified, then this is derived by concatenating `m.default_prefix` with the CURIE separator `:` followed by the SafeUpperCamelCase encoding of the name of that class or slot definition
424
+
For each class or slot, if a class_uri or slot_uri is not specified, then this is derived using the rules specified
0 commit comments