final UriRef serviceUri = new UriRef(resourcePath);
//the in memory graph to which the triples for the response are added
final MGraph responseGraph = new IndexedMGraph();
//A union graph containing both the response specif triples as well
//as the log-graph
final UnionMGraph resultGraph = new UnionMGraph(responseGraph, getRequestLogGraph());
//This GraphNode represents the service within our result graph
final GraphNode node = new GraphNode(serviceUri, resultGraph);
//The triples will be added to the first graph of the union
//i.e. to the in-memory responseGraph
node.addProperty(RDF.type, Ontology.ResourceResolver);