StringTokenizer toke = new StringTokenizer(line);
String subject = toke.nextToken();
String predicate = toke.nextToken();
String object = toke.nextToken();
Term subT = resolveTerm(subject, onto);
Term objT = resolveTerm(object, onto);
Term relT = resolveTerm(predicate, onto);
Triple trip = resolveTriple(subT, objT, relT, onto);
trip = trip==null?null:trip; // prevent unused field error
} catch (StringIndexOutOfBoundsException e) {
throw new IOException("Could not parse line: " + line);