チェンジセット 150 : BH13SPARQLBuilder/src/org/biohackathon/SPARQLBuilder/OWL/AcquiredStructureAnalyzer.java
- 更新日時:
- 2014/09/25 11:16:36 (10 年 前)
- ファイル:
-
- 1 変更
凡例:
- 変更なし
- 追加
- 削除
-
BH13SPARQLBuilder/src/org/biohackathon/SPARQLBuilder/OWL/AcquiredStructureAnalyzer.java
r128 r150 35 35 36 36 public static void main(String[] args) throws Exception{ 37 JenaModelGenerator jmGene = new JenaModelGenerator("c:\\temp\\reactomeF18s.ttl"); 37 38 JenaModelGenerator jmGene = new JenaModelGenerator("c:\\temp\\biosamplesF11.ttl"); 39 // JenaModelGenerator jmGene = new JenaModelGenerator("c:\\temp\\reactomeF18s.ttl"); 38 40 AcquiredStructureAnalyzer impl 39 41 = new AcquiredStructureAnalyzer(jmGene.getEndpointURI(), jmGene.getGraphURIs(), jmGene.getModel()); 40 // System.out.println("--------------------------"); 41 // SClass[] scs = impl.getOWLClasses(null, null, null, true); 42 // System.out.println("list classes:---------------"); 43 // for(SClass sc: scs){ 44 // System.out.println(sc.toString()); 42 43 System.out.println("--------------------------"); 44 SClass[] scs = impl.getOWLClasses(null, null, null, true); 45 System.out.println("list classes:---------------"); 46 for(SClass sc: scs){ 47 System.out.println(sc.toString()); 48 } 49 System.out.println("--------------------------"); 50 51 // ClassLink[] cls = impl.getNextClass(null,"http://www.biopax.org/release/biopax-level3.owl#Protein",100,true ); 52 // for(ClassLink cl: cls){ 53 // System.out.println(cl.toString()); 45 54 // } 46 55 // System.out.println("--------------------------"); 47 48 ClassLink[] cls = impl.getNextClass(null,"http://www.biopax.org/release/biopax-level3.owl#Protein",100,true );49 for(ClassLink cl: cls){50 System.out.println(cl.toString());51 }52 System.out.println("--------------------------");53 56 54 57 }