List<Map<String, Object>> triples = (List<Map<String, Object>>)x ;
for ( Map<String, Object> t : triples ) {
Node s = createNode(t, "subject") ;
Node p = createNode(t, "predicate") ;
Node o = createNode(t, "object") ;
Triple triple = parserProfile.createTriple(s, p, o, -1, -1) ;
output.triple(triple) ;
}
} else {
@SuppressWarnings("unchecked")
List<Map<String, Object>> quads = (List<Map<String, Object>>)x ;