You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@jitsedesmet I was told to ping you for my questions related to the expressions code.
One thing that stuck out to me in the case where counts are incorrect is that startTerm (code) equals the subject of the current binding, rather than the predicate which we are supposed to be counting.
On the top of my head: start term is basically the value you'd return when put was never called.
So for the count aggregator, this would be 0, but the sample aggregator does not have a start term (a sample of nothing is simply an error (irc)).
I hope that helps. (I did not really read the issue, so if it didn't, just ping me again :) )
Issue type:
Description:
Given the following input
running this query:
results in
while running this query (object count switched with subject count in projection):
results in the expected
Environment:
NOTE I'm using
npx comunica-sparql-file-http
on the input file above.I've tried this on several other SPARQL implementations and these do not show this behavior.
Crash log:
none
The text was updated successfully, but these errors were encountered: