outline/queryByExample.js
function ConstraintEqualTo (value) {
    this.describe = function (varstr) { return varstr + ' = ' + value.toNT() }
    this.test = function (term) {
      return value.sameTerm(term)
    }
    return this
  }
function ConstraintEqualTo (value) {
    this.describe = function (varstr) { return varstr + ' = ' + value.toNT() }
    this.test = function (term) {
      return value.sameTerm(term)
    }
    return this
  }
See ../rdf/sparql.js This should only work on literals but doesn't.