チェンジセット 80 : BH13SPARQLBuilder

差分発生行の前後
無視リスト:
更新日時:
2014/06/18 15:15:37 (10 年 前)
更新者:
nori
ログメッセージ:

リファクタリング

パス:
BH13SPARQLBuilder/src/org/biohackathon/SPARQLBuilder/OWL
ファイル:
2 追加
2 移動

凡例:

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

    r65 r80  
    2323 * @version 29.01.2014 
    2424 */ 
    25 public class OWLQueryBuilderImpl implements OWLQueryBuilder { 
     25public class EndpointAnalyzer implements RDFSchemaAnalyzer { 
    2626 
    2727        // private Model model = null; 
     
    3636         * @since 28.01.2014 
    3737         */ 
    38         public OWLQueryBuilderImpl(String endpointURI) { 
     38        public EndpointAnalyzer(String endpointURI) { 
    3939                this.endpointURI = endpointURI; 
    4040        } 
     
    6060                // keyword = null; 
    6161 
    62                 OWLQueryBuilder builder = new OWLQueryBuilderImpl(sparqlEndpoint); 
     62                EndpointAnalyzer builder = new EndpointAnalyzer(sparqlEndpoint); 
    6363 
    6464                SClass[] clz = builder.getOWLClasses(null, keyword, "en", false); 
     
    705705        } 
    706706 
    707         public Path[] getPaths(String startClass, String endClass, int mode, 
     707/* 
     708        public Path[] getPaths(String startClass, String endClass, int mode, 
    708709                        boolean countLinks) throws Exception { 
    709710                OWLClassGraph graph = new OWLClassGraph(startClass, endClass); 
     
    715716                return null; 
    716717        } 
     718*/ 
    717719 
    718720        /* 
  • BH13SPARQLBuilder/src/org/biohackathon/SPARQLBuilder/OWL/RDFSchemaAnalyzer.java

    r59 r80  
    1010 * @version 29.01.2014 
    1111 */ 
    12 public interface OWLQueryBuilder { 
     12public interface RDFSchemaAnalyzer { 
    1313        /** 
    1414         * 譏守、コ逧�↓RDF縺ァ譖ク縺九l縺ヲ縺�k繧ッ繝ゥ繧ケ繧貞叙蠕励☆繧� 
     
    4444         * @since 28.01.2014 
    4545         */ 
    46         public Instance[] getInstances(String[] graphURIs, String keyword) throws Exception; 
     46//      public Instance[] getInstances(String[] graphURIs, String keyword) throws Exception; 
    4747 
    4848        /** 
     
    8181         * @since 28.01.2014 
    8282         */ 
    83         public ClassLink[] getNextClassViaInstanceLink(String[] graphURIs, String originClass, int limit) throws Exception; 
     83//      public ClassLink[] getNextClassViaInstanceLink(String[] graphURIs, String originClass, int limit) throws Exception; 
    8484 
    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; 
    8686 
    87         public String createSPARQL(Path path) throws Exception; 
     87//      public String createSPARQL(Path path) throws Exception; 
    8888 
    8989        /** 
     
    104104         * @since 28.01.2014 
    105105         */ 
    106  InstanceLink[] getNextInstancesViaInstanceLink(String[] graphURIs, String originInstance, 
    107                         int limit) throws Exception; 
     106// InstanceLink[] getNextInstancesViaInstanceLink(String[] graphURIs, String originInstance, 
     107//                      int limit) throws Exception; 
    108108 
    109109 public LabelMap[] getLabels(String[] graphURIs, String[] resourceURIs, String language) throws Exception; 
    110110 
    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; 
    113113 
    114         public SClass[] countInstances(String[] graphURIs, SClass[] classes) throws Exception; 
     114//      public SClass[] countInstances(String[] graphURIs, SClass[] classes) throws Exception; 
    115115}