A method performed at a first agent of a data sample collection service, the method comprising: receiving, from a user, a request to create a data sample template, the request to create the data sample template comprising information associated with one or more data elements, wherein the request to create the data sample comprises an indication of a type of data sample to be created, an indication of a targeted region associated with the type of data sample, and an indication of a quality requirements associated with the type of data sample; creating, based on the information associated with the one or more data elements, the data sample template comprising the indication of the type of data sample to be created and the indication of the targeted region associated with the type of data sample and an indication of the quality requirements; sending, to a second agent of the data sample collection service, a request to identify one or more data sources associated with the one or more data elements, wherein the second agent of the data sample collection service is located on a local fog node; receiving, from the second agent of the data sample collection service, information associated with the one or more data sources; configuring, based on the information associated with the one or more data sources, the data sample template; and sending, to the second agent of the data sample collection service, the configured data sample template, wherein the configured data sample template is configured to cause the second agent of the data sample collection service to generate a ready to use data sample and wherein the configured data sample template indicates both the quality requirements and the targeted region associated with the ready to use data sample to be generated. receiving, from a user, a request to create a data sample template, the request to create the data sample template comprising information associated with one or more data elements, wherein the request to create the data sample comprises an indication of a type of data sample to be created, an indication of a targeted region associated with the type of data sample, and an indication of a quality requirements associated with the type of data sample; creating, based on the information associated with the one or more data elements, the data sample template comprising the indication of the type of data sample to be created and the indication of the targeted region associated with the type of data sample and an indication of the quality requirements; sending, to a second agent of the data sample collection service, a request to identify one or more data sources associated with the one or more data elements, wherein the second agent of the data sample collection service is located on a local fog node; receiving, from the second agent of the data sample collection service, information associated with the one or more data sources; configuring, based on the information associated with the one or more data sources, the data sample template; and sending, to the second agent of the data sample collection service, the configured data sample template, wherein the configured data sample template is configured to cause the second agent of the data sample collection service to generate a ready to use data sample and wherein the configured data sample template indicates both the quality requirements and the targeted region associated with the ready to use data sample to be generated.