-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Attempt to have native trig support for tests
- Loading branch information
Showing
3 changed files
with
74 additions
and
3 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
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,41 @@ | ||
# ------------------------------------------- | ||
# Graph Statement Machine - GSM -- Jos De Roo | ||
# ------------------------------------------- | ||
|
||
@prefix graph: <http://www.w3.org/2000/10/swap/graph#>. | ||
@prefix log: <http://www.w3.org/2000/10/swap/log#>. | ||
|
||
# create forward rules | ||
{ | ||
?A log:implies ?B. | ||
?A graph:statement ?C. | ||
?B graph:statement ?D. | ||
} => { | ||
?C => ?D. | ||
}. | ||
|
||
# create backward rules | ||
{ | ||
?A log:isImpliedBy ?B. | ||
?A graph:statement ?C. | ||
?B graph:statement ?D. | ||
} => { | ||
?C <= ?D. | ||
}. | ||
|
||
# create queries | ||
{ | ||
?A log:query ?B. | ||
?A graph:statement ?C. | ||
?B graph:statement ?D. | ||
} => { | ||
?C =^ ?D. | ||
}. | ||
|
||
# create rdfsurfaces | ||
{ | ||
?A log:onNegativeSurface ?B. | ||
?B graph:statement ?C. | ||
} => { | ||
?A log:onNegativeSurface ?C. | ||
}. |
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