logo       

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

org.w3c.miscellaneous

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

On Mon, 2006-11-06 at 21:06 +0100, jos.deroo@xxxxxxxx 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

Attachment: eucombo.py
Description: Text Data

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise