Text this: Learning object models from graph templates.