...
c) GROUP https://www.w3.org/TR/rdf-sparql-query/#GroupPatterns
In Eligibility Criteria (EC) SPARQL seems to be the most used language according to https://www.w3.org/wiki/images/archive/3/32/20130224153627!Convergence-Meeting-2013-Summary.pdf
...
Comming from the medical informatics domain, it is a language designed for Eligibility Criteria (EC) in clinical studies. It is closer to human language than AQL abstracting the query implementer from technical details of the query language. Temporal semantics are user-friendly (e.g. first diagnosis, last result etc.) but there are no complex pattern matching functionalities. https://www.thieme-connect.com/DOI/DOI?10.3414/ME13-02-0027
...