Confirm interpretation of any_of
constraints is correct
#2
Labels
question
Further information is requested
any_of
constraints is correct
#2
Today, if a slot has the
any_of
constraint defined on it,refscan
completely disregards the slot'srange
.refscan/refscan/refscan.py
Lines 168 to 188 in d7d0edd
I implemented it that way because I was under the impression that the
any_of
constraint was used to further constrain the slot's range, beyond the constraints already placed on the slot by the slot'srange
. In other words, I was under the impressionany_of
would always be a more specific set thanrange
(in which case, I wondered why a schema author would bother specifying arange
on that slot in the first place).I'm creating this ticket to represent the task of getting an authoritative answer to the following question:
range
in the presence ofany_of
, consistent with how people proficient with LinkML would interpret a LinkML schema?Related (upstream): linkml/linkml#2103
The text was updated successfully, but these errors were encountered: