sampledata/samplequery: HTML only for first data and first query