- 更新日時:
- 2014/10/28 11:44:50 (10 年 前)
- パス:
- SPARQLBuilderWWW/src/java/org/biohackathon/SPARQLBuilder/OWL
- ファイル:
-
- 2 変更
凡例:
- 変更なし
- 追加
- 削除
-
SPARQLBuilderWWW/src/java/org/biohackathon/SPARQLBuilder/OWL/OWLClassGraph.java
r177 r197 44 44 public OWLClassGraph(String startClass, String endClass){ 45 45 super(); 46 47 // start & end 46 48 this.startClass = startClass; 47 addNode(startClass);48 49 this.endClass = endClass; 49 addNode(endClass); 50 51 // parameters 50 52 nsteps = 3; 51 53 limit = 1000; 52 54 prunecut = 100; 55 56 // constructing subgraph 57 53 58 } 54 59 … … 229 234 } 230 235 */ 236 237 private void setGraph(RDFSchemaAnalyzer rdfsa, boolean countLink){ 238 // BFS 239 240 241 //ClassLink[] classLinks = rdfsa.getNextClass(null, crrlp.classLink.getLinkedClassURI(), limit, countLinks); 242 } 231 243 232 244 } -
SPARQLBuilderWWW/src/java/org/biohackathon/SPARQLBuilder/OWL/QueryPathGenerator.java
r177 r197 18 18 private RDFSchemaAnalyzer analyzer = null; 19 19 //private OWLClassGraph graph; 20 20 //private PathMatrix matrix = null; 21 21 22 private static final String CDIR = "cdata"; 22 23 … … 84 85 } 85 86 try { 86 return analyzer.getOWLClasses(null, keywords, null, false);87 return analyzer.getOWLClasses(null, keywords, null, true); 87 88 }catch(Exception e){ 88 89 System.err.println(e);