use the new values statically inserted by the construct query
This commit is contained in:
parent
5329110d93
commit
a452133ac3
|
@ -87,7 +87,8 @@ public class ResourceManager {
|
||||||
if(entry instanceof LinkedHashMap){
|
if(entry instanceof LinkedHashMap){
|
||||||
LinkedHashMap tmp = (LinkedHashMap)((JSONArray)((LinkedHashMap)entry).get(type_path)).get(0);
|
LinkedHashMap tmp = (LinkedHashMap)((JSONArray)((LinkedHashMap)entry).get(type_path)).get(0);
|
||||||
class_name = (String)tmp.get("value");
|
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";
|
class_name = "AriadneCatalogEntry";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue