ok... makes me feel a little less nuts. will create a test case. -w
On 8/6/07, Drew Perttula <[EMAIL PROTECTED]> wrote: > > whit wrote: > > I'm trying to do a match like so: > > > > select distinct ?person > > where { > > ?person foaf:knows ?a . > > ?person foaf:knows ?b . > > } > > > > in plain terms, I want all people who know both ?a and ?b . My query > > work if I include just a single pattern (ala ?person foaf:knows ?a or > > ?person foaf:knows ?b) but fails if both pattern are present despite > > triples representing persons knowing ?a and ?b. > > Looks right to me (assuming you bound ?a and ?b). Does it behave > differently without 'distinct'? I recommend writing this into a test > case if you can. Then we'll all have exactly the same code to run, and > we can put it in the suite so it gets run on every future version of > rdflib. > -- | david "whit" morriss | | contact :: http://public.xdi.org/=whit "If you don't know where you are, you don't know anything at all" Dr. Edgar Spencer, Ph.D., 1995 "I like to write code like other ppl like to tune their cars or 10kW hifi equipment..." Christian Heimes, 2004
_______________________________________________ Dev mailing list Dev@rdflib.net http://rdflib.net/mailman/listinfo/dev