Re: Use Case: Searching for educational learning materials

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 UTC