- 更新日時:
- 2014/09/11 15:46:26 (10 年 前)
- ファイル:
-
- 1 変更
凡例:
- 変更なし
- 追加
- 削除
-
SPARQLBuilderWWW/src/java/org/biohackathon/SPARQLBuilder/OWL/QueryPathGenerator.java
r135 r145 27 27 //String ec = "http://purl.org/allie/ontology/201108#LongForm"; 28 28 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"; 32 32 33 String sp = "http://www.ebi.ac.uk/rdf/services/reactome/sparql";34 33 //String sp = "http://www.ebi.ac.uk/rdf/services/biosamples/sparql"; 35 34 //String sc = "http://rdf.ebi.ac.uk/terms/biosd/Sample"; … … 43 42 //QueryPathGenerator qpg = new QueryPathGenerator(sp, "c:\\cdata"); 44 43 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 50 46 long start1 = System.currentTimeMillis(); 51 47 Path[] path1 = qpg1.getPaths(sc, ec, false); … … 63 59 System.out.println(path1.length); 64 60 System.out.println(path2.length); 65 */66 61 } 67 62