-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
documentation added that oid is required for nested slotted atom
- Loading branch information
Showing
4 changed files
with
28 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...ynsem/atomic_implicit_1tuple1_nested-slots2/atomic_implicit_1tuple1_nested-slots2-KB.psoa
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
RuleML( | ||
Assert( | ||
% atomic-formula expressivity | ||
% relationships | ||
% single tuple | ||
% dependent tuple | ||
% implicit tuple | ||
% 1 element | ||
% nested atom | ||
% oid (not optional, otherwise exception is thrown) | ||
% two slots, no tuple | ||
% constant arguments | ||
p(o#q(a->b c-> d)) | ||
% Translated KB: | ||
% sloterm('_o','_a','_b'). | ||
% sloterm('_o','_c','_d'). | ||
% memterm('_o','_q'). | ||
% '_p'('_o'). | ||
) ) |
1 change: 1 addition & 0 deletions
1
.../atomic_implicit_1tuple1_nested-slots2/atomic_implicit_1tuple1_nested-slots2-answer1.psoa
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Yes |
4 changes: 4 additions & 0 deletions
4
...m/atomic_implicit_1tuple1_nested-slots2/atomic_implicit_1tuple1_nested-slots2-query1.psoa
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
p(?#q(a->b)) | ||
% ((sloterm(Q1,'_a','_b'),memterm(Q1,'_q')),'_p'(Q1)). | ||
% Correctness Criterion: Query for ground atom with implicit single tuple of | ||
% one nested atom with slot against KB containing only that ground atom answers "Yes". |