Re: Issue 1 - ToMultiSet

On 07/15/2016 07:41 AM, Andy Seaborne wrote:
[...]

> 
> Peter wrote:
>> because multisets also need to be allowed as Graph Patterns.
> 
> Where exactly? (VALUES uses ToMultiSet).
> 
>     Andy

Not so!

*******
18.2.2.6 Translate Graph Patterns

If the form is InlineData

The result is a multiset of solution mappings 'data'.

data is formed by forming a solution mapping from the variable in the
corresponding position in list of variables (or single variable), omitting a
binding if the BindingValue is the word UNDEF.
*******

The translation to the SPARQL algebra ends up putting actual multisets of
solution mappings into the expression before the evaluation phase.  These do
not show up the characterization of the SPARQL algebra.

peter

Received on Friday, 15 July 2016 15:02:28 UTC