### Question:
WSCKBMatchGraph extends AbstractMatchGraph<Concept, Boolean> { @Override public Map<Concept, Boolean> getSourceElementsThatMatch(Concept target) { Map<Concept,Boolean> result = new HashMap<Concept, Boolean>(); for(Concept source : kb.getSubclasses(target)){ result.put(source, true); } result.put(target, true); return result; } WSCKBMatchGraph(HierarchicalKnowledgeBase kb); @Override Set<Concept> getElements(); @Override Map<Concept, Boolean> getTargetElementsMatchedBy(Concept source); @Override Map<Concept, Boolean> getSourceElementsThatMatch(Concept target); @Override MatchTable<Concept, Boolean> partialMatch(Set<Concept> source, Set<Concept> target); @Override MatchTable<Concept, Boolean> fullMatch(Set<Concept> source, Set<Concept> target); @Override Boolean match(Concept source, Concept target);  }### Answer:
@Test public void testGetSourceElementsThatMatch() throws Exception { System.out.println(matchGraph.getSourceElementsThatMatch(kb.getConcept("con864995873"))); }