- 更新日時:
- 2014/12/04 14:46:14 (10 年 前)
- パス:
- SPARQLBuilderWWW/src/java/org/biohackathon/SPARQLBuilder/OWL
- ファイル:
-
- 2 変更
凡例:
- 変更なし
- 追加
- 削除
-
SPARQLBuilderWWW/src/java/org/biohackathon/SPARQLBuilder/OWL/ClassLink.java
r201 r212 143 143 //if ( linkedClassURI != null ){ 144 144 String label = getLinkedClassLabel(classes); 145 json_str+="\"nodeLabel\":"+"\""+label+"\""; 145 //json_str+="\"nodeLabel\":"+"\""+label+"\""; 146 json_str+="\"label\":"+"\""+label+"\""; 146 147 //} 147 148 // json_str+="\"numOfLinks\":"+"\""+numOfLinks+"\","; -
SPARQLBuilderWWW/src/java/org/biohackathon/SPARQLBuilder/OWL/Path.java
r201 r212 73 73 public String toJSONString3(SClass[] classes){ 74 74 String json_str=""; 75 json_str+="{\"startClassURI\":\""+ startClass+"\","; 76 json_str+="\"startClassLabel\":\""+QueryPathGenerator.getClassLabelfromList(startClass, classes)+"\","; 75 //json_str+="{\"startClassURI\":\""+ startClass+"\","; 76 //json_str+="\"startClassLabel\":\""+QueryPathGenerator.getClassLabelfromList(startClass, classes)+"\","; 77 json_str+="{\"startClass\":\""+ startClass+"\","; 78 json_str+="\"label\":\""+QueryPathGenerator.getClassLabelfromList(startClass, classes)+"\","; 77 79 if (classLinks != null && classLinks.size() != 0) { 78 80 json_str+="\"classLinks\":[";