-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using ENFORCE
to populate I_Am
doesn't work due to an incorrect expectation of relations starting with lower case
#1519
Comments
There are two issues here
|
Implementing |
it is not |
These are indeed the other two operators. But that is beside the point. |
There are 3 operators: The second bullet still remains, with or without the implementation of the first bullet. |
My earlier comment was about the second bullet, where you asked "If the population of I_am is empty, what tuple would denote the violation?". I understand
The violation you are asking for would then be |
An atom used in a rule doesn't automatically translate to an atom in the database. See the 'Sinterklaas' issue for the discussion why. Besides that, even if atom would be element of the initial population of the concept, nothing would prevent anyone to delete it later on. That would be valid, because there is no rule that says it cannot be deleted. |
I am using v4.7.7, and have the following script:
I_Am
is to be similar toONE
, i.e., there can only be oneI_Am
, but there also must be at least oneI_Am
, which is the atomI_Am
.To cater for that, I want to use the
ENFORCE
statement - see the above script.This produces the error
I would have expected that
I
(andV
for that matter)would be acceptable for
ENFORCE`.The text was updated successfully, but these errors were encountered: