Search the web
Sign In
New User? Sign Up
KR-language
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Re: URL redirections   Message List  
Reply | Forward Message #426 of 712 |
Thanks.

P.S.
I think OpenCyc has two different redirections.
If you use their Concept Browser,
you get a nice, human-readable display.
But if you use wget, you get an OWL file.

I don't know what the logic is, but I should get further
details soon. I'm joining Cyc Foundation, and expect
to work closely with the implementers.

There has been a lot of discussion in the W3C email group
about content negotiation -- letting the user choose
what form of info. is returned.

Dick McCullough
http://mKRmKE.org/
Ayn Rand do speak od mKR done;
knowledge := man do identify od existent done;
knowledge haspart proposition list;
mKE do enhance od Real Intelligence done;

----- Original Message -----
From: Clinton Jeffery
To: Richard H. McCullough
Sent: Friday, July 18, 2008 1:34 PM
Subject: Re: URL redirections


Richard,

Good question. The guy who did our messaging facilities obviously felt
that redirections
should be observable by a program, and following redirections ought to be
at the program's
discretion. Personally I am more of a high-level abstraction kind of
person, I might be
inclined to agree with you. Let me think about it a bit; I'll probably
post a message about it
on the unicon-ldif mailing list and see what other folks think.

Cheers,
Clint


On Fri, Jul 18, 2008 at 11:20 AM, Richard H. McCullough
<rhm@...> wrote:

Should Unicon's open() function follow URL redirections?

Here's a sample of what I see when I try to access
OpenCyc Web Services.
(used "wget" when "open" failed)


ke$ kbmode := cycws;
ke$ do find od Retriever-Dog done;
# ERROR: wsget_url: can't open url(string[46])
<http://sw.cyc.com/2006/07/27/cyc/Retriever-Dog>
--2008-07-18 10:59:17-- http://sw.cyc.com/2006/07/27/cyc/Retriever-Dog
Resolving sw.cyc.com... 65.99.218.242
Connecting to sw.cyc.com|65.99.218.242|:80... connected.
HTTP request sent, awaiting response... 303 See Other
Location: http://sw.cyc.com/2006/07/27/R/e/Retriever-Dog.owl [following]
--2008-07-18 10:59:17--
http://sw.cyc.com/2006/07/27/R/e/Retriever-Dog.owl
Reusing existing connection to sw.cyc.com:80.
HTTP request sent, awaiting response... 200 OK
Length: 842 [application/rdf+xml]
Saving to: `Retriever-Dog.owl'

100%[==========================================================>] --.-K/s
in 0s

2008-07-18 10:59:17 (1.80 MB/s) - `Retriever-Dog.owl' saved [842/842]

ke$ ! vi Retriever-Dog.owl done;
Vim: Warning: Output is not to a terminal
ke$


Dick McCullough
http://mKRmKE.org/
Ayn Rand do speak od mKR done;
knowledge := man do identify od existent done;
knowledge haspart proposition list;
mKE do enhance od Real Intelligence done;









Fri Jul 18, 2008 10:53 pm

rhmcc
Offline Offline
Send Email Send Email

Forward
Message #426 of 712 |
Expand Messages Author Sort by Date

Thanks. P.S. I think OpenCyc has two different redirections. If you use their Concept Browser, you get a nice, human-readable display. But if you use wget, you...
Richard H. McCullough
rhmcc
Offline Send Email
Jul 18, 2008
10:54 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help