String statementId, Map<String, Node> leafNodes, List<Link> links) {
if (event == null) {
return null;
}
if (event instanceof AppellationEventType) {
<BUG>List<TermType> terms = ((AppellationEventType) event).getTerms();

if (terms.size() > 0) {
String conceptId = terms.get(0).getTermInterpertation();
if (leafNodes.containsKey(conceptId)) {</BUG>
leafNodes.get(conceptId).getStatementIds().add(statementId);

String statementId, Map<String, Node> leafNodes, List<Link> links) {
if (event == null) {
return null;
}
if (event instanceof AppellationEventType) {
TermType term = ((AppellationEventType) event).getTermType();
if (term != null) {
String conceptId = term.getTermInterpertation();
if (leafNodes.containsKey(conceptId)) {
leafNodes.get(conceptId).getStatementIds().add(statementId);
