cityLookup utility

I am getting an error while trying to use cityLookup
(http://www.w3.org/2000/10/swap/pim/cityLookup) to get lat/lon info for
cities. Here is the error I get:

  File "notation3.py", line 515, in uri_ref2
    raise BadSyntax(self._thisDoc, self.lines, str, i, "Prefix %s not
bound" % (
pfx))
notation3.BadSyntax: Line 36 of <file:/CWM/cwm1.82/cityLookup.n3>: Bad
syntax (P
refix  not bound) at ^ in:
"...f ?AREA ]
 ).
}
  log:implies { ?CITY^ :formVal ?N }.


{
 ?CITY k:inRegio..."

-----------
Which is probably b/c "inRegion" can no longer be found in cyc.daml
<http://opencyc.sourceforge.net/daml/cyc.daml>

Then I tried adding my own inRegion vocabulary and got even more errors
further down in the file. Is anyone maintaining this script?

Unofortunately I am not very efficient with these cwm scripts, so I would
appreciate it if anybody could give me a hint as to how I can fix this.
It's a great utility and I'd like to be able to use it.

Thanks,
Negar.

Received on Saturday, 22 November 2003 17:37:29 UTC