差分発生行の前後
無視リスト:
更新日時:
2014/09/11 15:46:26 (10 年 前)
更新者:
atsuko
ログメッセージ:

reactome で path 選択まで可

パス:
SPARQLBuilderWWW/src/java/org/biohackathon/SPARQLBuilder/OWL
ファイル:
2 変更

凡例:

変更なし
追加
削除
  • SPARQLBuilderWWW/src/java/org/biohackathon/SPARQLBuilder/OWL/OWLClassGraph.java

    r135 r145  
    109109                              continue; 
    110110                          } 
    111                       }                       
     111                      } 
     112                       
    112113                      nextlp.add(new LinkAndPath(classLinks[j], crrpath, crrlp.classLink.getLinkedClassURI(), false)); 
    113114                  } 
  • SPARQLBuilderWWW/src/java/org/biohackathon/SPARQLBuilder/OWL/QueryPathGenerator.java

    r135 r145  
    2727        //String ec = "http://purl.org/allie/ontology/201108#LongForm"; 
    2828 
    29         //String sp = "http://www.ebi.ac.uk/rdf/services/chembl/sparql"; 
    30         //String sc = "http://rdf.ebi.ac.uk/terms/chembl#Enzyme"; 
    31         //String ec = "http://rdf.ebi.ac.uk/terms/chembl#Activity"; 
     29        String sp = "http://www.ebi.ac.uk/rdf/services/chembl/sparql"; 
     30        String sc = "http://rdf.ebi.ac.uk/terms/chembl#Enzyme"; 
     31        String ec = "http://rdf.ebi.ac.uk/terms/chembl#Activity"; 
    3232 
    33         String sp = "http://www.ebi.ac.uk/rdf/services/reactome/sparql"; 
    3433        //String sp = "http://www.ebi.ac.uk/rdf/services/biosamples/sparql"; 
    3534        //String sc = "http://rdf.ebi.ac.uk/terms/biosd/Sample"; 
     
    4342        //QueryPathGenerator qpg = new QueryPathGenerator(sp, "c:\\cdata"); 
    4443        QueryPathGenerator qpg1 = new QueryPathGenerator(sp, "cdata/"); 
    45         String[] elist = qpg1.factory.getEndpointURIList(); 
    46         qpg1.setSPARQLendpoint(sp); 
    47         SClass[] cl = qpg1.getClasses(null); 
    48         System.out.println("end"); 
    49         /* 
     44        //SClass[] cl = qpg.getClasses(null); 
     45         
    5046        long start1 = System.currentTimeMillis(); 
    5147        Path[] path1 = qpg1.getPaths(sc, ec, false); 
     
    6359        System.out.println(path1.length); 
    6460        System.out.println(path2.length); 
    65                 */ 
    6661    } 
    6762