setting up graphing and RESTful data representation- date/time span type of queries.