チェンジセット 128 : BH13SPARQLBuilder/src/org/biohackathon/SPARQLBuilder/OWL/AcquiredStructureAnalyzer.java
- 更新日時:
- 2014/07/22 18:47:53 (10 年 前)
- ファイル:
-
- 1 変更
凡例:
- 変更なし
- 追加
- 削除
-
BH13SPARQLBuilder/src/org/biohackathon/SPARQLBuilder/OWL/AcquiredStructureAnalyzer.java
r127 r128 38 38 AcquiredStructureAnalyzer impl 39 39 = new AcquiredStructureAnalyzer(jmGene.getEndpointURI(), jmGene.getGraphURIs(), jmGene.getModel()); 40 System.out.println("--------------------------"); 41 SClass[] scs = impl.getOWLClasses(null, null, null, true); 42 System.out.println("list classes:---------------"); 43 for(SClass sc: scs){ 44 System.out.println(sc.toString()); 45 } 46 System.out.println("--------------------------"); 47 48 // ClassLink[] cls = impl.getNextClass(null,"http://purl.org/allie/ontology/201108#ShortForm",100,true ); 49 // for(ClassLink cl: cls){ 50 // System.out.println(cl.toString()); 40 // System.out.println("--------------------------"); 41 // SClass[] scs = impl.getOWLClasses(null, null, null, true); 42 // System.out.println("list classes:---------------"); 43 // for(SClass sc: scs){ 44 // System.out.println(sc.toString()); 51 45 // } 52 46 // System.out.println("--------------------------"); 47 48 ClassLink[] cls = impl.getNextClass(null,"http://www.biopax.org/release/biopax-level3.owl#Protein",100,true ); 49 for(ClassLink cl: cls){ 50 System.out.println(cl.toString()); 51 } 52 System.out.println("--------------------------"); 53 53 54 54 } … … 180 180 181 181 // SELECT 182 queryStr.append("SELECT DISTINCT ?indPropCat ?c ?dat ?d ?p ?numLnkInsStart ?numLnkInsEnd ?numInsDom ?numInsRan ?numTriples ?isStartClsLim ?isEndClsLim\n");182 queryStr.append("SELECT DISTINCT ?indPropCat ?c ?dat ?d ?p ?numLnkInsStart ?numLnkInsEnd ?numInsDom ?numInsRan ?numTriples\n"); 183 183 184 184 // if (targetGraphURIs != null) { … … 192 192 queryStr.append("WHERE{\n"); 193 193 queryStr.append(" ?cr <").append(URICollection.PROPERTY_RDF_TYPE).append("> <").append(URICollection.RESOURCE_SB_CLASS_RELATION).append(">. \n"); 194 queryStr.append(" ?propPart <").append(URICollection.PROPERTY_ VOID_PROPERTY_PARTITION).append("> ?cr. \n");194 queryStr.append(" ?propPart <").append(URICollection.PROPERTY_SB_CLASS_RELATION).append("> ?cr. \n"); 195 195 queryStr.append(" ?propPart <").append(URICollection.PROPERTY_VOID_PROPERTY).append("> ?p. \n"); 196 196 … … 225 225 queryStr.append("}\n"); 226 226 227 queryStr.append(" ?propPart <").append(URICollection.PROPERTY_RDF_TYPE).append("> <").append(URICollection.PROPERTY_VOID_PROPERTY_PARTITION).append(">. \n");227 // queryStr.append(" ?propPart <").append(URICollection.PROPERTY_RDF_TYPE).append("> <").append(URICollection.PROPERTY_VOID_PROPERTY_PARTITION).append(">. \n"); 228 228 queryStr.append(" ?propPart <").append(URICollection.PROPERTY_SB_PROPERTY_CATEGORY).append("> ?indPropCat. \n"); 229 229