Skip to content

Translate Notation3 backward rules into forward rules

Notifications You must be signed in to change notification settings

eyereasoner/forwarder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Forwarder

This is an example how to transform a backward rule into forward rules.

Usage

Backward rules need to use the <http://example.org/ns#backward> prefix:

@prefix math: <http://www.w3.org/2000/10/swap/math#>.
@prefix : <http://example.org/ns#>.

{ 
    ?X :moreInterestingThan ?Y
} 
:backward 
{
    ?X math:greaterThan ?Y .
    ?Y math:greaterThan 0 .
}.

Example

./test.sh examples/demo.n3 > examples/demo.n3.answer

About

Translate Notation3 backward rules into forward rules

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages