Hi Norm, > If :p :pointsTo :s > and :p :pointsTo :t > and not(s :pointsTo :t) > then :p :hasEdge :t What you want is to say that there is no triple in the current store that fits the profile "_:s :pointsTo _:t". You can do that using log:notIncludes:- { this log:notIncludes { [] :pointsTo [] } } log:implies { :Test a :Success } . A small test file and its output using --think is attached, for your reference. The other form of "not" is converse property pairs, cf. log:converse. When a property is declared a converse of another property, the two can't co-exist in the same store with the same subject and object, otherwise there is a schema inconsistency. For example, the following is clearly inconsistent:- :x :name :y . :x :doesNotHaveName :y . :name log:converse :doesNotHaveName . I doubt that this helps you in your case, since the converse will not have been declared. Cheers, -- Kindest Regards, Sean B. Palmer @prefix : <http://purl.org/net/swn#> . :Sean :homepage <http://purl.org/net/sbp/> .
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:19:56 GMT