@prefix : <#>. @prefix log: . #:sally :parent :fran, :marshall. #:paul :parent :sally. #:maryjr :parent :maryIII. #:merv :parent :bob. :bob :parent :jane. :jane :parent :janeII. this log:forAll :x, :y, :z. {:x :parent :y} log:implies {:y :child [:parent :y].}. {:x :parent :y. :y :parent :z} log:implies {[a :gParent]. [a :gChild].}. # it's a node test, not a resource test... #> Is it a string? # well, void as in either "can't match, query fails", or "empty string" # I think the forme #> Ehh! # yep, it's a literal #> It can be *either*? # log:uri "http://www.w3.org/" . should test true #> Right. # "" log:uri :x . should fail # _:b log:uri :x . should fail # this log:forAll :x . #> log:uri :u. :u string:startsWith "http:". ? (given # bindings,e tc.) # :u with be "http://www.w3.org", and the starts with test will pass