DataRelationshipManager.relationshipCache.invalidateAll();
ClassRelationshipCache.relationshipCache.invalidateAll();
PatternRelationshipCache.relationshipCache.invalidateAll();
GraphDatabaseService db = setUpDb();
GraphManager graphManager = new GraphManager("Pattern");
Node rootNode = getRootPatternNode(db, graphManager);
Map<String, String> text = new HashMap<>();
text.put("The first word in a sentence is interesting", "sentence");
text.put("The second word in a sentence is interesting", "sentence");