Skip to content

Commit

Permalink
refreshing
Browse files Browse the repository at this point in the history
  • Loading branch information
josd committed Nov 9, 2024
1 parent 43931c0 commit 15e0efc
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 11 deletions.
4 changes: 2 additions & 2 deletions color/deontic/test
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash
eye --quiet --skolem-genid 8b98b360-9a70-4845-b52c-c675af60ad01 --wcache https://eyereasoner.github.io/eye/color .. --nope https://eyereasoner.github.io/eye/color/deontic/workplace.n3 --output workplace-answer.n3
eye --quiet --skolem-genid 8b98b360-9a70-4845-b52c-c675af60ad01 --wcache https://eyereasoner.github.io/eye/color .. https://eyereasoner.github.io/eye/color/deontic/workplace.n3 --output workplace-proof.n3
eye --quiet --skolem-genid 8b98b360-9a70-4845-b52c-c675af60ad01 --wcache https://eyereasoner.github.io/eye/color .. --nope https://eyereasoner.github.io/eye/color/deontic/workplace.n3 --query https://eyereasoner.github.io/eye/color/deontic/workplace-query.n3 --output workplace-answer.n3
eye --quiet --skolem-genid 8b98b360-9a70-4845-b52c-c675af60ad01 --wcache https://eyereasoner.github.io/eye/color .. https://eyereasoner.github.io/eye/color/deontic/workplace.n3 --query https://eyereasoner.github.io/eye/color/deontic/workplace-query.n3 --output workplace-proof.n3
2 changes: 1 addition & 1 deletion color/deontic/workplace-proof.n3
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ skolem:lemma8 a r:Extraction;
var:x_0 var:x_2 var:x_1.
}.
};
r:because [ a r:Parsing; r:source <https://eyereasoner.github.io/eye/color/deontic/workplace.n3>].
r:because [ a r:Parsing; r:source <https://eyereasoner.github.io/eye/color/deontic/workplace-query.n3>].

skolem:lemma9 a r:Inference;
r:gives {
Expand Down
9 changes: 9 additions & 0 deletions color/deontic/workplace-query.n3
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
@prefix : <urn:example:>.

# Query to test if everyone complies with deontic logic
{
?Person :does ?Action.
?Person ?P ?Action.
} => {
?Person ?P ?Action.
}.
8 changes: 0 additions & 8 deletions color/deontic/workplace.n3
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,3 @@
} => {
?Person :is_violating_a_prohibition ?Action.
}.

# Query to test if everyone complies with deontic logic
{
?Person :does ?Action.
?Person ?P ?Action.
} =^ {
?Person ?P ?Action.
}.

0 comments on commit 15e0efc

Please sign in to comment.