Skip to content
Snippets Groups Projects
Commit 0358e1de authored by Baptiste Toulemonde's avatar Baptiste Toulemonde
Browse files

fix

parent 83b61cde
No related branches found
No related tags found
No related merge requests found
......@@ -141,9 +141,9 @@ public class MappingService {
}
if (paths.stream().filter(e -> e.getDcatClass().equals("dcat:dataset"))
.filter(e -> e.getProperty().equals("dct:publisher")).collect(Collectors.toList()).size() == 0) {
datasetProperties += "dct:publisher [ a foaf:Agent; foaf:name \"unedefined\"];\n";
datasetProperties += "dct:publisher [ a foaf:Agent; foaf:name \"undefined\"];\n";
}
distributionProperties += "dct:hasVersion \"null\";\n";
distributionProperties += "dct:hasVersion \"null\";\ndct:publisher [ a foaf:Agent; foaf:name \\\"undefined\\\"];\\n";
for (Path path : paths) {
try {
String[] array = path.getPath().split(" : ");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment