# Test the log:includes function

@prefix rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix s: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix daml:  <http://www.daml.org/2000/10/daml-ont#> .
@prefix dpo:  <http://www.daml.org/2001/03/daml+oil#> .
@prefix ex:   <http://www.daml.org/2000/10/daml-ex#> .
@prefix log:  <http://www.w3.org/2000/10/swap/log#> .

@prefix : <#>.  # Local stuff

# Usage:   cwm includes.n3 -think
#
# Output should conclude all test* a :success and no failures.
#

:thesis :is { <#theSky> <#is> <#blue> } .

@forAll :x.

#{ :thesis :is :x. :x log:includes {<#theSky> <#is> <#green>} } log:implies { :test4_bis a :FAILURE } .
{ :thesis :is :x. :x log:notIncludes {<#theSky> <#is> <#green>} } log:implies { :test4 a :success } .

#ends




