Ok, I'm having kind of a brain fart moment here... I know how to obtain the lat/lng of a user via javascript, and have it working. I know how to search the database for entries within a certain radius ...
A new generation of graph databases has taken hold, and a generation of query languages has arrived alongside them. The assorted graph database query languages include the likes of Gremlin, Cypher, ...