diff --git a/pom.xml b/pom.xml index 6c45113..1a69000 100644 --- a/pom.xml +++ b/pom.xml @@ -102,7 +102,7 @@ net.trustyuri trustyuri - 1.10 + 1.11 org.mongodb diff --git a/src/main/java/org/nanopub/trusty/TempUriReplacer.java b/src/main/java/org/nanopub/trusty/TempUriReplacer.java index 4242e81..ff038c4 100644 --- a/src/main/java/org/nanopub/trusty/TempUriReplacer.java +++ b/src/main/java/org/nanopub/trusty/TempUriReplacer.java @@ -12,15 +12,16 @@ /** * You can use temporary URIs for your nanopublications that start with - * "http://purl.org/nanopub/temp/". These then become short "http://purl.org/np/" - * when they are transformed to trusty nanopublications. + * "http://purl.org/nanopub/temp/". These then become "http://purl.org/np/ARTIFACTCODE-PLACEHOLDER/" + * before being transformed to trusty nanopublications, and as final trusty nanopublications have + * the actual artifact code instead of the placeholder. * * @author Tobias Kuhn */ public class TempUriReplacer implements RDFHandler { public static final String tempUri = "http://purl.org/nanopub/temp/"; - public static final String normUri = "http://purl.org/np/"; + public static final String normUri = "http://purl.org/np/ARTIFACTCODE-PLACEHOLDER/"; private String uriPrefix; private RDFHandler nestedHandler;