
Query Languages 271
What results could be expected from a query based on this pattern? The
input data for ex:s1, ex:s2, and ex:s3 all seem to match the pattern to
some extent, at least from a user perspective. As explained in Section 2.3.2,
however, RDF strictly distinguishes typed and untyped literals, and literals
with and without language setting. Hence, the property values for the three
resources are different with respect to the simple RDF semantics, and the
above query would indeed return ex:s1 as its only result. This behavior
can of course be confusing, since the various literals do still appear rather
similar. In addition, language settings