- 更新日時:
- 2016/03/14 15:36:25 (9 年 前)
- ファイル:
-
- 1 変更
凡例:
- 変更なし
- 追加
- 削除
-
SPARQLBuilderWWW2016/src/java/org/biohackathon/SPARQLBuilder/www/CLServlet.java
r267 r268 90 90 for ( int i = 0; i < eplist.length; i++ ){ 91 91 try{ 92 qpg.setSPARQLendpoint(eplist[i]); 93 SClass[] classes = qpg.getClasses(null); 92 SClass[] classes = qpg.getClassesByEndpoint(eplist[i]); 94 93 sortedClasses = qpg.getSortedClasses(classes); 95 94 JsonArray ja = getJsonArrayFromSortedClasses(jbfactory, sortedClasses); … … 104 103 } 105 104 String classURI = request.getParameter("class"); 106 qpg.setSPARQLendpoint(ep);107 105 SClass[] classes = null; 108 106 if ( classURI != null ){ 109 qpg.setOWLClassGraph(classURI);110 classes = qpg.getReachableClasses();107 //qpg.setOWLClassGraph(classURI); // KOKO 108 //classes = qpg.getReachableClasses(); 111 109 }else{ 112 110 classes = qpg.getClasses(null);