Skip to content

Commit

Permalink
adding comments
Browse files Browse the repository at this point in the history
  • Loading branch information
josd committed Oct 11, 2023
1 parent f824e81 commit 31a91a3
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions reasoning/blogic/pack-filter.n3s
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
@prefix : <http://example.org/ns#>.

# sample data from RubenD
() :data {
() :package {
<< () :content {
Expand All @@ -22,6 +23,7 @@
}.
}.

# the logic for flatten in 5 backward rules
(_:c _:t _:d _:l _:m) log:onNegativeSurface {
() log:onNegativeSurface <<
{
Expand Down Expand Up @@ -72,6 +74,7 @@
}.
}.

# question
(_:l _:g _:h) log:onQuestionSurface {
_:l :data _:g.
_:g :filter _:h.
Expand Down
3 changes: 3 additions & 0 deletions reasoning/blogic/pack-flatten.n3s
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
@prefix : <http://example.org/ns#>.

# sample data from RubenD
() :data {
() :package {
<< () :content {
Expand All @@ -22,6 +23,7 @@
}.
}.

# the logic for flatten in 4 backward rules
(_:p _:d _:c _:q _:t _:l _:m) log:onNegativeSurface {
() log:onNegativeSurface <<
{
Expand Down Expand Up @@ -57,6 +59,7 @@
}.
}.

# question
(_:l _:g _:h) log:onQuestionSurface {
_:l :data _:g.
_:g :flatten _:h.
Expand Down
3 changes: 3 additions & 0 deletions reasoning/sequents/pack-filter.n3
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
@prefix : <http://example.org/ns#>.

# sample data from RubenD
() :data {
() :package {
<< () :content {
Expand All @@ -22,6 +23,7 @@
}.
}.

# testing unconditional sequent and see with --pass-only-new
{
?l :data ?g.
?g :filter ?h.
Expand All @@ -31,6 +33,7 @@
}
$).

# the logic for flatten in 5 backward rules
{
{
() :package {
Expand Down
3 changes: 3 additions & 0 deletions reasoning/sequents/pack-flatten.n3
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
@prefix : <http://example.org/ns#>.

# sample data from RubenD
() :data {
() :package {
<< () :content {
Expand All @@ -22,6 +23,7 @@
}.
}.

# testing unconditional sequent and see with --pass-only-new
true => ($
{
{
Expand All @@ -31,6 +33,7 @@ true => ($
}
$).

# the logic for flatten in 4 backward rules
{
{
() :package ?p.
Expand Down

0 comments on commit 31a91a3

Please sign in to comment.