solid-ui
solid-ui copied to clipboard
Justification code needs to be removed
if (statement) {
var oneStatementFormula = new UI.rdf.IndexedFormula();
oneStatementFormula.statements.push(statement); // st.asFormula()
// The following works because Formula.hashString works fine for
// one statement formula
var reasons = kb.each(oneStatementFormula, kb.sym('http://dig.csail.mit.edu/TAMI/2007/amord/tms#justification'));
if (reasons.length) {
The justification code was part of a system to track and show to a judge the argument about why data use was appropriate or inappropriate. it was mainly confined to two new panes, but it seems the common code outline manager still has traces of it, which should be removed.
The Yahoo drag and drop code library also is no longer used, and so all code which references that should also go.
That code also gives an error sometimes
Error: Can't serialize nonstandard term type (was 'Graph')