WARNING! Gitlab maintenance operation scheduled for Thursday, 18 June between 19:00 and 20:00 (CET). During this time window, short service interruptions (less than 5 minutes) may occur. Thank you in advance for your understanding.
@@ -128,7 +125,7 @@ public class ReadOntology extends JobRunner {
for(Strings:PREFIXES.keySet()){
if(prefixes.containsKey(s)){
if(!prefixes.get(s).equals(PREFIXES.get(s))){
logger.warn(String.format(
logger.error(String.format(
"Prefix `%s:` in the ontology file is expected to be equal to `<%s>`. Got: `<%s>`",s,
PREFIXES.get(s),prefixes.get(s)));
}
@@ -139,7 +136,7 @@ public class ReadOntology extends JobRunner {
Stringl=entry.getValue();
if(l.contains("saref")){
if(!l.matches(Constants.REGEX_ONTO_SERIES_URI)){
logger.warn(String.format(
logger.error(String.format(
"Prefix `%s:` in the ontology file contains string \"saref\", but does not seem to match the official SAREF ontologies namespaces: `\\\\%s\\\\`. Got: `<%s>`",