(Endpoint+Query) analysis code for YASGUI journal paper