[closed] Re: CWM Bug: Strings Returned from Builtins Incompatible with log:semantics

Sean,

You have the wrong builtin.  log:semantics works on resources.

<foo.rdf> log:semantics ?F.

You need log:parsedAsN3:

$ cwm http://www.w3.org/2000/10/swap/test/includes/sbp1.n3 --think
#Processed by Id: cwm.py,v 1.150 2004/06/08 15:16:45 syosi Exp
         #    using base 
http://www.w3.org/2000/10/swap/test/includes/sbp1.n3

#  Notation3 generation by
#       notation3.py,v 1.154 2004/05/12 01:27:08 timbl Exp

#   Base was: http://www.w3.org/2000/10/swap/test/includes/sbp1.n3
      @prefix : <#> .
      @prefix log: <../../log#> .
      @prefix string: <../../string#> .

     this     log:forAll :p,
                 :q,
                 :r,
                 :s .

     <http://example.com/x>     <http://example.com/y> 
<http://example.com/z> .
     {

           ( "@prefix : <http://example.com/>. :x :y :z "
             "."  )
              string:concatenation  [
                  log:parsedAsN3 :s ] .
         :s     log:includes {:p     :q :r .
             } .

         }     log:implies {:p     :q :r .
         } .

#ENDS
$

Received on Sunday, 20 June 2004 08:10:55 UTC