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.

is this a bug or is my syntax wrong (and if so, how does one do this?)

-w
-- 

| 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

Reply via email to