Print

Print


Am 17.11.2015 um 16:29 schrieb Simon Spero:

> When it comes to URIs, RDF (and OWL) allow the use of the xsd:anyURI
> datatype. This is a subtype of xsd:string, and behaves like a literal.
> These literals behave differently to IRIs that identify resources. For
> example, a relative URI in a literal is not  resolved against the document
> base, because that behavior is not always appropriate for a literal.

xsd:anyURI and xsd:string are distinct primitive datatypes according
to "XSD 1.1. Part 2: Datatypes" < http://www.w3.org/TR/xmlschema11-2/>
the RDF 1.1 Semantics document is referring to.

Thus "http://bibframe.org/"^^xsd:string
and  "http://bibframe.org/"^^xsd:anyURI
have the same /lexcial representation/ but are not a priori the same
thing. Of course applications can take other equivalences into account,
some may identify relative and absolute URIs (certainly this breaks
their non-equivalence as strings) others may cast strings conforming
to IRI constraint patterns to anyURI ...

viele Gruesse
Thomas Berger