チェンジセット 135 : SPARQLBuilderWWW/src/java/org
- 更新日時:
- 2014/08/18 18:06:56 (10 年 前)
- パス:
- SPARQLBuilderWWW/src/java/org/biohackathon/SPARQLBuilder/OWL
- ファイル:
-
- 1 変更
- 1 コピー
凡例:
- 変更なし
- 追加
- 削除
-
SPARQLBuilderWWW/src/java/org/biohackathon/SPARQLBuilder/OWL/OWLClassGraph.java
r134 r135 109 109 continue; 110 110 } 111 } 112 111 } 113 112 nextlp.add(new LinkAndPath(classLinks[j], crrpath, crrlp.classLink.getLinkedClassURI(), false)); 114 113 } -
SPARQLBuilderWWW/src/java/org/biohackathon/SPARQLBuilder/OWL/QueryPathGenerator.java
r133 r135 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"; 33 34 //String sp = "http://www.ebi.ac.uk/rdf/services/biosamples/sparql"; 34 35 //String sc = "http://rdf.ebi.ac.uk/terms/biosd/Sample"; … … 42 43 //QueryPathGenerator qpg = new QueryPathGenerator(sp, "c:\\cdata"); 43 44 QueryPathGenerator qpg1 = new QueryPathGenerator(sp, "cdata/"); 44 //SClass[] cl = qpg.getClasses(null); 45 45 String[] elist = qpg1.factory.getEndpointURIList(); 46 qpg1.setSPARQLendpoint(sp); 47 SClass[] cl = qpg1.getClasses(null); 48 System.out.println("end"); 49 /* 46 50 long start1 = System.currentTimeMillis(); 47 51 Path[] path1 = qpg1.getPaths(sc, ec, false); … … 59 63 System.out.println(path1.length); 60 64 System.out.println(path2.length); 65 */ 61 66 } 62 67