Copy well-formedness criteria from nanopub-java