Skip to content

Commit

Permalink
adding example2
Browse files Browse the repository at this point in the history
  • Loading branch information
josd committed Dec 6, 2024
1 parent bf5c435 commit 8010ee8
Show file tree
Hide file tree
Showing 4 changed files with 781 additions and 0 deletions.
43 changes: 43 additions & 0 deletions reasoning/deontic/example2-answer.n3s
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
@prefix : <urn:example:>.
@prefix log: <http://www.w3.org/2000/10/swap/log#>.

{
:alcoholicBeverage :sellingTo :adult.
} log:isPermittedIn :normativeWorld1.
{
() log:onNegativeSurface {
:alcoholicBeverage :sellingTo :nonAdult.
}.
} log:isPermittedIn :normativeWorld1.
{
() log:onNegativeSurface {
:alcoholicBeverage :sellingTo :nonAdult.
}.
} log:isPermittedIn :normativeWorld2.
{
:alcoholicBeverage :sellingTo :adult.
} log:isPermittedIn :normativeWorld2.
{
:alcoholicBeverage :sellingTo :adult.
} log:isPermittedIn :observedWorld.
{
() log:onNegativeSurface {
:alcoholicBeverage :sellingTo :nonAdult.
}.
} log:isPermittedIn :observedWorld.
{
() log:onNegativeSurface {
:alcoholicBeverage :sellingTo :nonAdult.
}.
} log:isObligatoryIn :normativeWorld1.
{
() log:onNegativeSurface {
:alcoholicBeverage :sellingTo :nonAdult.
}.
} log:isObligatoryIn :normativeWorld2.
{
:alcoholicBeverage :sellingTo :nonAdult.
} log:isForbiddenIn :normativeWorld1.
{
:alcoholicBeverage :sellingTo :nonAdult.
} log:isForbiddenIn :normativeWorld2.
Loading

0 comments on commit 8010ee8

Please sign in to comment.