Query to obtain JSON formatted Building Fractions