@@ -136,10 +136,10 @@ public class ReadExamples extends JobRunner {
Strings=entry.getKey();
Stringl=entry.getValue();
if(l.contains("saref")){
if(!l.matches(Constants.REGEX_ONTO_SERIES_URI)){
if(!l.matches(Constants.REGEX_ONTO_URI)){
logger.warn(String.format(
"Prefix `%s:` in the example file contains string \"saref\", but does not seem to match the official SAREF ontologies namespaces: `\\\\%s\\\\`. Got: `<%s>`",
s,Constants.REGEX_ONTO_SERIES_URI,l));
"Prefix `%s:` in the example file contains string \"saref\", but does not seem to match a SAREF ontologies namespace: `\\\\%s\\\\`. Got: `<%s>`",