OData 4 ( http://www.odata.org/ ) has a very complete query syntax and supports the ER data model with navigation, filtering, expressions, etc. The MSFT Azure AD Graph API is based on OData. The only drawback is that the full specification is pretty deep. There are several open source versions, Apache Olingo ( http://olingo.apache.org/ ), which is one with support for Java clients and servers. There are others.
source share