Alternative ways to query graph databases