}
}
public void handleStatement(final Statement s) throws RDFHandlerException {
if (this.asProperties.contains(s.getPredicate().toString())) {
final FaunusVertex subject = new FaunusVertex(Crc64.digest(s.getSubject().stringValue().getBytes()));
subject.setProperty(postProcess(s.getPredicate()), postProcess(s.getObject()));
subject.setProperty(RDFInputFormat.URI, s.getSubject().stringValue());
if (this.useFragments)
subject.setProperty(RDFInputFormat.NAME, createFragment(s.getSubject()));
subject.enablePath(this.enablePath);
this.queue.add(subject);
} else if (this.literalAsProperty && (s.getObject() instanceof Literal)) {
final FaunusVertex subject = new FaunusVertex(Crc64.digest(s.getSubject().stringValue().getBytes()));
subject.setProperty(postProcess(s.getPredicate()), castLiteral((Literal) s.getObject()));
subject.setProperty(RDFInputFormat.URI, s.getSubject().stringValue());
if (this.useFragments)
subject.setProperty(RDFInputFormat.NAME, createFragment(s.getSubject()));
subject.enablePath(this.enablePath);
this.queue.add(subject);
} else {
long subjectId = Crc64.digest(s.getSubject().stringValue().getBytes());
final FaunusVertex subject = new FaunusVertex(subjectId);
subject.reuse(subjectId);
subject.setProperty(RDFInputFormat.URI, s.getSubject().stringValue());
if (this.useFragments)
subject.setProperty(RDFInputFormat.NAME, createFragment(s.getSubject()));
subject.enablePath(this.enablePath);
this.queue.add(subject);
long objectId = Crc64.digest(s.getObject().stringValue().getBytes());
final FaunusVertex object = new FaunusVertex(objectId);
object.reuse(objectId);
object.setProperty(RDFInputFormat.URI, s.getObject().stringValue());
if (this.useFragments)
object.setProperty(RDFInputFormat.NAME, createFragment(s.getObject()));
object.enablePath(this.enablePath);
this.queue.add(object);
final FaunusEdge predicate = new FaunusEdge(-1, subjectId, objectId, postProcess(s.getPredicate()));
predicate.setProperty(RDFInputFormat.URI, s.getPredicate().stringValue());
if (null != s.getContext())