Kernels for Structured Data