use the new values statically inserted by the construct query

pull/2/head
Alessia Bardi 4 years ago
parent 5329110d93
commit a452133ac3

@ -87,7 +87,8 @@ public class ResourceManager {
if(entry instanceof LinkedHashMap){
LinkedHashMap tmp = (LinkedHashMap)((JSONArray)((LinkedHashMap)entry).get(type_path)).get(0);
class_name = (String)tmp.get("value");
if (class_name.equals("provided record") || class_name.equals("Dataset Collection")) {
//TODO: Use rdf:type instead of these values that are added statically by the CONSTRUCT queries (that need to be changed as well to include the rdf:type
if (class_name.equals("Record") || class_name.equals("Collection")) {
class_name = "AriadneCatalogEntry";
}
}

Loading…
Cancel
Save