fixing bugs in ApplicationConfigurationOntologyUtils.java
This commit is contained in:
parent
355b9e2070
commit
3204db0be4
1 changed files with 2 additions and 2 deletions
|
@ -70,7 +70,7 @@ public class ApplicationConfigurationOntologyUtils {
|
||||||
|
|
||||||
if(prop != null) {
|
if(prop != null) {
|
||||||
log.debug("Checking " + prop.getURI() + " for additional properties");
|
log.debug("Checking " + prop.getURI() + " for additional properties");
|
||||||
queryStr = queryStr.replaceAll("\\?property", "<" + prop.getURI() + ">");
|
queryStr = queryStr.replaceAll("For \\?property", "For <" + prop.getURI() + ">");
|
||||||
}
|
}
|
||||||
log.debug(queryStr);
|
log.debug(queryStr);
|
||||||
Query q = QueryFactory.create(queryStr);
|
Query q = QueryFactory.create(queryStr);
|
||||||
|
@ -156,7 +156,7 @@ public class ApplicationConfigurationOntologyUtils {
|
||||||
Model union = ModelFactory.createUnion(displayModel, tboxModel);
|
Model union = ModelFactory.createUnion(displayModel, tboxModel);
|
||||||
|
|
||||||
for (ObjectProperty op : propList) {
|
for (ObjectProperty op : propList) {
|
||||||
propList.addAll(getAdditionalFauxSubproperties(op, subject, tboxModel, union));
|
additionalProps.addAll(getAdditionalFauxSubproperties(op, subject, tboxModel, union));
|
||||||
}
|
}
|
||||||
|
|
||||||
return additionalProps;
|
return additionalProps;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue