[CL] URIs as constant terms in CGIF
sowa at bestweb.net
sowa at bestweb.net
Sat Jul 23 01:47:47 CDT 2011
Yes, that is correct:
> that it is possible when putting the
URIs in quotes:
>
> (
"http://xmlns.com/foaf/0.1/knows" "ex:alice"
"ex:bob" )
Common Logic in either CLIF or CGIF
dialect permits an enclosed name to be an arbitrary string enclosed in
double quotes.
When in doubt whether the double quotes are
necessary, there is no harm in using them. A simple name like Bob and an
enclosed name like "Bob" are treated as identical.
CGIF
requires the enclosed name format more often than CLIF because certain
characters are used in CGIF syntax that are not used in CLIF
syntax.
You might find the following article useful for more
examples:
http://www.jfsowa.com/cg/cg_hbook.pdf
In case
of any discrepancy, the ISO document is normative. But this might be
helpful.
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://philebus.tamu.edu/pipermail/cl/attachments/20110723/d1ee3fb7/attachment.html>
More information about the CL
mailing list