チェンジセット 259 : SPARQLBuilderWWW/src
- 更新日時:
- 2015/12/10 21:59:58 (9 年 前)
- パス:
- SPARQLBuilderWWW/src/java/org/biohackathon/SPARQLBuilder/OWL
- ファイル:
-
- 3 変更
凡例:
- 変更なし
- 追加
- 削除
-
SPARQLBuilderWWW/src/java/org/biohackathon/SPARQLBuilder/OWL/OWLClassGraph.java
r254 r259 18 18 19 19 List<String> nodeType; 20 ArrayList<HashSet<Integer>> connectionTable;20 //ArrayList<HashSet<Integer>> connectionTable; 21 21 String sparqlEndpoint; 22 22 Set<Integer> visited; -
SPARQLBuilderWWW/src/java/org/biohackathon/SPARQLBuilder/OWL/OWLLabelReader.java
r257 r259 25 25 String buf; 26 26 while( (buf = in.readLine()) != null){ 27 String[] data = buf.split("[\\s]+"); 28 if ( data[1].equals("<http://www.w3.org/2000/01/rdf-schema#label>") ){ 29 String[] lit = data[2].split("\""); 30 labels.put(data[0].substring(1,data[0].length() -1 ), lit[1]); 31 //System.out.println(data[0].substring(1,data[0].length() -1 )); 32 //System.out.println(lit[1]); 33 } 27 String[] data1 = buf.split("[\\s]+"); 28 String[] data2 = buf.split("\""); 29 labels.put(data1[0].substring(1,data1[0].length() - 1 ), data2[1]); 34 30 } 35 31 in.close(); -
SPARQLBuilderWWW/src/java/org/biohackathon/SPARQLBuilder/OWL/Path.java
r254 r259 162 162 //throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. 163 163 } 164 165 public double computeCost(){166 int length = classLinks.size();167 ListIterator<ClassLink> lit = classLinks.listIterator();168 while( lit.hasNext() ){169 ClassLink cl = lit.next();170 // KOKO171 172 }173 return 1.0;174 }175 164 }