W3C home > Mailing lists > Public > www-archive@w3.org > November 2006

Re: euler state of the art? (eucombo.py)

From: Dan Connolly <connolly@w3.org>
Date: Mon, 06 Nov 2006 17:15:49 -0600
To: jos.deroo@agfa.com
Cc: www-archive@w3.org
Message-Id: <1162854949.8279.312.camel@dirk>
On Mon, 2006-11-06 at 21:06 +0100, jos.deroo@agfa.com wrote:
> [...] but I see that your
> example should also work as
> wget -q -O- 
> http://localhost:1024/.euler5+http%3A%2F%2Flocalhost:1024%2F.euler%2B--prolog%2Bhttp%253A%252F%252Fwww.agfa.com%252Fw3c%252Feuler%252Fmedic.n3%2B--query%2Bhttp%253A%252F%252Fwww.agfa.com%252Fw3c%252Feuler%252FmedicF.n3


OK, now I understand the encoding algorithm for combining euler1
with euler5. See implementation in python attached.

So I can do the above a la:

$ python  ~/Desktop/eucombo.py http://www.agfa.com/w3c/euler/medic.n3
http://www.agfa.com/w3c/euler/medicF.n3


and out comes:

args: ['/home/connolly/Desktop/eucombo.py',
'http://www.agfa.com/w3c/euler/medic.n3',
'http://www.agfa.com/w3c/euler/medicF.n3']
premises: ['http://www.agfa.com/w3c/euler/medic.n3']
conc: http://www.agfa.com/w3c/euler/medicF.n3
words: ['euler', '--prolog', 'http://www.agfa.com/w3c/euler/medic.n3',
'--filter', 'http://www.agfa.com/w3c/euler/medicF.n3']
getting:  http://localhost:1024/.euler5%20http%3A//localhost%
3A1024/.euler%2520--prolog%2520http%
253A//www.agfa.com/w3c/euler/medic.n3%2520--filter%2520http%
253A//www.agfa.com/w3c/euler/medicF.n3



-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E



Received on Monday, 6 November 2006 23:16:13 GMT

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