src/util/graph-util.js
/**
 * Appends RDF statements from one graph object to another
 * @method appendGraph
 * @param toGraph {Graph} Graph object to append to
 * @param fromGraph {Graph} Graph object to append from
 */
Appends RDF statements from one graph object to another
@method appendGraph
@param toGraph {Graph} Graph object to append to
@param fromGraph {Graph} Graph object to append from
Appends RDF statements from one graph object to another @method appendGraph @param toGraph { Graph } Graph object to append to @param fromGraph { Graph } Graph object to append from
function appendGraph (toGraph, fromGraph) {
  fromGraph.statementsMatching(ALL_STATEMENTS)
    .forEach(function (st) {
      toGraph.add(st.subject, st.predicate, st.object, st.why)
    })
}
function appendGraph ( toGraph , fromGraph ) { fromGraph . statementsMatching ( ALL_STATEMENTS ) . forEach ( function ( st ) { toGraph . add ( st . subject , st . predicate , st . object , st . why ) } ) }
Appends RDF statements from one graph object to another
 @method appendGraph
 @param toGraph {Graph} Graph object to append to
 @param fromGraph {Graph} Graph object to append from
Appends RDF statements from one graph object to another @method appendGraph @param toGraph { Graph } Graph object to append to @param fromGraph { Graph } Graph object to append from
// var source = (docURI) ? rdf.sym(docURI) : undefined