The query generator generates the java query code automatically, and could be queried by bimserver. During the query process, the building information is transformed to OpenStudio model from the input IFC model.