Example #1
0
  protected String getVarValueAsString(QuerySolution rBind, String varName) {
    RDFNode obj = rBind.get(varName);

    if (obj == null) return notThere;

    return FmtUtils.stringForRDFNode(obj, context);
  }
Example #2
0
 protected String slotToString(Node n) {
   return FmtUtils.stringForNode(n, context);
 }
Example #3
0
 protected void formatTriples(BasicPattern pattern) {
   FmtUtils.formatPattern(out, pattern, context);
 }