@prefix e: <http://eulersharp.sourceforge.net/2003/03swap/log-rules#>.
@prefix p: <http://josd.github.io/brain/preduction#>.
@prefix : <http://josd.github.io/brain#>.

{
    {?A :accept true} <= ?B.
    {{?A :accept true} <= ?B} p:preduce ?C.
    ?C e:graphMember {?S ?P ?O}.
} => {
    ?S ?P ?O.
}.
