Hi All,
I could have sworn that I've done this before, but today I'm getting the following error:
"Non-group key variable in SELECT expression: Var(4)"
I'm trying to create a query that will give me count of employees on each team on any given day and also create a uuid for each day/team/count group. Here's my query:
select ?date ?team (count(?team) as ?count) (uuid() as ?uid)
where
{
graph ?r{
?r <tag:cert#recordDate> ?date .
?r <tag:cert#team> ?team .
#?r <tag:cert#team> "24 - SystemsEngineering" .
?r a <tag:cert#LDAPRecord>
}
}
group by ?date ?team
order by ?date ?team
Any tips? (sample data attached)
Thanks!
-Peter Neorr