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

review comment for SARQL (5 nested patterns)

From: Hiroyuki Sato <sato.hiroyuki@lab.ntt.co.jp>
Date: Tue, 14 Dec 2004 23:42:08 +0900
Message-ID: <41BEFBC0.30607@lab.ntt.co.jp>
To: public-rdf-dawg@w3.org

Regrests for today. I'm now at the place where I canít use phones.

I have been reviewing Live Draft of SPARQL Query Language for RDF.

For the moment, I have one comment.

In section 5 (Nested Patterns), at the second example of nested patterns,
it is better to add the following data to present example data.
_:b vcard:N _:z .
_:z vcard:Family "Hacker" .
Present query result will not be changed, but this example can show that
vcard data only having vcard:Family canít match the present query.

I think, even if using the following query, I can get present query result.
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX vcard: <http://www.w3.org/2001/vcard-rdf/3.0#>
SELECT ?foafName ?gname ?fname
WHERE ( ?x foaf:name ?foafName )
       [ ( ?x foaf:mbox ?mbox ) ]
         [ ( ?x vcard:N ?vc )  [( ?vc vcard:Given ?gname )]
         [ ( ?vc vcard:Family ?fname ) ]

Hiroyuki Sato  <sato.hiroyuki@lab.ntt.co.jp>
Received on Tuesday, 14 December 2004 14:41:48 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:00:45 UTC