Learning With Markov Logic Networks : Transfer Learning, Structure Learning, And An Application To Web Query Disambiguation