outline/userInput.js
function whatSortOfEditCell (selectedTd) {
      if (selectedTd.nextSibling) return 'predicate'
      var predicateTerm = this.getStatementAbout(selectedTd).predicate
        // var predicateTerm=selectedTd.parentNode.AJAR_statement.predicate;
      if (kb.whether(predicateTerm, UI.ns.rdf('type'), UI.ns.owl('DatatypeProperty')) ||
           kb.whether(predicateTerm, UI.ns.rdfs('range'), UI.ns.rdfs('Literal')) ||
               predicateTerm.termType === 'Collection') { return 'DatatypeProperty-like' } else if (kb.whether(predicateTerm, rdf('type'), UI.ns.owl('ObjectProperty'))) { return 'ObjectProperty-like' } else { return 'no-idea' }
    }
function whatSortOfEditCell (selectedTd) {
      if (selectedTd.nextSibling) return 'predicate'
      var predicateTerm = this.getStatementAbout(selectedTd).predicate
        // var predicateTerm=selectedTd.parentNode.AJAR_statement.predicate;
      if (kb.whether(predicateTerm, UI.ns.rdf('type'), UI.ns.owl('DatatypeProperty')) ||
           kb.whether(predicateTerm, UI.ns.rdfs('range'), UI.ns.rdfs('Literal')) ||
               predicateTerm.termType === 'Collection') { return 'DatatypeProperty-like' } else if (kb.whether(predicateTerm, rdf('type'), UI.ns.owl('ObjectProperty'))) { return 'ObjectProperty-like' } else { return 'no-idea' }
    }
Utilities