@Override
public void patchResource(RepositoryConnection connection, URI uri, InputStream patchData, boolean strict) throws RepositoryException, ParseException, InvalidModificationException, InvalidPatchDocumentException {
final Literal now = connection.getValueFactory().createLiteral(new Date());
log.trace("parsing patch");
List<PatchLine> patch = new RdfPatchParserImpl(patchData).parsePatch();
// we are allowed to restrict the patch contents (Sec. ???)
log.trace("checking for invalid patch statements");
for (PatchLine patchLine : patch) {
if (LDP.contains.equals(patchLine.getStatement().getPredicate())) {