[sc34wg3] TMQL: XML content vs. < > delimited IRIs
Lars Heuer
heuer at semagia.com
Thu Jul 10 10:21:52 EDT 2008
Hi Robert,
[...]
>> ... but <> are needed for rootless IRIs like "mailto", "mid", "urn"
>> etc., right?
> For TMQL I have now:
> "http://whatever/" # interpreted as IRI literal
How does the parser know that "http://whatever.com/" is not meant as
string?
> "http://whatever/" ~ # IRI literal used as subject identifier
> http://whatever/ # stand-alone IRI used as subject identifier
The "" around IRIs is necessary, if someone wants to refer to a topic
by its subject locator / subject identifier and wants to use the axes?
The:
http://whatever/ ~
and
http://whatever/ =
would be an error then?
> Is this along your thinking?
<> for rootless IRIs and http://... for subject identifiers is aligned
with CTM. But "http://www.example.org/" is not supported by CTM, it
would be interpreted as string, unless the datatype is made explicit:
"http://www.example.org/"^^xsd:anyURI
works.
Best regards,
Lars
--
Semagia
<http://www.semagia.com>
More information about the sc34wg3
mailing list