- From: Eric Prud'hommeaux <eric@w3.org>
- Date: Wed, 15 Sep 2004 13:03:55 -0400
- To: "Seaborne, Andy" <andy.seaborne@hp.com>
- Cc: Dan Connolly <connolly@w3.org>, RDF Data Access Working Group <public-rdf-dawg@w3.org>, stephane boyera <boyera@w3.org>
- Message-ID: <20040915170355.GB27514@w3.org>
On Tue, Sep 14, 2004 at 12:05:02PM +0100, Seaborne, Andy wrote: > > Looking through the profile, I wrote the query: > > ------------------------------------------- > PREFIX prf: <http://www.wapforum.org/UAPROF/ccppschema-20000405#> > ASK > { ?x rdf:type prf:HardwarePlatform . > ?x prf:ColorCapable "Yes" . } > ------------------------------------------- > > which tests whether any #HardwarePlatform has a prf:ColorCapable value > of "Yes" > > On this date, this resulted in: > > Ask => Yes (Printed by the program running the query). > > so writing a suitable function to do dc:HardwarePlatform:ColorCapable() > looks possible by a query over the profile itself. I presume that the > server will have taken care of the profile diffs to produce an RDF model > of the device. > > > Looking at the profile, I see use of RDF bags. Querying bags at the raw > triple level is hard - RDF lists (collections) are harder still. This > suggest an explicit operation such as "member(?bag, ?x)" to access the > contents. But for an RDF list this seems to be fine-graingraph walking > so has implementation issues. > > I'd like to hear from people with RDF storage implementations as to know > they deal with containers and collections. In memory DB supports Algae's glob-style wildcards in predicates (rdf:_*). It also had a function for finding members of collections, but I think that's probably suffered some bitrot. > -------- Original Message -------- > > From: Dan Connolly <> > > Date: 13 September 2004 18:21 > > > > Continuing the investigation of how DAWG relates to peer W3C > > technologies, I have been chatting with Stephane about DIWG > > stuff, and he sent me the attached use case. (forwarded > > with permission). > > > > We're likely to get more input from the DIWG soon, but meanwhile, > > I thought this was interesting enough to talk about. > > > > Anyone care to take a look, and, perhaps, suggest which requirements > > it motivates? Any new ones? > > http://www.w3.org/2001/sw/DataAccess/UseCases#req > > > > -- > > Dan Connolly, W3C http://www.w3.org/People/Connolly/ -- -eric office: +81.466.49.1170 W3C, Keio Research Institute at SFC, Shonan Fujisawa Campus, Keio University, 5322 Endo, Fujisawa, Kanagawa 252-8520 JAPAN +1.617.258.5741 NE43-344, MIT, Cambridge, MA 02144 USA cell: +1.857.222.5741 (does not work in Asia) (eric@w3.org) Feel free to forward this message to any list for any purpose other than email address distribution.
Received on Wednesday, 15 September 2004 17:03:56 UTC