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

Re: Proposed XQuery requirement and/or objective

From: Steve Harris <S.W.Harris@ecs.soton.ac.uk>
Date: Tue, 20 Jul 2004 08:23:22 +0100
To: public-rdf-dawg@w3.org
Message-ID: <20040720072322.GC22587@login.ecs.soton.ac.uk>

On Mon, Jul 19, 2004 at 05:44:03 -0700, Rob Shearer wrote:
> for $member in doc(http://foo/people.xml)/Person
> where asserted($member/URI, http://foo#worksFor, http://foo#NetworkInference)
> return $member/name

Wouldn't "Person" in the first line require some namespace/prefix? Also, I
dont quite understand why the / after doc() implies the rdf:type part of the
	($memeber  rdf:type  foo:Person)
triple. Is it just shorthand? if so, why "/"?

- Steve
Received on Tuesday, 20 July 2004 03:23:34 GMT

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