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

    if (obj == null) return notThere;

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