Skip to content

Commit 6fc5fc6

Browse files
committed
Updating sqo url
1 parent 65f4bad commit 6fc5fc6

File tree

3 files changed

+4
-12
lines changed

3 files changed

+4
-12
lines changed

server/src/main/java/org/diskproject/server/repository/WriteKBRepository.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -500,9 +500,9 @@ protected boolean writeLOI(String username, LineOfInquiry loi) {
500500
if (loi.getQuestionId() != null)
501501
userKB.setPropertyValue(loiItem, DISKOnt.getProperty(DISK.HAS_QUESTION),
502502
userKB.createLiteral(loi.getQuestionId()));
503-
if (loi.getExplanation() != null)
503+
if (loi.getDataQueryExplanation() != null)
504504
userKB.setPropertyValue(loiItem, DISKOnt.getProperty(DISK.HAS_DATA_QUERY_DESCRIPTION),
505-
userKB.createLiteral(loi.getExplanation()));
505+
userKB.createLiteral(loi.getDataQueryExplanation()));
506506

507507
this.save(userKB);
508508
this.end();
@@ -576,7 +576,7 @@ protected LineOfInquiry loadLOI(String username, String id) {
576576

577577
KBObject explanationObj = userKB.getPropertyValue(loiItem, DISKOnt.getProperty(DISK.HAS_DATA_QUERY_DESCRIPTION));
578578
if (explanationObj != null) {
579-
loi.setExplanation(explanationObj.getValueAsString());
579+
loi.setDataQueryExplanation(explanationObj.getValueAsString());
580580
}
581581

582582
this.end();

shared/src/main/java/org/diskproject/shared/classes/loi/LineOfInquiry.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,6 @@ public String getDataSource () {
5454
return this.dataSource;
5555
}
5656

57-
public String getExplanation () {
58-
return this.dataQueryExplanation;
59-
}
60-
61-
public void setExplanation (String e) {
62-
this.dataQueryExplanation = e;
63-
}
64-
6557
public Set<String> getAllWorkflowVariables () {
6658
Set<String> allVars = new HashSet<String>();
6759
List<WorkflowBindings> wfs = new ArrayList<WorkflowBindings>(workflows);

shared/src/main/java/org/diskproject/shared/classes/util/KBConstants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ public class KBConstants {
44
// Internal URI
55
public static final String DISK_URI = "https://knowledgecaptureanddiscovery.github.io/DISK-Ontologies/disk/release/1.2.5/ontology.ttl";
66
public static final String HYP_URI = "https://knowledgecaptureanddiscovery.github.io/DISK-Ontologies/hypothesis/release/0.0.3/ontology.xml";
7-
public static final String QUESTION_URI = "https://knowledgecaptureanddiscovery.github.io/QuestionOntology/release/v1.3.1/ontology.xml";
7+
public static final String QUESTION_URI = "https://knowledgecaptureanddiscovery.github.io/QuestionOntology/release/v1.3.1/ontology.ttl";
88

99
public static final String DISK_NS = "http://disk-project.org/ontology/disk#";
1010
public static final String HYP_NS = "http://disk-project.org/ontology/hypothesis#";

0 commit comments

Comments
 (0)