STEM: Stacked threshold-based entity matching for knowledge base generation