Re: Re: New tests to cover missing algebraic forms

> >
> > Thanks, Chimezie.
> >
> > I added a trailing period to algebra/join-combo-graph-2.ttl and to 
> > optional/complex-data-1.ttl and to optional/result-complex*.ttl to get the 
> > parser I'm using to be happy. I also removed a stray " from a namespace 
> > declaration in result-opt-complex-2.ttl .

Well spotted, thanks.

> >> The new tests are:
> >> http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/manifest#join-combo-1
> >> Algebra form: Join(LeftJoin(BGP(..),{..}),Join(BGP(..),Union(..,..)))
> >> Comment: Tests nested combination of Join with a BGP / OPT and a BGP /
> >> UNION
> >> PREFIX :    <http://example/>
> >> SELECT ?a ?y ?d ?z
> >> {     ?a :p ?c OPTIONAL { ?a :r ?d }.     ?a ?p 1 { ?p a ?y } UNION { ?a 
> >> ?z ?p } }
> >
> > The result set here has two bindings for ?y. I'm guessing that one (the one 
> > bound to a literal) should be ?d 

Yes, it is supposed to be ?d.  I.e.,:

?a -> http://example/x1
?y -> http://www.w3.org/1999/02/22-rdf-syntax-ns#Property
?d -> 4^^xsd:integer

I've made this change

> but even then I don't think I'd agree with 
> > the test. Does the test assume RDF entailment (specifically knowing that if 
> > :a :b :c then :b a rdf:Property)?

As written it doesn't, since the relevant statement (about rdf:Property)
is explicitly asserted in the dataset:

:p a rdf:Property

Though I can see how the use of rdf:Property would seem to suggest RDF
entailment...

-- 
Chimezie Ogbuji
Lead Systems Analyst
Thoracic and Cardiovascular Surgery
Cleveland Clinic Foundation
9500 Euclid Avenue/ W26
Cleveland, Ohio 44195
Office: (216)444-8593
ogbujic@ccf.org


===================================

Cleveland Clinic is ranked one of the top hospitals
in America by U.S. News & World Report (2007).  
Visit us online at http://www.clevelandclinic.org for
a complete listing of our services, staff and
locations.


Confidentiality Note:  This message is intended for use
only by the individual or entity to which it is addressed
and may contain information that is privileged,
confidential, and exempt from disclosure under applicable
law.  If the reader of this message is not the intended
recipient or the employee or agent responsible for
delivering the message to the intended recipient, you are
hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited.  If
you have received this communication in error,  please
contact the sender immediately and destroy the material in
its entirety, whether electronic or hard copy.  Thank you.

Received on Tuesday, 14 August 2007 14:18:20 UTC