Re: Question about OPTIONAL, FILTER, nesting, and ordering

2020-05-14 Thread Richard Cyganiak
Steve, > On 14 May 2020, at 12:53, Steve Vestal wrote: > > Thank you very much, very helpful. > > One final question. When you say a FILTER (such as FILTER > {!sameTerm(a,b)}) removes certain solutions in a SELECT query, does that > mean it removes rows that do not pass the FILTER? It does

Re: Question about OPTIONAL, FILTER, nesting, and ordering

2020-05-14 Thread Steve Vestal
Thank you very much, very helpful. One final question.  When you say a FILTER (such as FILTER {!sameTerm(a,b)}) removes certain solutions in a SELECT query, does that mean it removes rows that do not pass the FILTER?  It does not try and do anything clever about removing individual values within

Re: Question about OPTIONAL, FILTER, nesting, and ordering

2020-05-13 Thread Richard Cyganiak
Hi Steve, > On 12 May 2020, at 22:19, Steve Vestal wrote: > > DuCharme's book says that the order of OPTIONALs matters, in the sense > that if bindings have been done by an OPTIONAL, then later OPTIONALs > will have no effect if any variables they might bind have already been > bound (so order

Question about OPTIONAL, FILTER, nesting, and ordering

2020-05-12 Thread Steve Vestal
DuCharme's book says that the order of OPTIONALs matters, in the sense that if bindings have been done by an OPTIONAL, then later OPTIONALs will have no effect if any variables they might bind have already been bound (so order of OPTIONALs can affect query results).  What prompted this query (no