function ReconDialog(column, types) { this._column = column; this._types = types.slice(0, 10); var defaultTypes = { "/people/person" : { name: "Person" }, "/location/location" : { name: "Location" } }; $.each(this._types, function() { delete defaultTypes[this.id]; }); for (var id in defaultTypes) { this._types.push({ id: id, name: defaultTypes[id].name }); } this._createDialog(); } ReconDialog.prototype._createDialog = function() { var self = this; var frame = DialogSystem.createDialog(); frame.width("800px"); var header = $('
').addClass("dialog-header").text("Reconcile column " + this._column.headerLabel).appendTo(frame); var body = $('').addClass("dialog-body").appendTo(frame); var footer = $('').addClass("dialog-footer").appendTo(frame); var html = $( 'Reconcile each cell to a Freebase topic of type: | ' + 'Also use relevant details from other columns: | ' + '||
' +
' ' +
' ' +
'
| ' +
'' + '' + ' | ' + '||
' + ' Auto-match candidates with high confidence' + ' | ' + '' + 'Use ' + ' recon service ' + ' relevance service ' + ' | ' + '
Column | Freebase property |
---|