チェンジセット 80 : BH13SPARQLBuilder
- 更新日時:
- 2014/06/18 15:15:37 (10 年 前)
- パス:
- BH13SPARQLBuilder/src/org/biohackathon/SPARQLBuilder/OWL
- ファイル:
-
- 2 追加
- 2 移動
凡例:
- 変更なし
- 追加
- 削除
-
BH13SPARQLBuilder/src/org/biohackathon/SPARQLBuilder/OWL/EndpointAnalyzer.java
r65 r80 23 23 * @version 29.01.2014 24 24 */ 25 public class OWLQueryBuilderImpl implements OWLQueryBuilder {25 public class EndpointAnalyzer implements RDFSchemaAnalyzer { 26 26 27 27 // private Model model = null; … … 36 36 * @since 28.01.2014 37 37 */ 38 public OWLQueryBuilderImpl(String endpointURI) {38 public EndpointAnalyzer(String endpointURI) { 39 39 this.endpointURI = endpointURI; 40 40 } … … 60 60 // keyword = null; 61 61 62 OWLQueryBuilder builder = new OWLQueryBuilderImpl(sparqlEndpoint);62 EndpointAnalyzer builder = new EndpointAnalyzer(sparqlEndpoint); 63 63 64 64 SClass[] clz = builder.getOWLClasses(null, keyword, "en", false); … … 705 705 } 706 706 707 public Path[] getPaths(String startClass, String endClass, int mode, 707 /* 708 public Path[] getPaths(String startClass, String endClass, int mode, 708 709 boolean countLinks) throws Exception { 709 710 OWLClassGraph graph = new OWLClassGraph(startClass, endClass); … … 715 716 return null; 716 717 } 718 */ 717 719 718 720 /* -
BH13SPARQLBuilder/src/org/biohackathon/SPARQLBuilder/OWL/RDFSchemaAnalyzer.java
r59 r80 10 10 * @version 29.01.2014 11 11 */ 12 public interface OWLQueryBuilder {12 public interface RDFSchemaAnalyzer { 13 13 /** 14 14 * 譏守、コ逧�↓RDF縺ァ譖ク縺九l縺ヲ縺�k繧ッ繝ゥ繧ケ繧貞叙蠕励☆繧� … … 44 44 * @since 28.01.2014 45 45 */ 46 public Instance[] getInstances(String[] graphURIs, String keyword) throws Exception;46 // public Instance[] getInstances(String[] graphURIs, String keyword) throws Exception; 47 47 48 48 /** … … 81 81 * @since 28.01.2014 82 82 */ 83 public ClassLink[] getNextClassViaInstanceLink(String[] graphURIs, String originClass, int limit) throws Exception;83 // public ClassLink[] getNextClassViaInstanceLink(String[] graphURIs, String originClass, int limit) throws Exception; 84 84 85 public Path[] getPaths(String startClass, String endClass, int mode, boolean countLinks) throws Exception;85 // public Path[] getPaths(String startClass, String endClass, int mode, boolean countLinks) throws Exception; 86 86 87 public String createSPARQL(Path path) throws Exception;87 // public String createSPARQL(Path path) throws Exception; 88 88 89 89 /** … … 104 104 * @since 28.01.2014 105 105 */ 106 InstanceLink[] getNextInstancesViaInstanceLink(String[] graphURIs, String originInstance,107 int limit) throws Exception;106 // InstanceLink[] getNextInstancesViaInstanceLink(String[] graphURIs, String originInstance, 107 // int limit) throws Exception; 108 108 109 109 public LabelMap[] getLabels(String[] graphURIs, String[] resourceURIs, String language) throws Exception; 110 110 111 public ClassLink[] countLinks(String[] graphURIs, String startClassURI,112 ClassLink[] classLinks) throws Exception;111 // public ClassLink[] countLinks(String[] graphURIs, String startClassURI, 112 // ClassLink[] classLinks) throws Exception; 113 113 114 public SClass[] countInstances(String[] graphURIs, SClass[] classes) throws Exception;114 // public SClass[] countInstances(String[] graphURIs, SClass[] classes) throws Exception; 115 115 }