Added frontend-based YAGO target type deduction.