W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > April to June 2004

Re: Use Case: Searching for educational learning materials

From: Steve Harris <S.W.Harris@ecs.soton.ac.uk>
Date: Sat, 19 Jun 2004 11:28:38 +0100
To: RDF Data Access Working Group <public-rdf-dawg@w3.org>
Message-ID: <20040619102837.GB13305@login.ecs.soton.ac.uk>

On Fri, Jun 18, 2004 at 03:02:01 -0400, Kendall Clark wrote:
> They want, in other words, to be able to query, say, the xml:lang of a
> literal. Something like:
> 
> SELECT ?x
> FROM <graph>
> WHERE 
>       (foo, rdfs:label, ?x) and
>       (?x, xml:lang, "jp")
> 
> That last bit isn't really in the graph (?), but I can't think of a
> syntax for filter on literals.

You could use the N3 syntax, seperating the literal from the datatype and
language with ^^ and @, eg.

	(foo, rdfs:label, ?x@jp)

- Steve
Received on Saturday, 19 June 2004 06:28:49 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:19 GMT