W3C home > Mailing lists > Public > www-rdf-logic@w3.org > February 2002

Re: how does existing RDF software handle this datatypes test?

From: Uche Ogbuji <uche.ogbuji@fourthought.com>
Date: Fri, 01 Feb 2002 00:35:01 -0700
Message-Id: <200202010735.g117Z1I09567@localhost.localdomain>
To: Dan Connolly <connolly@w3.org>
cc: RDF Interest <www-rdf-interest@w3.org>, RDF Logic <www-rdf-logic@w3.org>
> There's a lot to read about TDL and S,
> http://lists.w3.org/Archives/Public/www-rdf-interest/2002Jan/0164.html
> but I think it can be summarized with the following
> test case. If you develop (or use) any RDF software,
> please try it out on this test case and report
> your findings.

Using 4versa (and building the query up bit by bit since Versa is new)


$ 4versa --rdf-file=rdf/dc-20020130.rdf "(@'#Film' <- rdf:type - *) - dc:title 
-> *"
Executing Query:
(@'#Film' <- rdf:type - *) - dc:title -> *
With nsMapping of:
xml --> http://www.w3.org/XML/1998/namespace
rdf --> http://www.w3.org/1999/02/22-rdf-syntax-ns#
ex --> http://example/vocab#
None --> file:/home/connolly/w3ccvs/WWW/2000/10/swap/test/dt10-premise.n3#
dc --> http://purl.org/dc/elements/1.1/
<List>
  <String>10</String>
</List>


$ 4versa --rdf-file=rdf/dc-20020130.rdf "@'#mary' - ex:age -> *"
Executing Query:
@'#mary' - ex:age -> *
With nsMapping of:
xml --> http://www.w3.org/XML/1998/namespace
rdf --> http://www.w3.org/1999/02/22-rdf-syntax-ns#
ex --> http://example/vocab#
None --> file:/home/connolly/w3ccvs/WWW/2000/10/swap/test/dt10-premise.n3#
dc --> http://purl.org/dc/elements/1.1/
<List>
  <String>10</String>
</List>


$ 4versa --rdf-file=rdf/dc-20020130.rdf "eq((@'#Film' <- rdf:type - *) - 
dc:title -> *, @'#mary' - ex:age -> *)"
Executing Query:
eq((@'#Film' <- rdf:type - *) - dc:title -> *, @'#mary' - ex:age -> *)
With nsMapping of:
xml --> http://www.w3.org/XML/1998/namespace
rdf --> http://www.w3.org/1999/02/22-rdf-syntax-ns#
ex --> http://example/vocab#
None --> file:/home/connolly/w3ccvs/WWW/2000/10/swap/test/dt10-premise.n3#
dc --> http://purl.org/dc/elements/1.1/
<Boolean>true</Boolean>


So the underlying implementation (4RDF in this case) thinks they are indeed 
the same


-- 
Uche Ogbuji                               Principal Consultant
uche.ogbuji@fourthought.com               +1 303 583 9900 x 101
Fourthought, Inc.                         http://Fourthought.com 
4735 East Walnut St, Boulder, CO 80301-2537, USA
XML strategy, XML tools (http://4Suite.org), knowledge management
Received on Friday, 1 February 2002 02:38:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:52:41 GMT