W3C home > Mailing lists > Public > www-archive@w3.org > February 2002

New And Improved Eep: Now With Builtins!

From: Sean B. Palmer <sean@mysterylights.com>
Date: Thu, 14 Feb 2002 17:50:53 -0000
Message-ID: <018101c1b580$276ed1e0$b4bd0150@localhost>
To: <www-archive@w3.org>
Attached as <<eep20020214-174604.tar.gz>>.

Builtins? I kid you not. Here is a print out:-

$ python bitest.py
{ ?x ?y ?z .
 ?x <http://www.w3.org/2000/10/swap/log#notEqualTo> ?z . } =>
 { ?x <#notEqualTo> ?z . } .
<#p> <#q> <#r> .
[[[<#p>, <#notEqualTo>, <#r>]]]

{ ?x ?y ?z .
  ?x <http://www.w3.org/2000/10/swap/log#uri> ?p . } => { ?x <#uri> ?p
. } .
<#p> <#q> <#r> .
<#x> <#y> <#z> .
[[[<#p>, <#uri>, "#p"]], [[<#x>, <#uri>, "#x"]]]

{ ?x ?y ?z .
 ?x <http://www.w3.org/2000/10/swap/string#notEqualTo> ?z . } =>
 { ?x <#notEqualTo> ?z . } .
"p" <#q> "r" .
<#p> <#q> <#p> .
"p" <#q> "p" .
"x" _:y "z" .
[[["p", <#notEqualTo>, "r"]], [["x", <#notEqualTo>, "z"]]]

{ ?x <#type> <#Target> .
   ?x <http://example.org/#sha512> ?z . } =>
 { ?x <#sha512> ?z . } .
"blargh" <#type> <#Target> .
[[["blargh", <#sha512>, "4a59e80b6a5bfb4c8d8a592
086a290b347c5d2b62418abe878cfa8037063ca268e
deadd184bc3d54bf683584f294caf7a3109c90458b45
f93d25587618070fa1"]]]

If you can't get sha512 to work, just comment it out (it's left in
because it'll be important for the Plex).

All of the tests seem to pass, but I've done a lot of rejigging, so
there may be some subtle errors in there. Comments etc. are most
welcome.

--
Kindest Regards,
Sean B. Palmer
@prefix : <http://purl.org/net/swn#> .
:Sean :homepage <http://purl.org/net/sbp/> .


Received on Thursday, 14 February 2002 12:52:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 7 November 2012 14:17:16 GMT