├── Citation.cff ├── Evaluation ├── Precision Recall │ ├── OntoSeer Information (Responses).xlsx │ ├── Use Case1 │ │ ├── OnlineGamingowlfiles │ │ │ ├── DUL.owl │ │ │ ├── ore_ont_15331.owl │ │ │ ├── ore_ont_524.owl │ │ │ ├── ore_ont_541.owl │ │ │ └── ore_ont_544.owl │ │ └── _Opening an Online Gaming Account_.pdf │ └── Use Case2 │ │ ├── Book and Article Citation.pdf │ │ └── BookOwlfiles │ │ ├── books.owl │ │ ├── ore_ont_2936.owl │ │ ├── ore_ont_412.owl │ │ ├── ore_ont_420.owl │ │ ├── ore_ont_7639.owl │ │ └── ore_ont_9805.owl └── User Study │ ├── OntoSeer_ User Study ISWC2021 (Responses).xlsx │ └── User Study Questions.txt ├── Images ├── Axiom123.png ├── Axiom2111.png ├── Class.png ├── InitialModel.png ├── Naming36.png ├── Naming39.png ├── Naming52.png ├── Nmaing53.png ├── ODP211.png ├── ODP_1.png ├── Onto1.png ├── Onto133.png ├── Onto2.png ├── Onto3.png ├── Onto4.png ├── Onto5.png ├── Onto6.png ├── OntoSeer11.png ├── OntoSeer3.png ├── OntoSeer4.png ├── Onto_up1.png ├── Onto_up3.png ├── Onto_up4.png ├── Onto_up6.png ├── Onto_up_5.png ├── Onto_up_7.png ├── Onto_up_8.png ├── Onto_up_9.png ├── Ontoseer.png ├── Ontoseer1.png ├── Ontoseer10.png ├── Ontoseer2.png ├── Ontoseer5.png ├── Ontoseer6.png ├── Ontoseer7.png ├── Ontoseer9.png ├── Ontoseer_up.png ├── Ontosser8.png ├── Ontoup2.png ├── T1.png ├── Vocab1.png ├── Vocab211.png ├── about_protedge.png ├── axiom.png ├── axiom_name.png ├── class_heirarchy.png ├── class_heirarchy_name.png ├── class_naming.png ├── class_naming_name.png ├── github_assests.png ├── github_release.png ├── java_version.png ├── odp.png ├── odp_college.png ├── ontoseer_mac_folder.png ├── ontoseer_view.png ├── ontoseer_window_help.png ├── plugin_folder.png ├── property_naming.png ├── property_naming_name.png ├── vocab.png └── vocab_name.png ├── ImagesOntoSeer ├── Assets.png ├── Axiom.png ├── Axiom11.png ├── Axiom12.png ├── Axiom2.png ├── ClassHierarchy2.png ├── ClassNami11.png ├── ClassNami12.png ├── Classhierarchy.png ├── Commandprompt3.png ├── Commandprompt4.png ├── Image commadprompt2.png ├── ImageCommandLine1.png ├── Index command prompt3.png ├── Namin2.png ├── Naming1.png ├── ODP.png ├── ODP11.png ├── ODP12.png ├── ODP2.png ├── OntoSEER67.png ├── OntoSeer2.png ├── OntoSeer_plugin.png ├── Opening shot.png ├── Property1.png ├── Property2.png ├── PropertyNami12.png ├── Vocab1.png ├── Vocab11.png ├── Vocab12.png └── Vocab2.png ├── Indexing ├── AxiomRecommendation.ipynb ├── axiom.txt └── inverted_demo_vocab.txt ├── LICENSE ├── OntoSeer ├── .classpath ├── .gitignore ├── .project ├── .settings │ ├── org.eclipse.core.resources.prefs │ ├── org.eclipse.jdt.core.prefs │ └── org.eclipse.m2e.core.prefs ├── pom.xml ├── src │ ├── bin │ │ └── edu │ │ │ └── stanford │ │ │ └── bmir │ │ │ └── protege │ │ │ └── examples │ │ │ ├── menu │ │ │ ├── ToolsMenu1.class │ │ │ ├── ToolsMenu2.class │ │ │ ├── ToolsMenu3.class │ │ │ └── UnderSubMenu.class │ │ │ ├── tab │ │ │ └── ExampleWorkspaceTab2.class │ │ │ └── view │ │ │ ├── ExampleViewComponent.class │ │ │ └── Metrics.class │ └── main │ │ ├── java │ │ └── edu │ │ │ └── stanford │ │ │ └── bmir │ │ │ └── protege │ │ │ └── examples │ │ │ ├── menu │ │ │ ├── ToolsMenu1.java │ │ │ ├── ToolsMenu2.java │ │ │ ├── ToolsMenu3.java │ │ │ └── UnderSubMenu.java │ │ │ ├── tab │ │ │ └── ExampleWorkspaceTab2.java │ │ │ └── view │ │ │ ├── AxiomTriples.java │ │ │ ├── Axiomrecommendationfilechooser.java │ │ │ ├── ExampleViewComponent.java │ │ │ ├── InvertedIndex$Tuple.class │ │ │ ├── InvertedIndex.class │ │ │ ├── InvertedIndex.java │ │ │ ├── Metrics.java │ │ │ ├── Metrics1.java │ │ │ ├── Metrics2.java │ │ │ ├── Metrics3.java │ │ │ ├── ReadResourceFile.java │ │ │ ├── StringEqualityPercentCheckUsingJaroWinklerDistance.java │ │ │ ├── chatbotpanel.java │ │ │ ├── index.sh │ │ │ ├── indices.java │ │ │ ├── jpanel.java │ │ │ ├── naming_conventions.java │ │ │ ├── naming_panel.java │ │ │ ├── namingconventionprop.java │ │ │ ├── odpdescription.java │ │ │ ├── odpelements.java │ │ │ ├── retrieval.java │ │ │ └── vocabelements.java │ │ └── resources │ │ ├── axiom.txt │ │ ├── config.properties │ │ ├── index.txt │ │ ├── odpdescription.txt │ │ ├── odpelements.txt │ │ ├── odpnames.txt │ │ ├── odpuri.txt │ │ ├── plugin.xml │ │ ├── urii.txt │ │ ├── viewconfig-exampletab.xml │ │ ├── viewconfig-exampletab2.xml │ │ ├── vocabdescription.txt │ │ ├── vocabelements.txt │ │ └── vocabnames.txt └── target │ ├── classes │ ├── META-INF │ │ └── MANIFEST.MF │ ├── config.properties │ ├── edu │ │ └── stanford │ │ │ └── bmir │ │ │ └── protege │ │ │ └── examples │ │ │ ├── menu │ │ │ ├── ToolsMenu1.class │ │ │ ├── ToolsMenu2.class │ │ │ ├── ToolsMenu3.class │ │ │ └── UnderSubMenu.class │ │ │ ├── tab │ │ │ └── ExampleWorkspaceTab2.class │ │ │ └── view │ │ │ ├── AxiomTriples.class │ │ │ ├── Axiomrecommendationfilechooser$1.class │ │ │ ├── Axiomrecommendationfilechooser.class │ │ │ ├── ExampleViewComponent.class │ │ │ ├── InvertedIndex$Tuple.class │ │ │ ├── InvertedIndex.class │ │ │ ├── Metrics.class │ │ │ ├── Metrics1.class │ │ │ ├── Metrics2.class │ │ │ ├── Metrics3.class │ │ │ ├── StringEqualityPercentCheckUsingJaroWinklerDistance.class │ │ │ ├── chatbotpanel$1.class │ │ │ ├── chatbotpanel.class │ │ │ ├── indices.class │ │ │ ├── jpanel$1.class │ │ │ ├── jpanel.class │ │ │ ├── naming_conventions.class │ │ │ ├── naming_panel$1.class │ │ │ ├── naming_panel.class │ │ │ ├── namingconventionprop.class │ │ │ ├── odpdescription.class │ │ │ ├── odpelements.class │ │ │ ├── retrieval.class │ │ │ └── vocabelements.class │ ├── plugin.xml │ ├── viewconfig-exampletab.xml │ └── viewconfig-exampletab2.xml │ └── maven-status │ └── maven-compiler-plugin │ └── compile │ └── default-compile │ ├── createdFiles.lst │ └── inputFiles.lst ├── OntoSeer_Manual.pdf ├── README.md └── WordNet-3.0.zip /Citation.cff: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Evaluation/Precision Recall/OntoSeer Information (Responses).xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Evaluation/Precision Recall/OntoSeer Information (Responses).xlsx -------------------------------------------------------------------------------- /Evaluation/Precision Recall/Use Case1/_Opening an Online Gaming Account_.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Evaluation/Precision Recall/Use Case1/_Opening an Online Gaming Account_.pdf -------------------------------------------------------------------------------- /Evaluation/Precision Recall/Use Case2/Book and Article Citation.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Evaluation/Precision Recall/Use Case2/Book and Article Citation.pdf -------------------------------------------------------------------------------- /Evaluation/Precision Recall/Use Case2/BookOwlfiles/books.owl: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | ]> 10 | 15 | 16 | 17 | 20 | An ontology containing information about books 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | 259 | 260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | 268 | 269 | 270 | 271 | 272 | 273 | 274 | 275 | 276 | 277 | 278 | 279 | 280 | 281 | 282 | 283 | 284 | 285 | 286 | 287 | 288 | 289 | 290 | 291 | 292 | 293 | 294 | 295 | 296 | 297 | 298 | 299 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 309 | 310 | 311 | 312 | 313 | 314 | 315 | 316 | 317 | 318 | 319 | 320 | 321 | 322 | 323 | 324 | 325 | 326 | 327 | 328 | 329 | 330 | 331 | 332 | 333 | 334 | 335 | 336 | 337 | A reservation has been made by a person for a book. 339 | 340 | 341 | 342 | The given book is available in the library. 344 | 345 | 346 | -------------------------------------------------------------------------------- /Evaluation/Precision Recall/Use Case2/BookOwlfiles/ore_ont_9805.owl: -------------------------------------------------------------------------------- 1 | Prefix(owl:=) 2 | Prefix(rdf:=) 3 | Prefix(xml:=) 4 | Prefix(xsd:=) 5 | Prefix(rdfs:=) 6 | 7 | 8 | Ontology( 9 | 10 | Declaration(Class()) 11 | Declaration(Class()) 12 | Declaration(Class()) 13 | Declaration(Class()) 14 | Declaration(Class()) 15 | Declaration(Class()) 16 | Declaration(Class()) 17 | Declaration(Class()) 18 | Declaration(Class()) 19 | Declaration(Class()) 20 | Declaration(Class()) 21 | Declaration(Class()) 22 | Declaration(Class()) 23 | Declaration(Class()) 24 | Declaration(Class()) 25 | Declaration(Class()) 26 | Declaration(Class()) 27 | Declaration(Class()) 28 | Declaration(Class()) 29 | Declaration(Class()) 30 | Declaration(Class()) 31 | Declaration(Class()) 32 | Declaration(Class()) 33 | Declaration(Class()) 34 | Declaration(Class()) 35 | Declaration(Class()) 36 | Declaration(Class()) 37 | Declaration(Class()) 38 | Declaration(Class()) 39 | Declaration(Class()) 40 | Declaration(Class()) 41 | Declaration(Class()) 42 | Declaration(Class()) 43 | Declaration(Class()) 44 | Declaration(Class()) 45 | Declaration(Class()) 46 | Declaration(Class()) 47 | Declaration(Class()) 48 | Declaration(Class()) 49 | Declaration(Class()) 50 | Declaration(Class()) 51 | Declaration(Class()) 52 | Declaration(Class()) 53 | Declaration(ObjectProperty()) 54 | Declaration(ObjectProperty()) 55 | Declaration(ObjectProperty()) 56 | Declaration(ObjectProperty()) 57 | Declaration(ObjectProperty()) 58 | Declaration(ObjectProperty()) 59 | Declaration(ObjectProperty()) 60 | Declaration(ObjectProperty()) 61 | Declaration(ObjectProperty()) 62 | Declaration(ObjectProperty()) 63 | Declaration(ObjectProperty()) 64 | Declaration(ObjectProperty()) 65 | Declaration(ObjectProperty()) 66 | Declaration(ObjectProperty()) 67 | Declaration(ObjectProperty()) 68 | Declaration(ObjectProperty()) 69 | Declaration(ObjectProperty()) 70 | Declaration(ObjectProperty()) 71 | Declaration(ObjectProperty()) 72 | Declaration(ObjectProperty()) 73 | Declaration(ObjectProperty()) 74 | Declaration(ObjectProperty()) 75 | Declaration(ObjectProperty()) 76 | Declaration(ObjectProperty()) 77 | Declaration(ObjectProperty()) 78 | Declaration(ObjectProperty()) 79 | Declaration(ObjectProperty()) 80 | Declaration(ObjectProperty()) 81 | Declaration(ObjectProperty()) 82 | Declaration(ObjectProperty()) 83 | Declaration(ObjectProperty()) 84 | Declaration(ObjectProperty()) 85 | SubClassOf( ) 86 | SubClassOf( ) 87 | SubClassOf( ) 88 | SubClassOf( ) 89 | SubClassOf( ) 90 | SubClassOf( ) 91 | SubClassOf( ) 92 | SubClassOf( ) 93 | SubClassOf( ) 94 | SubClassOf( ) 95 | SubClassOf( ) 96 | SubClassOf( ) 97 | SubClassOf( ) 98 | SubClassOf( ) 99 | SubClassOf( ) 100 | SubClassOf( ) 101 | SubClassOf( ) 102 | SubClassOf( ) 103 | SubClassOf( ) 104 | SubClassOf( ) 105 | SubClassOf( ) 106 | SubClassOf( ) 107 | SubClassOf( ) 108 | SubClassOf( ) 109 | SubClassOf( ) 110 | SubClassOf(owl:Thing ) 111 | SubClassOf(owl:Thing ) 112 | SubClassOf(owl:Thing ) 113 | SubClassOf(owl:Thing ) 114 | SubClassOf(owl:Thing ) 115 | SubClassOf(ObjectSomeValuesFrom( owl:Thing) ) 116 | SubClassOf(ObjectSomeValuesFrom( owl:Thing) ) 117 | SubClassOf(ObjectSomeValuesFrom( owl:Thing) ) 118 | SubClassOf(ObjectSomeValuesFrom( owl:Thing) ) 119 | SubClassOf(ObjectSomeValuesFrom( owl:Thing) ) 120 | SubClassOf(ObjectSomeValuesFrom( owl:Thing) ) 121 | SubClassOf(ObjectSomeValuesFrom( owl:Thing) ) 122 | SubClassOf(ObjectSomeValuesFrom( owl:Thing) ) 123 | SubClassOf(ObjectSomeValuesFrom( owl:Thing) ) 124 | SubClassOf(ObjectSomeValuesFrom( owl:Thing) ) 125 | SubClassOf(ObjectSomeValuesFrom( owl:Thing) ) 126 | SubClassOf(ObjectSomeValuesFrom( owl:Thing) ) 127 | SubClassOf(ObjectSomeValuesFrom( owl:Thing) ) 128 | SubClassOf(ObjectSomeValuesFrom( owl:Thing) ) 129 | SubClassOf(ObjectSomeValuesFrom( owl:Thing) ) 130 | SubClassOf(ObjectSomeValuesFrom( owl:Thing) ) 131 | SubClassOf(ObjectSomeValuesFrom( owl:Thing) ) 132 | SubClassOf(ObjectSomeValuesFrom( owl:Thing) ) 133 | SubClassOf(ObjectSomeValuesFrom( owl:Thing) ) 134 | SubClassOf(ObjectSomeValuesFrom( owl:Thing) ) 135 | SubClassOf(ObjectSomeValuesFrom( owl:Thing) ) 136 | SubClassOf(ObjectSomeValuesFrom( owl:Thing) ) 137 | SubClassOf(ObjectSomeValuesFrom( owl:Thing) ) 138 | SubClassOf(ObjectSomeValuesFrom( owl:Thing) ) 139 | SubClassOf(ObjectSomeValuesFrom( owl:Thing) ) 140 | SubClassOf(ObjectSomeValuesFrom( owl:Thing) ) 141 | SubClassOf(ObjectSomeValuesFrom( owl:Thing) ) 142 | SubClassOf(ObjectSomeValuesFrom( owl:Thing) ) 143 | SubClassOf(ObjectSomeValuesFrom( owl:Thing) ) 144 | SubClassOf(ObjectSomeValuesFrom( owl:Thing) ) 145 | SubClassOf(ObjectSomeValuesFrom( owl:Thing) ) 146 | SubClassOf(ObjectSomeValuesFrom( owl:Thing) ) 147 | ) -------------------------------------------------------------------------------- /Evaluation/User Study/OntoSeer_ User Study ISWC2021 (Responses).xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Evaluation/User Study/OntoSeer_ User Study ISWC2021 (Responses).xlsx -------------------------------------------------------------------------------- /Evaluation/User Study/User Study Questions.txt: -------------------------------------------------------------------------------- 1 | * How experienced are you with ontology modelling? 2 | * How experienced are you with using Protege? 3 | * Do you know about LOV and ontology repositories such as BioPortal? 4 | * If Yes, please specify how often do you reuse classes and properties from LOV and ontology repositories? 5 | 6 | * Do you use Ontology Design Patterns (ODPs)? 7 | * If Yes, please specify how often do you use ODPs? 8 | 9 | 10 | #This section should be answered only if competency questions have been provided to OntoSeer. 11 | 12 | 13 | * How useful are the class and property recommendations? 14 | * How useful are the ontology vocabulary recommendations? 15 | * How useful are the ODP recommendations? 16 | * How useful are the axiom recommendations? 17 | 18 | 19 | 20 | #This section should be answered only if competency questions are not provided to OntoSeer. 21 | 22 | * How useful are the Ontology vocabulary recommendations? 23 | * How useful are the ODP recommendations? 24 | * How useful are the axiom recommendations? 25 | 26 | 27 | #Other Questions 28 | 29 | * How useful is the naming convention checker? 30 | * How happy are you with the class hierarchy validation? 31 | * How was the installation process? 32 | * How was your experience of modelling an ontology without OntoSeer? 33 | * How was your experience of modelling an ontology with OntoSeer? 34 | * Does Ontoseer help in saving modelling time? 35 | * Do you have any suggestions for improving the user experience? 36 | -------------------------------------------------------------------------------- /Images/Axiom123.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/Axiom123.png -------------------------------------------------------------------------------- /Images/Axiom2111.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/Axiom2111.png -------------------------------------------------------------------------------- /Images/Class.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/Class.png -------------------------------------------------------------------------------- /Images/InitialModel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/InitialModel.png -------------------------------------------------------------------------------- /Images/Naming36.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/Naming36.png -------------------------------------------------------------------------------- /Images/Naming39.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/Naming39.png -------------------------------------------------------------------------------- /Images/Naming52.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/Naming52.png -------------------------------------------------------------------------------- /Images/Nmaing53.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/Nmaing53.png -------------------------------------------------------------------------------- /Images/ODP211.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/ODP211.png -------------------------------------------------------------------------------- /Images/ODP_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/ODP_1.png -------------------------------------------------------------------------------- /Images/Onto1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/Onto1.png -------------------------------------------------------------------------------- /Images/Onto133.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/Onto133.png -------------------------------------------------------------------------------- /Images/Onto2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/Onto2.png -------------------------------------------------------------------------------- /Images/Onto3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/Onto3.png -------------------------------------------------------------------------------- /Images/Onto4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/Onto4.png -------------------------------------------------------------------------------- /Images/Onto5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/Onto5.png -------------------------------------------------------------------------------- /Images/Onto6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/Onto6.png -------------------------------------------------------------------------------- /Images/OntoSeer11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/OntoSeer11.png -------------------------------------------------------------------------------- /Images/OntoSeer3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/OntoSeer3.png -------------------------------------------------------------------------------- /Images/OntoSeer4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/OntoSeer4.png -------------------------------------------------------------------------------- /Images/Onto_up1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/Onto_up1.png -------------------------------------------------------------------------------- /Images/Onto_up3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/Onto_up3.png -------------------------------------------------------------------------------- /Images/Onto_up4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/Onto_up4.png -------------------------------------------------------------------------------- /Images/Onto_up6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/Onto_up6.png -------------------------------------------------------------------------------- /Images/Onto_up_5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/Onto_up_5.png -------------------------------------------------------------------------------- /Images/Onto_up_7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/Onto_up_7.png -------------------------------------------------------------------------------- /Images/Onto_up_8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/Onto_up_8.png -------------------------------------------------------------------------------- /Images/Onto_up_9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/Onto_up_9.png -------------------------------------------------------------------------------- /Images/Ontoseer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/Ontoseer.png -------------------------------------------------------------------------------- /Images/Ontoseer1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/Ontoseer1.png -------------------------------------------------------------------------------- /Images/Ontoseer10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/Ontoseer10.png -------------------------------------------------------------------------------- /Images/Ontoseer2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/Ontoseer2.png -------------------------------------------------------------------------------- /Images/Ontoseer5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/Ontoseer5.png -------------------------------------------------------------------------------- /Images/Ontoseer6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/Ontoseer6.png -------------------------------------------------------------------------------- /Images/Ontoseer7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/Ontoseer7.png -------------------------------------------------------------------------------- /Images/Ontoseer9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/Ontoseer9.png -------------------------------------------------------------------------------- /Images/Ontoseer_up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/Ontoseer_up.png -------------------------------------------------------------------------------- /Images/Ontosser8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/Ontosser8.png -------------------------------------------------------------------------------- /Images/Ontoup2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/Ontoup2.png -------------------------------------------------------------------------------- /Images/T1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/T1.png -------------------------------------------------------------------------------- /Images/Vocab1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/Vocab1.png -------------------------------------------------------------------------------- /Images/Vocab211.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/Vocab211.png -------------------------------------------------------------------------------- /Images/about_protedge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/about_protedge.png -------------------------------------------------------------------------------- /Images/axiom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/axiom.png -------------------------------------------------------------------------------- /Images/axiom_name.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/axiom_name.png -------------------------------------------------------------------------------- /Images/class_heirarchy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/class_heirarchy.png -------------------------------------------------------------------------------- /Images/class_heirarchy_name.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/class_heirarchy_name.png -------------------------------------------------------------------------------- /Images/class_naming.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/class_naming.png -------------------------------------------------------------------------------- /Images/class_naming_name.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/class_naming_name.png -------------------------------------------------------------------------------- /Images/github_assests.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/github_assests.png -------------------------------------------------------------------------------- /Images/github_release.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/github_release.png -------------------------------------------------------------------------------- /Images/java_version.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/java_version.png -------------------------------------------------------------------------------- /Images/odp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/odp.png -------------------------------------------------------------------------------- /Images/odp_college.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/odp_college.png -------------------------------------------------------------------------------- /Images/ontoseer_mac_folder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/ontoseer_mac_folder.png -------------------------------------------------------------------------------- /Images/ontoseer_view.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/ontoseer_view.png -------------------------------------------------------------------------------- /Images/ontoseer_window_help.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/ontoseer_window_help.png -------------------------------------------------------------------------------- /Images/plugin_folder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/plugin_folder.png -------------------------------------------------------------------------------- /Images/property_naming.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/property_naming.png -------------------------------------------------------------------------------- /Images/property_naming_name.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/property_naming_name.png -------------------------------------------------------------------------------- /Images/vocab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/vocab.png -------------------------------------------------------------------------------- /Images/vocab_name.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/Images/vocab_name.png -------------------------------------------------------------------------------- /ImagesOntoSeer/Assets.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/ImagesOntoSeer/Assets.png -------------------------------------------------------------------------------- /ImagesOntoSeer/Axiom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/ImagesOntoSeer/Axiom.png -------------------------------------------------------------------------------- /ImagesOntoSeer/Axiom11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/ImagesOntoSeer/Axiom11.png -------------------------------------------------------------------------------- /ImagesOntoSeer/Axiom12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/ImagesOntoSeer/Axiom12.png -------------------------------------------------------------------------------- /ImagesOntoSeer/Axiom2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/ImagesOntoSeer/Axiom2.png -------------------------------------------------------------------------------- /ImagesOntoSeer/ClassHierarchy2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/ImagesOntoSeer/ClassHierarchy2.png -------------------------------------------------------------------------------- /ImagesOntoSeer/ClassNami11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/ImagesOntoSeer/ClassNami11.png -------------------------------------------------------------------------------- /ImagesOntoSeer/ClassNami12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/ImagesOntoSeer/ClassNami12.png -------------------------------------------------------------------------------- /ImagesOntoSeer/Classhierarchy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/ImagesOntoSeer/Classhierarchy.png -------------------------------------------------------------------------------- /ImagesOntoSeer/Commandprompt3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/ImagesOntoSeer/Commandprompt3.png -------------------------------------------------------------------------------- /ImagesOntoSeer/Commandprompt4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/ImagesOntoSeer/Commandprompt4.png -------------------------------------------------------------------------------- /ImagesOntoSeer/Image commadprompt2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/ImagesOntoSeer/Image commadprompt2.png -------------------------------------------------------------------------------- /ImagesOntoSeer/ImageCommandLine1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/ImagesOntoSeer/ImageCommandLine1.png -------------------------------------------------------------------------------- /ImagesOntoSeer/Index command prompt3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/ImagesOntoSeer/Index command prompt3.png -------------------------------------------------------------------------------- /ImagesOntoSeer/Namin2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/ImagesOntoSeer/Namin2.png -------------------------------------------------------------------------------- /ImagesOntoSeer/Naming1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/ImagesOntoSeer/Naming1.png -------------------------------------------------------------------------------- /ImagesOntoSeer/ODP.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/ImagesOntoSeer/ODP.png -------------------------------------------------------------------------------- /ImagesOntoSeer/ODP11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/ImagesOntoSeer/ODP11.png -------------------------------------------------------------------------------- /ImagesOntoSeer/ODP12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/ImagesOntoSeer/ODP12.png -------------------------------------------------------------------------------- /ImagesOntoSeer/ODP2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/ImagesOntoSeer/ODP2.png -------------------------------------------------------------------------------- /ImagesOntoSeer/OntoSEER67.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/ImagesOntoSeer/OntoSEER67.png -------------------------------------------------------------------------------- /ImagesOntoSeer/OntoSeer2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/ImagesOntoSeer/OntoSeer2.png -------------------------------------------------------------------------------- /ImagesOntoSeer/OntoSeer_plugin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/ImagesOntoSeer/OntoSeer_plugin.png -------------------------------------------------------------------------------- /ImagesOntoSeer/Opening shot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/ImagesOntoSeer/Opening shot.png -------------------------------------------------------------------------------- /ImagesOntoSeer/Property1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/ImagesOntoSeer/Property1.png -------------------------------------------------------------------------------- /ImagesOntoSeer/Property2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/ImagesOntoSeer/Property2.png -------------------------------------------------------------------------------- /ImagesOntoSeer/PropertyNami12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/ImagesOntoSeer/PropertyNami12.png -------------------------------------------------------------------------------- /ImagesOntoSeer/Vocab1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/ImagesOntoSeer/Vocab1.png -------------------------------------------------------------------------------- /ImagesOntoSeer/Vocab11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/ImagesOntoSeer/Vocab11.png -------------------------------------------------------------------------------- /ImagesOntoSeer/Vocab12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/ImagesOntoSeer/Vocab12.png -------------------------------------------------------------------------------- /ImagesOntoSeer/Vocab2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/ImagesOntoSeer/Vocab2.png -------------------------------------------------------------------------------- /Indexing/axiom.txt: -------------------------------------------------------------------------------- 1 | Action subclassof BioMaterialPackage 2 | Action subclassof BiologicalFactorCategory 3 | Age subclassof BioMaterialCharacteristics 4 | Allele subclassof IndividualGeneticCharacteristics 5 | ArrayDesignPackage subclassof MGEDCoreOntology 6 | ArrayGroup subclassof ArrayPackage 7 | ArrayPackage subclassof MGEDCoreOntology 8 | Atmosphere subclassof GrowthCondition 9 | AtomicAction subclassof Action 10 | AuditAndSecurityPackage subclassof MGEDCoreOntology 11 | BarrierFacility subclassof GrowthCondition 12 | Bedding subclassof EnvironmentalHistory 13 | BibliographicReference subclassof DescriptionPackage 14 | BioAssay subclassof BioAssayPackage 15 | BioAssayData subclassof BioAssayDataPackage 16 | BioAssayDataCluster subclassof HigherLevelAnalysisPackage 17 | BioAssayDataPackage subclassof MGEDExtendedOntology 18 | BioAssayPackage subclassof MGEDCoreOntology 19 | BioMaterial subclassof BioMaterialPackage 20 | BioMaterialCharacteristicCategory subclassof BiologicalFactorCategory 21 | BioMaterialCharacteristics subclassof BioMaterialPackage 22 | BioMaterialCharacteristics subclassof BiologicalFactorCategory 23 | BioMaterialPackage subclassof MGEDCoreOntology 24 | BioMolecularAnnotation subclassof ExperimentDesignType 25 | BioSample subclassof BioMaterial 26 | BioSampleType subclassof BioMaterialPackage 27 | BioSequence subclassof BioSequencePackage 28 | BioSequencePackage subclassof MGEDCoreOntology 29 | BioSequenceType subclassof BioSequencePackage 30 | BioSource subclassof BioMaterial 31 | BioSourceProvider subclassof BioMaterialCharacteristics 32 | BioSourceType subclassof BioMaterialCharacteristics 33 | BiologicalFactorCategory subclassof ExperimentalFactorCategory 34 | BiologicalProperty subclassof ExperimentDesignType 35 | Biometrics subclassof BioMaterialCharacteristics 36 | CellLine subclassof BioMaterialCharacteristics 37 | CellLine subclassof OntologyEntry 38 | CellLineDatabase subclassof Database 39 | CellType subclassof BioMaterialCharacteristics 40 | CellType subclassof OntologyEntry 41 | CellTypeDatabase subclassof Database 42 | ChromosomalAberration subclassof IndividualGeneticCharacteristics 43 | ChromosomalAberration subclassof OntologyEntry 44 | ChromosomalAberrationClassification subclassof BioMaterialCharacteristics 45 | ChromosomalAberrationDatabase subclassof Database 46 | ClinicalFinding subclassof OntologyEntry 47 | ClinicalHistory subclassof EnvironmentalHistory 48 | ClinicalTest subclassof BioMaterialCharacteristics 49 | ClinicalTestType subclassof BioMaterialCharacteristics 50 | ClinicalTreatment subclassof BioMaterialCharacteristics ; 51 | -------------------------------------------------------------------------------- /OntoSeer/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /OntoSeer/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /OntoSeer/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | Onto 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.m2e.core.maven2Builder 15 | 16 | 17 | 18 | 19 | 20 | org.eclipse.jdt.core.javanature 21 | org.eclipse.m2e.core.maven2Nature 22 | 23 | 24 | -------------------------------------------------------------------------------- /OntoSeer/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | encoding//src/main/resources=UTF-8 4 | encoding/=UTF-8 5 | -------------------------------------------------------------------------------- /OntoSeer/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 3 | org.eclipse.jdt.core.compiler.compliance=1.8 4 | org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled 5 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 6 | org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore 7 | org.eclipse.jdt.core.compiler.release=disabled 8 | org.eclipse.jdt.core.compiler.source=1.8 9 | -------------------------------------------------------------------------------- /OntoSeer/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /OntoSeer/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | 5 | edu.stanford.protege 6 | protege.plugin.examples 7 | 2.0.0-SNAPSHOT 8 | bundle 9 | 10 | OntoSeer 11 | Example plug-ins for the Protege Desktop ontology editor, e.g., views, menu items, etc. 12 | 13 | 14 | UTF-8 15 | 16 | 17 | 18 | 19 | edu.stanford.protege 20 | protege-editor-owl 21 | 5.0.0 22 | 23 | 24 | 25 | org.json 26 | json 27 | 20160810 28 | compile 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | src/main/resources 38 | true 39 | 40 | 41 | 42 | 43 | 44 | org.apache.maven.plugins 45 | maven-compiler-plugin 46 | 3.3 47 | 48 | 1.8 49 | 1.8 50 | 51 | 52 | 53 | 54 | org.apache.felix 55 | maven-bundle-plugin 56 | 3.0.0 57 | true 58 | 59 | 60 | org.protege.editor.owl.ProtegeOWL 61 | . 62 | ${project.artifactId};singleton:=true 63 | The Protege Development Team 64 | 65 | org.protege.editor.owl.*;version="5.0.0", 66 | * 67 | 68 | 69 | 70 | org.json.json.*;version="20160810", 71 | * 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | json;scope=compile;inline=true 80 | 81 | 82 | 83 | 84 | 85 | 86 | maven-eclipse-plugin 87 | 2.9 88 | 89 | true 90 | 91 | 92 | 93 | 94 | -------------------------------------------------------------------------------- /OntoSeer/src/bin/edu/stanford/bmir/protege/examples/menu/ToolsMenu1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/OntoSeer/src/bin/edu/stanford/bmir/protege/examples/menu/ToolsMenu1.class -------------------------------------------------------------------------------- /OntoSeer/src/bin/edu/stanford/bmir/protege/examples/menu/ToolsMenu2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/OntoSeer/src/bin/edu/stanford/bmir/protege/examples/menu/ToolsMenu2.class -------------------------------------------------------------------------------- /OntoSeer/src/bin/edu/stanford/bmir/protege/examples/menu/ToolsMenu3.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/OntoSeer/src/bin/edu/stanford/bmir/protege/examples/menu/ToolsMenu3.class -------------------------------------------------------------------------------- /OntoSeer/src/bin/edu/stanford/bmir/protege/examples/menu/UnderSubMenu.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/OntoSeer/src/bin/edu/stanford/bmir/protege/examples/menu/UnderSubMenu.class -------------------------------------------------------------------------------- /OntoSeer/src/bin/edu/stanford/bmir/protege/examples/tab/ExampleWorkspaceTab2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/OntoSeer/src/bin/edu/stanford/bmir/protege/examples/tab/ExampleWorkspaceTab2.class -------------------------------------------------------------------------------- /OntoSeer/src/bin/edu/stanford/bmir/protege/examples/view/ExampleViewComponent.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/OntoSeer/src/bin/edu/stanford/bmir/protege/examples/view/ExampleViewComponent.class -------------------------------------------------------------------------------- /OntoSeer/src/bin/edu/stanford/bmir/protege/examples/view/Metrics.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/OntoSeer/src/bin/edu/stanford/bmir/protege/examples/view/Metrics.class -------------------------------------------------------------------------------- /OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/menu/ToolsMenu1.java: -------------------------------------------------------------------------------- 1 | package edu.stanford.bmir.protege.examples.menu; 2 | 3 | import java.awt.event.ActionEvent; 4 | 5 | import javax.swing.JOptionPane; 6 | 7 | import org.protege.editor.owl.ui.action.ProtegeOWLAction; 8 | 9 | public class ToolsMenu1 extends ProtegeOWLAction { 10 | 11 | public void initialise() throws Exception { 12 | } 13 | 14 | public void dispose() throws Exception { 15 | } 16 | 17 | public void actionPerformed(ActionEvent event) { 18 | StringBuilder message = new StringBuilder("This example menu item is under the Tools menu.\n"); 19 | message.append("The currently selected class is "); 20 | message.append(getOWLWorkspace().getOWLSelectionModel().getLastSelectedClass()); 21 | message.append("."); 22 | JOptionPane.showMessageDialog(getOWLWorkspace(), message.toString()); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/menu/ToolsMenu2.java: -------------------------------------------------------------------------------- 1 | package edu.stanford.bmir.protege.examples.menu; 2 | 3 | import java.awt.event.ActionEvent; 4 | 5 | import javax.swing.JOptionPane; 6 | 7 | import org.protege.editor.owl.ui.action.ProtegeOWLAction; 8 | 9 | public class ToolsMenu2 extends ProtegeOWLAction { 10 | 11 | public void initialise() throws Exception { 12 | } 13 | 14 | public void dispose() throws Exception { 15 | } 16 | 17 | public void actionPerformed(ActionEvent event) { 18 | StringBuilder message = new StringBuilder("This is the second example menu item under the Tools menu.\n"); 19 | message.append("The active ontology has "); 20 | message.append(getOWLModelManager().getActiveOntology().getAxiomCount()); 21 | message.append(" axioms."); 22 | JOptionPane.showMessageDialog(getOWLWorkspace(), message.toString()); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/menu/ToolsMenu3.java: -------------------------------------------------------------------------------- 1 | package edu.stanford.bmir.protege.examples.menu; 2 | 3 | import java.awt.event.ActionEvent; 4 | 5 | import javax.swing.JOptionPane; 6 | 7 | import org.protege.editor.owl.ui.action.ProtegeOWLAction; 8 | 9 | public class ToolsMenu3 extends ProtegeOWLAction { 10 | 11 | public void initialise() throws Exception { 12 | } 13 | 14 | public void dispose() throws Exception { 15 | } 16 | 17 | public void actionPerformed(ActionEvent event) { 18 | StringBuilder message = new StringBuilder( 19 | "This example menu item is under the Tools menu, but displayed in a separate category from the other example menu items.\n"); 20 | message.append("The active ontology has "); 21 | message.append(getOWLModelManager().getActiveOntology().getClassesInSignature().size()); 22 | message.append(" classes."); 23 | JOptionPane.showMessageDialog(getOWLWorkspace(), message.toString()); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/menu/UnderSubMenu.java: -------------------------------------------------------------------------------- 1 | package edu.stanford.bmir.protege.examples.menu; 2 | 3 | import java.awt.event.ActionEvent; 4 | 5 | import javax.swing.JOptionPane; 6 | 7 | import org.protege.editor.owl.ui.action.ProtegeOWLAction; 8 | 9 | public class UnderSubMenu extends ProtegeOWLAction { 10 | 11 | public void initialise() throws Exception { 12 | } 13 | 14 | public void dispose() throws Exception { 15 | } 16 | 17 | public void actionPerformed(ActionEvent arg0) { 18 | StringBuilder message = new StringBuilder("Yet another example menu item.\n"); 19 | message.append("The active ontology has "); 20 | message.append(getOWLModelManager().getActiveOntology().getObjectPropertiesInSignature().size()); 21 | message.append(" object properties."); 22 | JOptionPane.showMessageDialog(getOWLWorkspace(), message.toString()); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/tab/ExampleWorkspaceTab2.java: -------------------------------------------------------------------------------- 1 | package edu.stanford.bmir.protege.examples.tab; 2 | 3 | import org.protege.editor.owl.ui.OWLWorkspaceViewsTab; 4 | import org.slf4j.Logger; 5 | import org.slf4j.LoggerFactory; 6 | 7 | public class ExampleWorkspaceTab2 extends OWLWorkspaceViewsTab { 8 | 9 | private static final Logger log = LoggerFactory.getLogger(ExampleWorkspaceTab2.class); 10 | 11 | public ExampleWorkspaceTab2() { 12 | setToolTipText("Custom tooltip text for Example Tab (2)"); 13 | } 14 | 15 | @Override 16 | public void initialise() { 17 | super.initialise(); 18 | log.info("Example Workspace Tab (2) initialized"); 19 | } 20 | 21 | @Override 22 | public void dispose() { 23 | super.dispose(); 24 | log.info("Example Workspace Tab (2) disposed"); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/view/AxiomTriples.java: -------------------------------------------------------------------------------- 1 | package edu.stanford.bmir.protege.examples.view; 2 | import java.util.*; 3 | import java.io.BufferedReader; 4 | import java.io.IOException; 5 | import java.io.InputStreamReader; 6 | import java.io.UnsupportedEncodingException; 7 | public class AxiomTriples { 8 | 9 | Listaxim; 10 | public AxiomTriples() { 11 | axim=new ArrayList(); 12 | } 13 | public List readFile(String fileName) { 14 | fileName="/axiom.txt"; 15 | try { 16 | //System.out.println("Enter try"+fileName); 17 | 18 | BufferedReader br = new BufferedReader(new InputStreamReader( 19 | this.getClass().getResourceAsStream( fileName), "UTF-8")); 20 | //System.out.println(fileName); 21 | String line = null; 22 | 23 | while ((line = br.readLine()) != null) { 24 | //System.out.println("Inside while"); 25 | axim.add(line) ; 26 | } 27 | // System.out.println(axim.size()); 28 | return axim; 29 | } catch (UnsupportedEncodingException e) { 30 | e.printStackTrace(); 31 | return axim; 32 | } catch (IOException e) { 33 | e.printStackTrace(); 34 | return axim; 35 | } 36 | } 37 | public List axioms() { 38 | 39 | AxiomTriples a=new AxiomTriples(); 40 | axim=a.readFile("/axiom.txt"); 41 | //System.out.println(axim.size()); 42 | for(int i=0;iAxiom(); 35 | public Axiomrecommendationfilechooser () { 36 | super("JPanel Demo Program"); 37 | JPanel newPanel = new JPanel(new GridBagLayout()); 38 | 39 | fileChooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY); 40 | // fileChooser.setCurrentDirectory(new File(System.getProperty("user.home"))); 41 | int result = fileChooser.showOpenDialog(this); 42 | if (result == JFileChooser.APPROVE_OPTION) { 43 | selectedFile = fileChooser.getSelectedFile(); 44 | System.out.println("Selected file: " + selectedFile.getAbsolutePath()); 45 | } 46 | GridBagConstraints constraints = new GridBagConstraints(); 47 | constraints.anchor = GridBagConstraints.WEST; 48 | constraints.insets = new Insets(10, 10, 10, 10); 49 | 50 | // add components to the panel 51 | constraints.gridx = 0; 52 | constraints.gridy = 0; 53 | newPanel.add(labelEnterdescription, constraints); 54 | constraints.gridx = 1; 55 | newPanel.add(textDescription, constraints); 56 | 57 | constraints.gridx = 0; 58 | constraints.gridy = 4; 59 | constraints.gridwidth = 2; 60 | constraints.anchor = GridBagConstraints.CENTER; 61 | newPanel.add(buttonLogin, constraints); 62 | newPanel.add(buttonLogin, constraints); 63 | buttonLogin.addActionListener(refreshAction); 64 | 65 | 66 | 67 | 68 | // set border for the panel 69 | newPanel.setBorder(BorderFactory.createTitledBorder( 70 | BorderFactory.createEtchedBorder(), "Axiom Recommendation panel")); 71 | 72 | 73 | 74 | 75 | // add the panel to this frame 76 | add(newPanel); 77 | 78 | pack(); 79 | setLocationRelativeTo(null); 80 | } 81 | 82 | public void Axiom() { 83 | Listls=new ArrayList(); 84 | 85 | retrieval r=new retrieval(); 86 | 87 | String s=selectedFile.getAbsolutePath(); 88 | String s1=null; 89 | s1=textDescription.getText(); 90 | 91 | 92 | System.out.println(s1); 93 | 94 | //ls.addAll(r.re(s1,s)); 95 | 96 | //return s; 97 | } 98 | public void dispose() { 99 | 100 | buttonLogin.removeActionListener(refreshAction); 101 | 102 | 103 | } 104 | public void result() { 105 | try { 106 | UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); 107 | } catch (Exception ex) { 108 | ex.printStackTrace(); 109 | } 110 | 111 | SwingUtilities.invokeLater(new Runnable() { 112 | @Override 113 | public void run() { 114 | new Axiomrecommendationfilechooser().setVisible(true); 115 | } 116 | }); 117 | 118 | } 119 | public static void main(String[] args) { 120 | // set look and feel to the system look and feel 121 | Axiomrecommendationfilechooser a= new Axiomrecommendationfilechooser(); 122 | a.result(); 123 | 124 | } 125 | 126 | 127 | } 128 | -------------------------------------------------------------------------------- /OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/view/ExampleViewComponent.java: -------------------------------------------------------------------------------- 1 | package edu.stanford.bmir.protege.examples.view; 2 | 3 | import java.awt.BorderLayout; 4 | import org.protege.editor.owl.ui.view.AbstractOWLViewComponent; 5 | import org.slf4j.Logger; 6 | import org.slf4j.LoggerFactory; 7 | 8 | public class ExampleViewComponent extends AbstractOWLViewComponent { 9 | 10 | private static final Logger log = LoggerFactory.getLogger(ExampleViewComponent.class); 11 | 12 | private Metrics metricsComponent; 13 | 14 | @Override 15 | protected void initialiseOWLView() throws Exception { 16 | setLayout(new BorderLayout()); 17 | metricsComponent = new Metrics(getOWLModelManager()); 18 | add(metricsComponent, BorderLayout.CENTER); 19 | log.info("OntoSeer View Component initialized"); 20 | } 21 | 22 | @Override 23 | protected void disposeOWLView() { 24 | metricsComponent.dispose(); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/view/InvertedIndex$Tuple.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/view/InvertedIndex$Tuple.class -------------------------------------------------------------------------------- /OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/view/InvertedIndex.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/view/InvertedIndex.class -------------------------------------------------------------------------------- /OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/view/InvertedIndex.java: -------------------------------------------------------------------------------- 1 | package edu.stanford.bmir.protege.examples.view; 2 | import java.io.BufferedReader; 3 | import java.io.BufferedWriter; 4 | import java.io.File; 5 | import java.io.FileReader; 6 | import java.io.FileWriter; 7 | import java.io.IOException; 8 | import java.io.InputStreamReader; 9 | import java.io.UnsupportedEncodingException; 10 | import java.util.ArrayList; 11 | import java.util.Arrays; 12 | import java.util.HashMap; 13 | import java.util.HashSet; 14 | import java.util.LinkedList; 15 | import java.util.List; 16 | import java.util.Map; 17 | import java.util.Set; 18 | import java.util.*; 19 | 20 | public class InvertedIndex { 21 | 22 | List stopwords = Arrays.asList("https://","IRI","Class","Declaration","subclassof","subpropertiesof"); 23 | 24 | Map> index = new HashMap>(); 25 | List files = new ArrayList(); 26 | //Creating index for folder of owl files 27 | public void indexFile(File file) throws IOException { 28 | int fileno = files.indexOf(file.getPath()); 29 | if (fileno == -1) { 30 | files.add(file.getPath()); 31 | fileno = files.size() - 1; 32 | } 33 | 34 | int pos = 0; 35 | 36 | BufferedReader reader = new BufferedReader(new FileReader(file)); 37 | for (String line = reader.readLine(); line != null; line = reader 38 | .readLine()) { 39 | for (String _word : line.split("\\W+")) { 40 | String word = _word.toLowerCase(); 41 | pos++; 42 | if (stopwords.contains(word)) 43 | continue; 44 | List idx = index.get(word); 45 | if (idx == null) { 46 | idx = new LinkedList(); 47 | index.put(word, idx); 48 | //System.out.println(word+"idx"+idx.toString()); 49 | } 50 | idx.add(new Tuple(fileno, pos)); 51 | Tuple t=new Tuple(fileno,pos); 52 | System.out.println("word "+word+"FileNo"+t.getfileno()+"Position"+t.getposition()); 53 | try { 54 | String str = word+","+t.getfileno(); 55 | int n=t.getfileno(); 56 | 57 | BufferedWriter writer = new BufferedWriter(new FileWriter("/home/pramit79/index.txt", true)); 58 | writer.append('\n'); 59 | writer.append(str); 60 | 61 | writer.close(); 62 | } 63 | 64 | 65 | 66 | 67 | catch (IOException e) { 68 | System.out.println("An error occurred."); 69 | e.printStackTrace(); 70 | } 71 | 72 | 73 | 74 | 75 | } 76 | 77 | } 78 | 79 | 80 | } 81 | //Searching the index 82 | public List search(String word) { 83 | List myList= new ArrayList(); 84 | List myList1= new ArrayList(); 85 | List indexretrieval= new ArrayList(); 86 | String fileName="/index.txt"; 87 | StringEqualityPercentCheckUsingJaroWinklerDistance c=new StringEqualityPercentCheckUsingJaroWinklerDistance(); 88 | try { 89 | int count=0; 90 | 91 | BufferedReader br = new BufferedReader(new InputStreamReader( 92 | this.getClass().getResourceAsStream(fileName), "UTF-8")); 93 | 94 | String line = null; 95 | 96 | while ((line = br.readLine()) != null) { 97 | count++; 98 | String arr[]=null; 99 | arr = line.split(","); 100 | myList.add(arr[0]); 101 | myList1.add(arr[1]); 102 | if(myList.indexOf(word)!=-1) { 103 | 104 | indexretrieval.add(arr[1]); 105 | 106 | } 107 | else { 108 | double d=c.similarity(arr[0],word ); 109 | if(d>=0.75) { 110 | indexretrieval.add(arr[1]); 111 | } 112 | } 113 | 114 | } 115 | System.out.println(indexretrieval.toString()); 116 | return indexretrieval; 117 | } catch (UnsupportedEncodingException e) { 118 | e.printStackTrace(); 119 | return indexretrieval; 120 | } catch (IOException e) { 121 | e.printStackTrace(); 122 | return indexretrieval; 123 | } 124 | 125 | /* 126 | for (String _word : words) { 127 | Set answer = new HashSet(); 128 | String word = _word.toLowerCase(); 129 | List idx = index.get(word); 130 | if (idx != null) { 131 | for (Tuple t : idx) { 132 | answer.add(files.get(t.fileno)); 133 | } 134 | } 135 | System.out.print(word); 136 | for (String f : answer) { 137 | System.out.print(" " + f); 138 | } 139 | System.out.println(""); 140 | } 141 | */ 142 | } 143 | 144 | public void index(String st) { 145 | try { 146 | InvertedIndex idx = new InvertedIndex(); 147 | Scanner sc=new Scanner(System.in); 148 | System.out.println("Enter file path to index"); 149 | String trial=sc.nextLine(); 150 | Listfiles=new ArrayList<>(); 151 | File dir = new File(trial); 152 | File[] directoryListing = dir.listFiles(); 153 | if (directoryListing != null) { 154 | for (File file : directoryListing) { 155 | 156 | //System.out.println(file.toString()); 157 | idx.indexFile(file); 158 | 159 | //System.out.println("Done indexing"); 160 | 161 | } 162 | } 163 | 164 | 165 | // idx.search(st); 166 | 167 | 168 | } catch (Exception e) { 169 | e.printStackTrace(); 170 | } 171 | } 172 | 173 | public static void main(String[] args) { 174 | try { 175 | InvertedIndex idx = new InvertedIndex(); 176 | 177 | /*generate index over folder*/ 178 | idx.index("resource"); 179 | /*searching for terms in index*/ 180 | idx.search("resour"); 181 | } 182 | catch (Exception e) { 183 | e.printStackTrace(); 184 | } 185 | } 186 | 187 | class Tuple { 188 | int fileno; 189 | int position; 190 | 191 | public Tuple(int fileno, int position) { 192 | this.fileno = fileno; 193 | this.position = position; 194 | } 195 | public int getfileno() { 196 | return this.fileno; 197 | } 198 | public int getposition() { 199 | return this.position; 200 | } 201 | } 202 | 203 | } 204 | -------------------------------------------------------------------------------- /OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/view/Metrics1.java: -------------------------------------------------------------------------------- 1 | package edu.stanford.bmir.protege.examples.view; 2 | 3 | import javax.swing.*; 4 | import javax.net.ssl.HttpsURLConnection; 5 | import javax.net.ssl.SSLContext; 6 | import javax.net.ssl.TrustManager; 7 | import javax.net.ssl.X509TrustManager; 8 | import java.io.OutputStream; 9 | 10 | import javax.swing.text.*; 11 | 12 | import java.awt.Color; 13 | import java.awt.FlowLayout; 14 | import java.awt.Font; 15 | 16 | 17 | import java.awt.event.*; 18 | 19 | import java.util.*; 20 | 21 | 22 | import org.protege.editor.owl.model.OWLModelManager; 23 | import org.protege.editor.owl.model.event.EventType; 24 | import org.protege.editor.owl.model.event.OWLModelManagerListener; 25 | import org.semanticweb.owlapi.model.OWLClass; 26 | import org.semanticweb.owlapi.model.OWLClassExpression; 27 | import org.semanticweb.owlapi.model.OWLIndividual; 28 | 29 | public class Metrics1 extends JPanel implements ItemListener { 30 | 31 | 32 | private JButton refreshButton = new JButton("Naming"); 33 | private JButton refreshButton1 = new JButton("ODP"); 34 | private JButton refreshButton2 = new JButton("VocabSuggestion"); 35 | private JButton refreshButton3 = new JButton("Axiom Recommendation"); 36 | private JButton refreshButton4 = new JButton("Naming Convention"); 37 | 38 | private JLabel textComponent = new JLabel(); 39 | private JLabel textComponent1 = new JLabel(); 40 | private JLabel textComponent2 = new JLabel(); 41 | 42 | public JTextPane textPane = new JTextPane(); 43 | public JTextArea textArea = new JTextArea(20,20); 44 | public JTextArea textArea1 = new JTextArea(50,50); 45 | public JTextArea textArea2 = new JTextArea(20,20); 46 | JScrollPane scrollPane = new JScrollPane(); 47 | 48 | static JFrame f; 49 | 50 | // label 51 | static JLabel l, l2,l1, l3, l4,l5,l6,l7,l8,l9,l10,l11,l12,l13,l14,l15,l16,l17,l18,l19,l20; 52 | 53 | // combobox 54 | static JComboBox c1, c2; 55 | private OWLModelManager modelManager; 56 | 57 | 58 | // private ActionListener refreshAction = e -> recalculate(); 59 | 60 | 61 | 62 | private OWLModelManagerListener modelListener = event -> { 63 | if (event.getType() == EventType.ACTIVE_ONTOLOGY_CHANGED) { 64 | Metrics m=new Metrics(modelManager); 65 | } 66 | }; 67 | 68 | public Metrics1(OWLModelManager modelManager) { 69 | 70 | this.modelManager = modelManager; 71 | // recalculate(); 72 | 73 | modelManager.addListener(modelListener); 74 | 75 | // refreshButton.addActionListener(refreshAction); 76 | // refreshButton1.addActionListener(refreshAction); 77 | //refreshButton2.addActionListener(refreshAction); 78 | 79 | // refreshButton3.addActionListener(refreshAction4); 80 | 81 | 82 | 83 | add(refreshButton1); 84 | add(refreshButton1); 85 | add(refreshButton2); 86 | add(refreshButton3); 87 | // add(textArea1); 88 | //textArea1.setEditable(true); 89 | // add(refreshButton1); 90 | // add(refreshButton2); 91 | // add(refreshButton3); 92 | 93 | 94 | 95 | Font font = new Font("Serif",Font.PLAIN, 14); 96 | 97 | 98 | Font font1 = new Font("Serif",Font.PLAIN, 14); 99 | 100 | 101 | } 102 | 103 | public void dispose() { 104 | modelManager.removeListener(modelListener); 105 | 106 | 107 | //refreshButton2.removeActionListener(refreshAction); 108 | /* 109 | refreshButton2.removeActionListener(refreshAction2); 110 | refreshButton3.removeActionListener(refreshAction3); 111 | refreshButton4.removeActionListener(refreshAction4); 112 | */ 113 | } 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | public void main(String args[]) { 125 | Metrics1 m=new Metrics1(modelManager); 126 | } 127 | public void detect(Lists_run) { 128 | try { 129 | f = new JFrame("Class Naming Recommendation"); 130 | 131 | // create a object 132 | Metrics1 s = new Metrics1(modelManager); 133 | 134 | // array of string contating cities 135 | String s1[] = new String[s_run.size()]; 136 | s_run.toArray(s1); 137 | 138 | 139 | // create checkbox 140 | c1 = new JComboBox(s1); 141 | // c2 = new JComboBox(s2); 142 | 143 | // set Kolakata and male as selected items 144 | // using setSelectedIndex 145 | c1.setSelectedIndex(0); 146 | // c2.setSelectedIndex(0); 147 | 148 | // add ItemListener 149 | c1.addItemListener(s); 150 | // c2.addItemListener(s); 151 | 152 | // set the checkbox as editable 153 | c1.setEditable(true); 154 | // c2.setEditable(true); 155 | 156 | // create labels 157 | l = new JLabel("Select Class "); 158 | l1 = new JLabel(c1.getSelectedItem().toString()+" class selected"); 159 | 160 | l2=new JLabel(" Please select or make a class "); 161 | l3=new JLabel(" "); 162 | l4=new JLabel(" "); 163 | l5=new JLabel(" "); 164 | l6=new JLabel(" "); 165 | l7=new JLabel(" "); 166 | l8=new JLabel(" "); 167 | l9=new JLabel(" "); 168 | l10=new JLabel(" "); 169 | l11=new JLabel(" "); 170 | l12=new JLabel(" "); 171 | l13=new JLabel(" "); 172 | l14=new JLabel(" "); 173 | l15=new JLabel(" "); 174 | l16=new JLabel(" "); 175 | l17=new JLabel(" "); 176 | l18=new JLabel(" "); 177 | l19=new JLabel(" "); 178 | l20=new JLabel(" "); 179 | 180 | 181 | 182 | JScrollPane scroll = new JScrollPane( 183 | 184 | ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS, 185 | ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS 186 | ); 187 | 188 | // set color of text 189 | l.setForeground(Color.BLACK); 190 | l1.setForeground(Color.BLACK); 191 | l2.setForeground(Color.BLACK); 192 | 193 | 194 | 195 | // create a new panel 196 | JPanel p = new JPanel(); 197 | 198 | 199 | 200 | 201 | 202 | p.add(l7); 203 | 204 | 205 | 206 | p.add(l); 207 | 208 | 209 | 210 | p.add(c1); 211 | 212 | 213 | 214 | 215 | 216 | p.add(l11); 217 | 218 | 219 | p.add(l2); 220 | l2.setFont(new Font("Serif", Font.PLAIN, 16)); 221 | l.setFont(new Font("Serif", Font.PLAIN, 16)); 222 | // p.add(textArea); 223 | 224 | // p.add(l1); 225 | //p.add(scroll); 226 | 227 | 228 | // set a layout for panel 229 | p.setLayout(new FlowLayout()); 230 | 231 | // add panel to frame 232 | f.add(p); 233 | 234 | // set the size of frame 235 | f.setSize(500, 500); 236 | 237 | f.show(); 238 | } 239 | catch(Exception e) { 240 | e.printStackTrace(); 241 | } 242 | } 243 | public void itemStateChanged(ItemEvent e) 244 | { 245 | try { 246 | 247 | // if the state combobox 1is changed 248 | if (e.getSource() == c1) { 249 | 250 | l1.setText(c1.getSelectedItem().toString() + " selected"); 251 | String value= c1.getSelectedItem().toString(); 252 | if(value.equalsIgnoreCase("--select--")) { 253 | l2.setText("Please select or make a class"); 254 | } 255 | else { 256 | Listls=new ArrayList(); 257 | 258 | naming_conventions s=new naming_conventions(); 259 | ls.addAll(s.recom(c1.getSelectedItem().toString())); 260 | String labelText ="1. "+ls.get(0); 261 | l2.setText(labelText); 262 | } 263 | } 264 | 265 | 266 | // if state of combobox 2 is changed 267 | 268 | //l4.setText(c2.getSelectedItem() + " selected"); 269 | } 270 | catch(Exception E) { 271 | E.printStackTrace(); 272 | } 273 | } 274 | } 275 | -------------------------------------------------------------------------------- /OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/view/Metrics2.java: -------------------------------------------------------------------------------- 1 | package edu.stanford.bmir.protege.examples.view; 2 | 3 | import javax.swing.*; 4 | import javax.net.ssl.HttpsURLConnection; 5 | import javax.net.ssl.SSLContext; 6 | import javax.net.ssl.TrustManager; 7 | import javax.net.ssl.X509TrustManager; 8 | import java.io.OutputStream; 9 | 10 | import javax.swing.text.*; 11 | 12 | import java.awt.Color; 13 | import java.awt.FlowLayout; 14 | import java.awt.Font; 15 | 16 | 17 | import java.awt.event.*; 18 | 19 | import java.util.*; 20 | 21 | 22 | import org.protege.editor.owl.model.OWLModelManager; 23 | import org.protege.editor.owl.model.event.EventType; 24 | import org.protege.editor.owl.model.event.OWLModelManagerListener; 25 | import org.semanticweb.owlapi.model.OWLClass; 26 | import org.semanticweb.owlapi.model.OWLClassExpression; 27 | import org.semanticweb.owlapi.model.OWLIndividual; 28 | 29 | public class Metrics2 extends JPanel implements ItemListener { 30 | 31 | 32 | private JButton refreshButton = new JButton("Naming"); 33 | private JButton refreshButton1 = new JButton("ODP"); 34 | private JButton refreshButton2 = new JButton("VocabSuggestion"); 35 | private JButton refreshButton3 = new JButton("Axiom Recommendation"); 36 | private JButton refreshButton4 = new JButton("Naming Convention"); 37 | 38 | private JLabel textComponent = new JLabel(); 39 | private JLabel textComponent1 = new JLabel(); 40 | private JLabel textComponent2 = new JLabel(); 41 | 42 | public JTextPane textPane = new JTextPane(); 43 | public JTextArea textArea = new JTextArea(20,20); 44 | public JTextArea textArea1 = new JTextArea(50,50); 45 | public JTextArea textArea2 = new JTextArea(20,20); 46 | JScrollPane scrollPane = new JScrollPane(); 47 | 48 | static JFrame f; 49 | 50 | // label 51 | static JLabel l, l2,l1, l3, l4,l5,l6,l7,l8,l9,l10,l11,l12,l13,l14,l15,l16,l17,l18,l19,l20; 52 | 53 | // combobox 54 | static JComboBox c1, c2; 55 | private OWLModelManager modelManager; 56 | 57 | 58 | // private ActionListener refreshAction = e -> recalculate(); 59 | 60 | 61 | 62 | private OWLModelManagerListener modelListener = event -> { 63 | if (event.getType() == EventType.ACTIVE_ONTOLOGY_CHANGED) { 64 | Metrics m=new Metrics(modelManager); 65 | } 66 | }; 67 | 68 | public Metrics2(OWLModelManager modelManager) { 69 | 70 | this.modelManager = modelManager; 71 | // recalculate(); 72 | 73 | modelManager.addListener(modelListener); 74 | 75 | // refreshButton.addActionListener(refreshAction); 76 | // refreshButton1.addActionListener(refreshAction); 77 | //refreshButton2.addActionListener(refreshAction); 78 | 79 | // refreshButton3.addActionListener(refreshAction4); 80 | 81 | 82 | 83 | add(refreshButton1); 84 | add(refreshButton1); 85 | add(refreshButton2); 86 | add(refreshButton3); 87 | // add(textArea1); 88 | //textArea1.setEditable(true); 89 | // add(refreshButton1); 90 | // add(refreshButton2); 91 | // add(refreshButton3); 92 | 93 | 94 | 95 | Font font = new Font("Serif",Font.PLAIN, 14); 96 | 97 | 98 | Font font1 = new Font("Serif",Font.PLAIN, 14); 99 | 100 | 101 | } 102 | 103 | public void dispose() { 104 | modelManager.removeListener(modelListener); 105 | 106 | 107 | //refreshButton2.removeActionListener(refreshAction); 108 | /* 109 | refreshButton2.removeActionListener(refreshAction2); 110 | refreshButton3.removeActionListener(refreshAction3); 111 | refreshButton4.removeActionListener(refreshAction4); 112 | */ 113 | } 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | public void main(String args[]) { 125 | Metrics1 m=new Metrics1(modelManager); 126 | } 127 | public void detect(Lists_run) { 128 | try { 129 | f = new JFrame("Axiom Recommendation"); 130 | 131 | // create a object 132 | Metrics2 s = new Metrics2(modelManager); 133 | 134 | // array of string contating cities 135 | String s1[] = new String[s_run.size()]; 136 | s_run.toArray(s1); 137 | // String s2[] = { "male", "female", "others" }; 138 | 139 | // create checkbox 140 | c1 = new JComboBox(s1); 141 | // c2 = new JComboBox(s2); 142 | 143 | // set Kolakata and male as selected items 144 | // using setSelectedIndex 145 | c1.setSelectedIndex(0); 146 | // c2.setSelectedIndex(0); 147 | 148 | // add ItemListener 149 | c1.addItemListener(s); 150 | // c2.addItemListener(s); 151 | 152 | // set the checkbox as editable 153 | c1.setEditable(true); 154 | 155 | // create labels 156 | l = new JLabel("Select Class or property "); 157 | l1 = new JLabel(c1.getSelectedItem().toString()+" class selected"); 158 | 159 | l5=new JLabel(" "); 160 | l3=new JLabel(" Please select or make a class or a property "); 161 | l4=new JLabel(" "); 162 | l6=new JLabel(" "); 163 | l7=new JLabel(" "); 164 | l8=new JLabel(" "); 165 | l9=new JLabel(" "); 166 | l10=new JLabel(" "); 167 | l11=new JLabel(" "); 168 | l12=new JLabel(" "); 169 | l13=new JLabel(" "); 170 | l14=new JLabel(" "); 171 | l15=new JLabel(" "); 172 | l16=new JLabel(" "); 173 | l17=new JLabel(" "); 174 | l18=new JLabel(" "); 175 | l19=new JLabel(" "); 176 | l20=new JLabel(" "); 177 | //textArea.setText(ls.toString()); 178 | 179 | JScrollPane scroll = new JScrollPane( 180 | 181 | ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS, 182 | ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS 183 | ); 184 | 185 | // set color of text 186 | l.setForeground(Color.BLACK); 187 | l1.setForeground(Color.BLACK); 188 | //l2.setForeground(Color.BLACK); 189 | 190 | l3.setForeground(Color.BLACK); 191 | l4.setForeground(Color.BLACK); 192 | l5.setForeground(Color.BLACK); 193 | // create a new panel 194 | JPanel p = new JPanel(); 195 | 196 | p.add(l); 197 | 198 | // p.add(l2); 199 | 200 | //p.add(l); 201 | p.add(c1); 202 | //p.add(l5); 203 | p.add(l6); 204 | p.add(l7); 205 | p.add(l8); 206 | p.add(l9); 207 | p.add(l10); 208 | p.add(l11); 209 | p.add(l12); 210 | p.add(l13); 211 | p.add(l14); 212 | p.add(l15); 213 | p.add(l16); 214 | p.add(l17); 215 | p.add(l18); 216 | p.add(l19); 217 | p.add(l20); 218 | 219 | p.add(l3); 220 | p.add(l4); 221 | 222 | // p.add(l1); 223 | //p.add(scroll); 224 | 225 | l3.setFont(new Font("Serif", Font.PLAIN, 16)); 226 | l.setFont(new Font("Serif", Font.PLAIN, 16)); 227 | // set a layout for panel 228 | p.setLayout(new FlowLayout()); 229 | 230 | // add panel to frame 231 | f.add(p); 232 | 233 | // set the size of frame 234 | f.setSize(500, 500); 235 | 236 | f.show(); 237 | } 238 | catch(Exception e) { 239 | e.printStackTrace(); 240 | } 241 | } 242 | public void itemStateChanged(ItemEvent e) 243 | { 244 | List hash_Set = new ArrayList(); 245 | try { 246 | 247 | // if the state combobox 1is changed 248 | if (e.getSource() == c1) { 249 | 250 | l1.setText(c1.getSelectedItem().toString() + " selected"); 251 | String value= c1.getSelectedItem().toString(); 252 | Listls=new ArrayList(); 253 | String x="/home/pramit67/Downloads/owl2_rl_benchmark_corpus/"; 254 | 255 | System.out.println(value); 256 | retrieval r= new retrieval(); 257 | //value=value.substring(0,value.length()-); 258 | // String value= c1.getSelectedItem().toString(); 259 | if(value.equalsIgnoreCase("--select--")) { 260 | l3.setText("Please select a class or property"); 261 | } 262 | else { 263 | 264 | hash_Set=r.filtering(value); 265 | if(hash_Set.size()==0) { 266 | l3.setText("No Recommendations Found"); 267 | l4.setText(""); 268 | } 269 | else if(hash_Set.size()==1) { 270 | l3.setText("1. "+hash_Set.get(0)); 271 | l4.setText(""); 272 | } 273 | else { 274 | String labelText ="1. "+hash_Set.get(0)+"
"+"
2. "+hash_Set.get(1)+""; 275 | l3.setText(labelText); 276 | l4.setText(""); 277 | 278 | 279 | 280 | } 281 | } 282 | } 283 | // if state of combobox 2 is changed 284 | 285 | //l4.setText(c2.getSelectedItem() + " selected"); 286 | } 287 | catch(Exception E) { 288 | E.printStackTrace(); 289 | } 290 | } 291 | } 292 | -------------------------------------------------------------------------------- /OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/view/Metrics3.java: -------------------------------------------------------------------------------- 1 | package edu.stanford.bmir.protege.examples.view; 2 | 3 | import javax.swing.*; 4 | import javax.net.ssl.HttpsURLConnection; 5 | import javax.net.ssl.SSLContext; 6 | import javax.net.ssl.TrustManager; 7 | import javax.net.ssl.X509TrustManager; 8 | import java.io.OutputStream; 9 | 10 | import javax.swing.text.*; 11 | 12 | import java.awt.Color; 13 | import java.awt.FlowLayout; 14 | import java.awt.Font; 15 | 16 | 17 | import java.awt.event.*; 18 | 19 | import java.util.*; 20 | 21 | 22 | import org.protege.editor.owl.model.OWLModelManager; 23 | import org.protege.editor.owl.model.event.EventType; 24 | import org.protege.editor.owl.model.event.OWLModelManagerListener; 25 | import org.semanticweb.owlapi.model.OWLClass; 26 | import org.semanticweb.owlapi.model.OWLClassExpression; 27 | import org.semanticweb.owlapi.model.OWLIndividual; 28 | 29 | public class Metrics3 extends JPanel implements ItemListener { 30 | 31 | 32 | private JButton refreshButton = new JButton("Naming"); 33 | private JButton refreshButton1 = new JButton("ODP"); 34 | private JButton refreshButton2 = new JButton("VocabSuggestion"); 35 | private JButton refreshButton3 = new JButton("Axiom Recommendation"); 36 | private JButton refreshButton4 = new JButton("Naming Convention"); 37 | 38 | private JLabel textComponent = new JLabel(); 39 | private JLabel textComponent1 = new JLabel(); 40 | private JLabel textComponent2 = new JLabel(); 41 | 42 | public JTextPane textPane = new JTextPane(); 43 | public JTextArea textArea = new JTextArea(20,20); 44 | public JTextArea textArea1 = new JTextArea(50,50); 45 | public JTextArea textArea2 = new JTextArea(20,20); 46 | JScrollPane scrollPane = new JScrollPane(); 47 | 48 | static JFrame f; 49 | 50 | // label 51 | static JLabel l, l2,l1, l3, l4,l5,l6,l7,l8,l9,l10,l11,l12,l13,l14,l15,l16,l17,l18,l19,l20; 52 | 53 | // combobox 54 | static JComboBox c1, c2; 55 | private OWLModelManager modelManager; 56 | 57 | 58 | // private ActionListener refreshAction = e -> recalculate(); 59 | 60 | 61 | 62 | private OWLModelManagerListener modelListener = event -> { 63 | if (event.getType() == EventType.ACTIVE_ONTOLOGY_CHANGED) { 64 | Metrics m=new Metrics(modelManager); 65 | } 66 | }; 67 | 68 | public Metrics3(OWLModelManager modelManager) { 69 | 70 | this.modelManager = modelManager; 71 | // recalculate(); 72 | 73 | modelManager.addListener(modelListener); 74 | 75 | // refreshButton.addActionListener(refreshAction); 76 | // refreshButton1.addActionListener(refreshAction); 77 | //refreshButton2.addActionListener(refreshAction); 78 | 79 | // refreshButton3.addActionListener(refreshAction4); 80 | 81 | 82 | 83 | add(refreshButton1); 84 | add(refreshButton1); 85 | add(refreshButton2); 86 | add(refreshButton3); 87 | // add(textArea1); 88 | //textArea1.setEditable(true); 89 | // add(refreshButton1); 90 | // add(refreshButton2); 91 | // add(refreshButton3); 92 | 93 | 94 | 95 | Font font = new Font("Serif",Font.PLAIN, 14); 96 | 97 | 98 | Font font1 = new Font("Serif",Font.PLAIN, 14); 99 | 100 | 101 | } 102 | 103 | public void dispose() { 104 | modelManager.removeListener(modelListener); 105 | 106 | 107 | //refreshButton2.removeActionListener(refreshAction); 108 | /* 109 | refreshButton2.removeActionListener(refreshAction2); 110 | refreshButton3.removeActionListener(refreshAction3); 111 | refreshButton4.removeActionListener(refreshAction4); 112 | */ 113 | } 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | public void main(String args[]) { 125 | Metrics1 m=new Metrics1(modelManager); 126 | } 127 | public void detect(Lists_run) { 128 | try { 129 | f = new JFrame("Property Naming Recommendation"); 130 | 131 | // create a object 132 | Metrics3 s = new Metrics3(modelManager); 133 | 134 | // array of string contating cities 135 | String s1[] = new String[s_run.size()]; 136 | s_run.toArray(s1); 137 | 138 | // String s2[] = { "male", "female", "others" }; 139 | 140 | // create checkbox 141 | c1 = new JComboBox(s1); 142 | 143 | 144 | // set Kolakata and male as selected items 145 | // using setSelectedIndex 146 | c1.setSelectedIndex(0); 147 | 148 | 149 | // add ItemListener 150 | c1.addItemListener(s); 151 | 152 | // set the checkbox as editable 153 | c1.setEditable(true); 154 | 155 | // create labels 156 | l = new JLabel("Select Property "); 157 | l1 = new JLabel(c1.getSelectedItem().toString()+" Property selected"); 158 | 159 | l2=new JLabel(" Please select or make a property "); 160 | l3=new JLabel(" "); 161 | l4=new JLabel(" "); 162 | l5=new JLabel(" "); 163 | l6=new JLabel(" "); 164 | l7=new JLabel(" "); 165 | l8=new JLabel(" "); 166 | l9=new JLabel(" "); 167 | l10=new JLabel(" "); 168 | l11=new JLabel(" "); 169 | l12=new JLabel(" "); 170 | l13=new JLabel(" "); 171 | l14=new JLabel(" "); 172 | l15=new JLabel(" "); 173 | l16=new JLabel(" "); 174 | l17=new JLabel(" "); 175 | l18=new JLabel(" "); 176 | l19=new JLabel(" "); 177 | l20=new JLabel(" "); 178 | 179 | 180 | 181 | 182 | JScrollPane scroll = new JScrollPane( 183 | 184 | ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS, 185 | ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS 186 | ); 187 | 188 | // set color of text 189 | l.setForeground(Color.BLACK); 190 | l1.setForeground(Color.BLACK); 191 | l2.setForeground(Color.BLACK); 192 | 193 | 194 | 195 | // create a new panel 196 | JPanel p = new JPanel(); 197 | 198 | p.add(l7); 199 | 200 | 201 | 202 | p.add(l); 203 | 204 | 205 | 206 | p.add(c1); 207 | 208 | 209 | 210 | 211 | 212 | p.add(l11); 213 | 214 | 215 | p.add(l2); 216 | //p.add(scroll); 217 | 218 | l2.setFont(new Font("Serif", Font.PLAIN, 16)); 219 | l.setFont(new Font("Serif", Font.PLAIN, 16)); 220 | // set a layout for panel 221 | p.setLayout(new FlowLayout()); 222 | 223 | // add panel to frame 224 | f.add(p); 225 | 226 | // set the size of frame 227 | f.setSize(500, 500); 228 | 229 | f.show(); 230 | } 231 | catch(Exception e) { 232 | e.printStackTrace(); 233 | } 234 | } 235 | public void itemStateChanged(ItemEvent e) 236 | { 237 | try { 238 | 239 | 240 | 241 | if (e.getSource() == c1) { 242 | Listls1=new ArrayList(); 243 | l3.setText(c1.getSelectedItem().toString() + " selected"); 244 | namingconventionprop s=new namingconventionprop(); 245 | String value= c1.getSelectedItem().toString(); 246 | if(value.equalsIgnoreCase("--select--")) { 247 | l2.setText("Please select or make a property"); 248 | } 249 | else { 250 | ls1.addAll(s.recomproperties(c1.getSelectedItem().toString())); 251 | System.out.print(ls1.toString()); 252 | System.out.print(c1.getSelectedItem().toString()); 253 | 254 | //textArea = new JTextArea(20,20); 255 | 256 | String labelText ="1. "+ls1.get(0); 257 | l2.setText(labelText); 258 | //l7.setText(ls.get(1)); 259 | } 260 | 261 | 262 | } 263 | 264 | // if state of combobox 2 is changed 265 | 266 | //l4.setText(c2.getSelectedItem() + " selected"); 267 | } 268 | catch(Exception E) { 269 | E.printStackTrace(); 270 | } 271 | } 272 | } 273 | -------------------------------------------------------------------------------- /OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/view/ReadResourceFile.java: -------------------------------------------------------------------------------- 1 | package edu.stanford.bmir.protege.examples.view; 2 | 3 | import java.io.BufferedReader; 4 | import java.io.IOException; 5 | import java.io.InputStreamReader; 6 | import java.io.UnsupportedEncodingException; 7 | 8 | public class ReadResourceFile { 9 | 10 | public void readFile(String fileName) { 11 | try { 12 | System.out.println("Enter try"+fileName); 13 | // the slash '/' is required 14 | BufferedReader br = new BufferedReader(new InputStreamReader( 15 | this.getClass().getResourceAsStream( fileName), "UTF-8")); 16 | System.out.println(fileName); 17 | String line = null; 18 | 19 | while ((line = br.readLine()) != null) { 20 | System.out.println(line); 21 | } 22 | } catch (UnsupportedEncodingException e) { 23 | e.printStackTrace(); 24 | } catch (IOException e) { 25 | e.printStackTrace(); 26 | } 27 | } 28 | 29 | public static void main(String[] args) { 30 | ReadResourceFile readResouceFile = new ReadResourceFile(); 31 | readResouceFile.readFile("/axiom.txt"); 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/view/StringEqualityPercentCheckUsingJaroWinklerDistance.java: -------------------------------------------------------------------------------- 1 | package edu.stanford.bmir.protege.examples.view; 2 | import java.util.*; 3 | public class StringEqualityPercentCheckUsingJaroWinklerDistance { 4 | public static void main(String args[]) { 5 | printSimilarity("", ""); 6 | printSimilarity("", "a"); 7 | printSimilarity("aaapppp", ""); 8 | printSimilarity("frog", "fog"); 9 | printSimilarity("fly", "ant"); 10 | printSimilarity("elephant", "hippo"); 11 | printSimilarity("hippo", "elephant"); 12 | printSimilarity("hippo", "zzzzzzzz"); 13 | printSimilarity("hello", "hallo"); 14 | printSimilarity("ABC Corporation", "ABC Corp"); 15 | printSimilarity("D N H Enterprises Inc", "D & H Enterprises, Inc."); 16 | printSimilarity("My Gym Children's Fitness Center", "My Gym. Childrens Fitness"); 17 | printSimilarity("PENNSYLVANIA", "PENNCISYLVNIA"); 18 | printSimilarity("The quick fox brown jumped", "The quick brown fox"); 19 | } 20 | public static void printSimilarity(String s, String t) { 21 | System.out.println(String.format("%.3f is the similarity between \"%s\" and \"%s\"", similarity(s, t), s, t)); 22 | } 23 | 24 | /** 25 | * JaroWinklerDistance 26 | * Copied from https://commons.apache.org/sandbox/commons-text/jacoco/org.apache.commons.text.similarity/JaroWinklerDistance.java.html 27 | * apply method changed to similarity 28 | */ 29 | public static Double similarity(final CharSequence left, final CharSequence right) { 30 | final double defaultScalingFactor = 0.1; 31 | final double percentageRoundValue = 100.0; 32 | 33 | if (left == null || right == null) { 34 | throw new IllegalArgumentException("Strings must not be null"); 35 | } 36 | 37 | int[] mtp = matches(left, right); 38 | double m = mtp[0]; 39 | if (m == 0) { 40 | return 0D; 41 | } 42 | double j = ((m / left.length() + m / right.length() + (m - mtp[1]) / m)) / 3; 43 | double jw = j < 0.7D ? j : j + Math.min(defaultScalingFactor, 1D / mtp[3]) * mtp[2] * (1D - j); 44 | return Math.round(jw * percentageRoundValue) / percentageRoundValue; 45 | } 46 | protected static int[] matches(final CharSequence first, final CharSequence second) { 47 | CharSequence max, min; 48 | if (first.length() > second.length()) { 49 | max = first; 50 | min = second; 51 | } else { 52 | max = second; 53 | min = first; 54 | } 55 | int range = Math.max(max.length() / 2 - 1, 0); 56 | int[] matchIndexes = new int[min.length()]; 57 | Arrays.fill(matchIndexes, -1); 58 | boolean[] matchFlags = new boolean[max.length()]; 59 | int matches = 0; 60 | for (int mi = 0; mi < min.length(); mi++) { 61 | char c1 = min.charAt(mi); 62 | for (int xi = Math.max(mi - range, 0), xn = Math.min(mi + range + 1, max.length()); xi < xn; xi++) { 63 | if (!matchFlags[xi] && c1 == max.charAt(xi)) { 64 | matchIndexes[mi] = xi; 65 | matchFlags[xi] = true; 66 | matches++; 67 | break; 68 | } 69 | } 70 | } 71 | char[] ms1 = new char[matches]; 72 | char[] ms2 = new char[matches]; 73 | for (int i = 0, si = 0; i < min.length(); i++) { 74 | if (matchIndexes[i] != -1) { 75 | ms1[si] = min.charAt(i); 76 | si++; 77 | } 78 | } 79 | for (int i = 0, si = 0; i < max.length(); i++) { 80 | if (matchFlags[i]) { 81 | ms2[si] = max.charAt(i); 82 | si++; 83 | } 84 | } 85 | int transpositions = 0; 86 | for (int mi = 0; mi < ms1.length; mi++) { 87 | if (ms1[mi] != ms2[mi]) { 88 | transpositions++; 89 | } 90 | } 91 | int prefix = 0; 92 | for (int mi = 0; mi < min.length(); mi++) { 93 | if (first.charAt(mi) == second.charAt(mi)) { 94 | prefix++; 95 | } else { 96 | break; 97 | } 98 | } 99 | return new int[] { matches, transpositions / 2, prefix, max.length() }; 100 | } 101 | } 102 | -------------------------------------------------------------------------------- /OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/view/chatbotpanel.java: -------------------------------------------------------------------------------- 1 | package edu.stanford.bmir.protege.examples.view; 2 | 3 | import java.awt.Font; 4 | import java.awt.GridBagConstraints; 5 | import java.awt.GridBagLayout; 6 | import java.awt.Insets; 7 | import java.awt.event.ActionListener; 8 | import java.util.ArrayList; 9 | import java.util.List; 10 | 11 | import javax.swing.BorderFactory; 12 | import javax.swing.JButton; 13 | import javax.swing.JFileChooser; 14 | import javax.swing.JFrame; 15 | import javax.swing.JLabel; 16 | import javax.swing.JPanel; 17 | import javax.swing.JScrollPane; 18 | import javax.swing.JTable; 19 | import javax.swing.JTextArea; 20 | import javax.swing.JTextField; 21 | import javax.swing.ScrollPaneConstants; 22 | import javax.swing.SwingUtilities; 23 | import javax.swing.UIManager; 24 | 25 | 26 | public class chatbotpanel extends JFrame { 27 | JFileChooser fileChooser = new JFileChooser(); 28 | private JLabel labelEnterdescription = new JLabel("Do the properties of superclass cease to exist in the future (temporal dependency)? (Y/N)"); 29 | private JLabel labelEnterdescription1 = new JLabel("Do the properties of the sub class cease to exist in the future? (temporal dependency)? (Y/N)"); 30 | private JLabel labelEnterDomain1 = new JLabel("Are the properties of super-class and subclass identical? (Y/N)"); 31 | private JLabel labelelements1 = new JLabel("Are the properties of subclass part of the properties whole class? (Y/N)"); 32 | 33 | 34 | // private JLabel labelPassword = new JLabel("Enter password: "); 35 | private JTextField textDescription = new JTextField(20); 36 | private JTextField textdomain = new JTextField(20); 37 | private JTextField textclass = new JTextField(20); 38 | private JTextField textDescription1 = new JTextField(20); 39 | private JTextField textdomain1 = new JTextField(20); 40 | private JTextField textclass1 = new JTextField(20); 41 | 42 | private JLabel textarea= new JLabel("Hierarchy Validation\n"); 43 | private JLabel text123=new JLabel("\n"); 44 | private JTextArea textarea1= new JTextArea(""); 45 | private JLabel comment=new JLabel("Please answer the following questions for each subclass and superclass in the ontology"); 46 | private JLabel comment1=new JLabel("All the below inputs are mandatory"); 47 | private JLabel comment2=new JLabel("Hover over label to get more information"); 48 | 49 | //private JPasswordField fieldPassword = new JPasswordField(20); 50 | private JButton buttonLogin = new JButton("Class Hierarchy Validation"); 51 | private JButton close = new JButton("Close the panel"); 52 | private ActionListener refreshAction = e ->ODP(); 53 | private String data[][]={ {"Rule","SuperPositive","SuperNegative"},{"Identity","Positive","Negative"}, 54 | {"Rigidity","Positive","Negative"}, 55 | {"Unity","Positive","Negative"}}; 56 | private String column[]={"Rule","Superclass-Positive","SuperClass-Negative"}; 57 | JTable jt=new JTable(data,column); 58 | 59 | public chatbotpanel() { 60 | super("Class Hierarchy Validation"); 61 | 62 | labelEnterdescription.setToolTipText("For example,
Person will always be a person, but Student can cease to exist to be a Student after a time lapse.
Person is a superclass of student so Person class property will cease to exist in future
If the property of superclass cease to exist in future then type Y otherwise N
"); 63 | labelEnterdescription1.setToolTipText("For example,
Person will always be a person, but Student can cease to exist to be a Student after a time lapse, as Student will have its class, subject, grades etc.
Subject is a subclass of student so Subject class property will not cease to exist in future
If the property of subclass cease to exist in future then type Y otherwise N
"); 64 | labelEnterDomain1.setToolTipText("For example:
two one-hour duration time intervals are identical, but an hour interval on Wednesday is not identical to an hour interval on Friday.
If the properties is similar then type Y otherwise N"); 65 | labelelements1.setToolTipText("For example:
A lump of clay is part of \"amount of matter\", but \"amount of matter\" is not part of a lump of clay.
If the property of subclass is related or part of superclass then type Y otherwise N"); 66 | 67 | // create a new panel with GridBagLayout manager 68 | JPanel newPanel = new JPanel(new GridBagLayout()); 69 | 70 | GridBagConstraints constraints = new GridBagConstraints(); 71 | 72 | constraints.insets = new Insets(15, 15, 15, 15); 73 | 74 | constraints.anchor = GridBagConstraints.WEST; 75 | constraints.gridx = 0; 76 | constraints.gridy = 0; 77 | newPanel.add(comment, constraints); 78 | comment.setFont(comment.getFont().deriveFont(Font.BOLD, comment.getFont().getSize())); 79 | 80 | constraints.gridx = 0; 81 | constraints.gridy = 1; 82 | newPanel.add(comment1, constraints); 83 | comment1.setFont(comment1.getFont().deriveFont(comment.getFont().getSize()-1)); 84 | 85 | constraints.gridx = 0; 86 | constraints.gridy = 2; 87 | newPanel.add(comment2, constraints); 88 | comment2.setFont(comment2.getFont().deriveFont(comment.getFont().getSize()-1)); 89 | 90 | constraints.gridx = 0; 91 | constraints.gridy = 3; 92 | newPanel.add(labelEnterdescription, constraints); 93 | constraints.gridx = 1; 94 | newPanel.add(textDescription, constraints); 95 | 96 | constraints.gridx = 0; 97 | constraints.gridy = 4; 98 | newPanel.add(labelEnterdescription1, constraints); 99 | constraints.gridx = 1; 100 | newPanel.add(textDescription1, constraints); 101 | 102 | constraints.gridx = 0; 103 | constraints.gridy = 5; 104 | newPanel.add( labelEnterDomain1, constraints); 105 | constraints.gridx = 1; 106 | newPanel.add(textdomain1, constraints); 107 | 108 | constraints.gridx = 0; 109 | constraints.gridy = 6; 110 | newPanel.add(labelelements1, constraints); 111 | constraints.gridx = 1; 112 | newPanel.add(textclass1, constraints); 113 | 114 | 115 | constraints.gridx = 0; 116 | constraints.gridy = 9; 117 | newPanel.add(textarea, constraints); 118 | textarea.setFont(textarea.getFont().deriveFont(Font.BOLD, textarea.getFont().getSize())); 119 | 120 | JScrollPane scroll = new JScrollPane(textarea); 121 | scroll.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS); 122 | 123 | constraints.gridx = 0; 124 | constraints.gridy = 11; 125 | newPanel.add(text123, constraints); 126 | 127 | constraints.gridx = 0; 128 | constraints.gridy = 12; 129 | newPanel.add(textarea1, constraints); 130 | textarea1.setEditable(false); 131 | textarea1.setFont(textarea1.getFont().deriveFont(textarea.getFont().getSize())); 132 | 133 | constraints.gridx = 0; 134 | constraints.gridy = 13; 135 | constraints.gridwidth = 2; 136 | constraints.anchor = GridBagConstraints.CENTER; 137 | newPanel.add(buttonLogin, constraints); 138 | buttonLogin.addActionListener(refreshAction); 139 | 140 | // set border for the panel 141 | newPanel.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(), "Class Hierarchy Validation")); 142 | 143 | // add the panel to this frame 144 | add(newPanel); 145 | pack(); 146 | 147 | setLocationRelativeTo(null); 148 | } 149 | 150 | public List ODP() { 151 | odpdescription o=new odpdescription(); 152 | Listls=new ArrayList(); 153 | String s; 154 | String S1=textDescription.getText(); 155 | String S2=textdomain.getText(); 156 | String S3=textclass.getText(); 157 | String S4=textDescription1.getText(); 158 | String S5=textdomain1.getText(); 159 | String S6=textclass1.getText(); 160 | if(S1.equalsIgnoreCase("")||S4.equalsIgnoreCase("")||S5.equalsIgnoreCase("")||S6.equalsIgnoreCase("")) { 161 | textarea1.append("All mandatory fields are not filled"); 162 | } 163 | else { 164 | s=S1+S2+S3; 165 | //System.out.println(s); 166 | if(S1.equalsIgnoreCase("y")) { 167 | if(S4.equalsIgnoreCase("y")||S4.equalsIgnoreCase("N")) { 168 | textarea1.append("Rigidity is correctly maintained.\n"); 169 | } 170 | 171 | } 172 | else if(S1.equalsIgnoreCase("N")) { 173 | if(S4.equalsIgnoreCase("N")) { 174 | textarea1.append("Rigidity is correctly maintained.\n"); 175 | } 176 | else if(S4.equalsIgnoreCase("Y")) { 177 | textarea1.append("Rigidity is not correctly maintained. Subclass hierarchy is not correct.\n"); 178 | } 179 | } 180 | 181 | if(S5.equalsIgnoreCase("y")) { 182 | 183 | textarea1.append("Identity is correctly maintained.\n"); 184 | 185 | 186 | } 187 | else if(S5.equalsIgnoreCase("N")) { 188 | textarea1.append("Identity is not correctly maintained. Subclass hierarchy is not correct.\n"); 189 | 190 | } 191 | 192 | if(S6.equalsIgnoreCase("y")) { 193 | 194 | textarea1.append("Unity is correctly maintained.\n"); 195 | 196 | 197 | } 198 | else if(S6.equalsIgnoreCase("N")) { 199 | 200 | 201 | textarea1.append("Unity is not correctly maintained. Subclass hierarchy is not correct.\n"); 202 | 203 | } 204 | 205 | } 206 | 207 | //ls.addAll(o.findsimilarity(s)); 208 | //System.out.println("Ls is"+ls); 209 | //textarea.setText("Final ODP Output is: "+ls.toString()); 210 | buttonLogin.setEnabled(false); 211 | 212 | return ls; 213 | 214 | } 215 | 216 | public void dispose() { 217 | 218 | 219 | buttonLogin.removeActionListener(refreshAction); 220 | 221 | 222 | } 223 | public void result() { 224 | try { 225 | UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); 226 | } catch (Exception ex) { 227 | ex.printStackTrace(); 228 | } 229 | 230 | SwingUtilities.invokeLater(new Runnable() { 231 | @Override 232 | public void run() { 233 | new chatbotpanel().setVisible(true); 234 | } 235 | }); 236 | } 237 | public static void main(String[] args) { 238 | // set look and feel to the system look and feel 239 | chatbotpanel j=new chatbotpanel(); 240 | j.result(); 241 | } 242 | } 243 | 244 | -------------------------------------------------------------------------------- /OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/view/index.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | java /OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/view/indices.java 3 | mvn clean install 4 | java -jar -OntoSeer.awt.UIElement="true" target/OntoSeer.jar -h 5 | -------------------------------------------------------------------------------- /OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/view/indices.java: -------------------------------------------------------------------------------- 1 | package edu.stanford.bmir.protege.examples.view; 2 | 3 | import java.util.Scanner; 4 | 5 | public class indices { 6 | public void indexing(String sc) { 7 | 8 | System.out.println(sc+"Files indexed. Please use OntoSeer."); 9 | } 10 | 11 | public static void main(String[] args) { 12 | String str=null; 13 | InvertedIndex i= new InvertedIndex(); 14 | i.main(args); 15 | 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/view/jpanel.java: -------------------------------------------------------------------------------- 1 | package edu.stanford.bmir.protege.examples.view; 2 | 3 | import java.awt.Font; 4 | import java.awt.GridBagConstraints; 5 | import java.awt.GridBagLayout; 6 | import java.awt.Insets; 7 | import java.awt.event.ActionListener; 8 | import java.util.ArrayList; 9 | import java.util.HashSet; 10 | import java.util.List; 11 | import java.util.Set; 12 | 13 | import javax.swing.BorderFactory; 14 | import javax.swing.JButton; 15 | import javax.swing.JFileChooser; 16 | import javax.swing.JFrame; 17 | import javax.swing.JLabel; 18 | import javax.swing.JPanel; 19 | import javax.swing.JTextArea; 20 | import javax.swing.JTextField; 21 | import javax.swing.SwingUtilities; 22 | import javax.swing.UIManager; 23 | import org.protege.editor.owl.model.OWLModelManager; 24 | import org.protege.editor.owl.model.event.EventType; 25 | import org.protege.editor.owl.model.event.OWLModelManagerListener; 26 | import org.semanticweb.owlapi.model.OWLClass; 27 | 28 | public class jpanel extends JFrame { 29 | JFileChooser fileChooser = new JFileChooser(); 30 | private JLabel labelEnterdescription = new JLabel("Please enter the description of the ontology."); 31 | private JLabel labelEnterDomain = new JLabel("Please enter the domain of ontology."); 32 | private JLabel labelcqs = new JLabel("Please enter the competency questions."); 33 | 34 | // private JLabel labelPassword = new JLabel("Enter password: "); 35 | private JTextField textDescription = new JTextField(20); 36 | private JTextField textdomain = new JTextField(20); 37 | private JTextField textclass = new JTextField(20); 38 | private JTextField textcqs = new JTextField(20); 39 | private JTextField textadd = new JTextField(20); 40 | private JTextField textfinal = new JTextField(20); 41 | private JTextArea textarea= new JTextArea("ODP Recommendation"); 42 | 43 | private JLabel comment=new JLabel("The class and properties will be considered for ODP recommendation. Without any class or property ODP recommendation will not be shown."); 44 | private JLabel commentq=new JLabel("Along with that the following can also be provided for ODP recommendation but they are optional."); 45 | private JLabel comment2=new JLabel("Hover over label to get more information."); 46 | 47 | 48 | 49 | //private JPasswordField fieldPassword = new JPasswordField(20); 50 | private JButton buttonLogin = new JButton("ODP Recommendation"); 51 | private JButton close = new JButton("Close the panel"); 52 | private ActionListener refreshAction = e ->ODP(); 53 | private OWLModelManager modelManager; 54 | private OWLModelManagerListener modelListener = event -> { 55 | if (event.getType() == EventType.ACTIVE_ONTOLOGY_CHANGED) { 56 | Metrics m=new Metrics(modelManager); 57 | } 58 | }; 59 | public Listct1; 60 | String ct2[]=new String[50000]; 61 | public List classname() { 62 | 63 | try { 64 | 65 | int count = modelManager.getActiveOntology().getClassesInSignature().size(); 66 | int count2= modelManager.getActiveOntology().getLogicalAxiomCount(); 67 | Setxt34=new HashSet(); 68 | Listls2=new ArrayList(); 69 | 70 | String s1[]=new String[500]; 71 | 72 | Listiri=new ArrayList<>(); 73 | Listclassname=new ArrayList<>(); 74 | List map3 = new ArrayList(); 75 | 76 | 77 | Set xt= modelManager.getActiveOntology().getClassesInSignature(); 78 | // Vocabsuggesstionpanel v=new Vocabsuggesstionpanel(); 79 | naming_panel p=new naming_panel(); 80 | 81 | for(OWLClass c:xt) { 82 | String xt1=c.toString(); 83 | System.out.println(xt1); 84 | xt34.add(xt1); 85 | 86 | } 87 | if (count == 0) { 88 | count = 1; 89 | } 90 | if(count2==0) { 91 | count2=1; 92 | } 93 | for(String s:xt34) { 94 | s1=s.split("#",2); 95 | s1[1]=s1[1].substring(0,s1[1].length()-1); 96 | iri.add(s1[0]); 97 | classname.add(s1[1]); 98 | 99 | 100 | } 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | return classname; 109 | 110 | 111 | }catch(Exception e) { 112 | e.printStackTrace(); 113 | return null; 114 | } 115 | 116 | 117 | } 118 | 119 | public jpanel(String ct[]) { 120 | 121 | super("ODP Recommendation"); 122 | ct1=new ArrayList<>(); 123 | ct2=ct; 124 | 125 | labelEnterdescription.setToolTipText("Provide key value related to description of ontology
For example :-
If you want to know about the ontology of college with professor, teacher, students etc then type \"college\"
If you want to know about the ontology related to wine then type \"wine\""); 126 | labelEnterDomain.setToolTipText("Provide key value related to domain of ontology
For example :-
If you want to know about the ontology of teacher but in the domain of college then type \"college\" in the domain and \"teacher\" in the description
If you want to know about the ontology related to color in the domain of wine ontology then type \"color\" in the domain and \"wine\" in the description"); 127 | labelcqs.setToolTipText("Provide key value related to competency questions
For example :-
If you want CQ as \"No of teachers in college\" then type \"Teacher in the CQ\", \"college\" in the domain and \"teacher\" in the description
If you want CQ as \"All Color of wine in Asia\" then type \"color\" in the CQ, \"color\" in the domain and \"wine\" in the description"); 128 | 129 | // create a new panel with GridBagLayout manager 130 | JPanel newPanel = new JPanel(new GridBagLayout()); 131 | GridBagConstraints constraints = new GridBagConstraints(); 132 | Insets insets = new Insets(10,10,10,10); 133 | constraints.insets = insets; 134 | 135 | constraints.anchor = GridBagConstraints.WEST; 136 | constraints = new GridBagConstraints(0, 0, 1, 2, 1, 1, GridBagConstraints.CENTER, GridBagConstraints.BOTH, insets, 0, 0); 137 | newPanel.add(comment, constraints); 138 | comment.setFont(comment.getFont().deriveFont(Font.BOLD, comment.getFont().getSize())); 139 | 140 | constraints = new GridBagConstraints(0, 3, 1, 2, 0.5, 1, GridBagConstraints.CENTER, GridBagConstraints.BOTH, insets, 0, 0); 141 | newPanel.add(commentq, constraints); 142 | commentq.setFont(commentq.getFont().deriveFont(commentq.getFont().getSize()-1)); 143 | 144 | constraints = new GridBagConstraints(0, 5, 1, 1, 0.5, 1, GridBagConstraints.CENTER, GridBagConstraints.BOTH, insets, 0, 0); 145 | newPanel.add(comment2, constraints); 146 | comment2.setFont(comment2.getFont().deriveFont(comment2.getFont().getSize()-1)); 147 | 148 | constraints = new GridBagConstraints(0, 7, 1, 1, 0.5, 1, GridBagConstraints.CENTER, GridBagConstraints.BOTH, insets, 0, 0); 149 | newPanel.add(labelEnterdescription, constraints); 150 | constraints = new GridBagConstraints(1, 7, 1, 1, 0.5, 0.5, GridBagConstraints.CENTER, GridBagConstraints.BOTH, insets, 0, 0); 151 | newPanel.add(textDescription, constraints); 152 | 153 | constraints = new GridBagConstraints(0, 8, 1, 1, 0.5, 1, GridBagConstraints.CENTER, GridBagConstraints.BOTH, insets, 0, 0); 154 | newPanel.add( labelEnterDomain, constraints); 155 | constraints = new GridBagConstraints(1, 8, 1, 1, 0.5, 0.5, GridBagConstraints.CENTER, GridBagConstraints.BOTH, insets, 0, 0); 156 | newPanel.add(textdomain, constraints); 157 | 158 | constraints = new GridBagConstraints(0, 9, 1, 1, 0.5, 1, GridBagConstraints.CENTER, GridBagConstraints.BOTH, insets, 0, 0); 159 | newPanel.add(labelcqs, constraints); 160 | constraints = new GridBagConstraints(1, 9, 1, 1, 0.5, 0.5, GridBagConstraints.CENTER, GridBagConstraints.BOTH, insets, 0, 0); 161 | newPanel.add(textcqs, constraints); 162 | 163 | constraints = new GridBagConstraints(0, 10, 1, 1, 4, 1, GridBagConstraints.CENTER, GridBagConstraints.BOTH, insets, 0, 0); 164 | newPanel.add(textarea, constraints); 165 | textarea.setEditable(false); 166 | textarea.setFont(textarea.getFont().deriveFont(textarea.getFont().getSize())); 167 | 168 | constraints.anchor = GridBagConstraints.CENTER; 169 | constraints = new GridBagConstraints(0, 16, 1, 1, 1, 0.6, GridBagConstraints.CENTER, GridBagConstraints.CENTER, insets, 0, 0); 170 | newPanel.add(buttonLogin, constraints); 171 | buttonLogin.addActionListener(refreshAction); 172 | 173 | 174 | // set border for the panel 175 | newPanel.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(), "ODP Recommendation panel")); 176 | 177 | 178 | // add the panel to this frame 179 | add(newPanel); 180 | 181 | pack(); 182 | setLocationRelativeTo(null); 183 | } 184 | 185 | public List ODP() { 186 | Listls=new ArrayList(); 187 | //ls.addAll(ct1); 188 | Listls1=new ArrayList(); 189 | Listls2=new ArrayList(); 190 | 191 | 192 | 193 | String[] arr = new String[ls.size()]; 194 | for(int i=0;ict) { 229 | 230 | } 231 | public void result() { 232 | try { 233 | UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); 234 | } catch (Exception ex) { 235 | ex.printStackTrace(); 236 | } 237 | 238 | SwingUtilities.invokeLater(new Runnable() { 239 | @Override 240 | public void run() { 241 | new jpanel(ct2).setVisible(true); 242 | } 243 | }); 244 | } 245 | public static void main(String[] args) { 246 | // set look and feel to the system look and feel 247 | Listct=new ArrayList<>(); 248 | ct.add("Person"); 249 | 250 | String sts[]= {"Person","Professor"}; 251 | jpanel j=new jpanel(sts); 252 | j.result(); 253 | } 254 | } 255 | -------------------------------------------------------------------------------- /OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/view/naming_panel.java: -------------------------------------------------------------------------------- 1 | package edu.stanford.bmir.protege.examples.view; 2 | 3 | import java.awt.GridBagConstraints; 4 | import java.awt.GridBagLayout; 5 | import java.awt.Insets; 6 | import java.awt.event.ActionListener; 7 | import java.util.ArrayList; 8 | import java.util.List; 9 | 10 | import javax.swing.BorderFactory; 11 | import javax.swing.JButton; 12 | import javax.swing.JComboBox; 13 | import javax.swing.JFileChooser; 14 | import javax.swing.JFrame; 15 | import javax.swing.JLabel; 16 | import javax.swing.JPanel; 17 | import javax.swing.JTextArea; 18 | import javax.swing.JTextField; 19 | import javax.swing.SwingUtilities; 20 | import javax.swing.UIManager; 21 | 22 | public class naming_panel extends JFrame{ 23 | 24 | JFileChooser fileChooser = new JFileChooser(); 25 | private JLabel labelEnterdescription = new JLabel("Enter class name for which you want to get recommendation"); 26 | 27 | 28 | 29 | private JTextField textDescription = new JTextField(20); 30 | 31 | private JTextArea textarea= new JTextArea(""); 32 | private JComboBox c1; 33 | 34 | 35 | //private JPasswordField fieldPassword = new JPasswordField(20); 36 | private JButton buttonLogin = new JButton("NamingRecommendation"); 37 | private JButton buttoncontinue = new JButton("Want more recommendation?"); 38 | private JButton close = new JButton("Close the panel"); 39 | private ActionListener refreshAction = e ->vocab(); 40 | private ActionListener refreshAction1 = e ->continues(); 41 | 42 | public naming_panel() { 43 | super("Naming Convention Recommendation Panel"); 44 | 45 | // create a new panel with GridBagLayout manager 46 | JPanel newPanel = new JPanel(new GridBagLayout()); 47 | 48 | GridBagConstraints constraints = new GridBagConstraints(); 49 | constraints.anchor = GridBagConstraints.WEST; 50 | constraints.insets = new Insets(25, 25, 25, 25); 51 | 52 | // add components to the panel 53 | constraints.gridx = 0; 54 | constraints.gridy = 0; 55 | newPanel.add(labelEnterdescription, constraints); 56 | constraints.gridx = 1; 57 | newPanel.add(textDescription, constraints); 58 | constraints.gridx = 0; 59 | constraints.gridy = 2; 60 | newPanel.add(textarea, constraints); 61 | textarea.setEditable(false); 62 | textarea.setSize(150, 400); 63 | 64 | constraints.gridx = 0; 65 | constraints.gridy = 7; 66 | constraints.gridwidth = 1; 67 | constraints.anchor = GridBagConstraints.CENTER; 68 | newPanel.add(buttonLogin, constraints); 69 | buttonLogin.addActionListener(refreshAction); 70 | 71 | constraints.gridx = 0; 72 | constraints.gridy = 9; 73 | constraints.gridwidth = 1; 74 | constraints.anchor = GridBagConstraints.CENTER; 75 | newPanel.add(buttoncontinue, constraints); 76 | buttoncontinue.addActionListener(refreshAction1); 77 | // set border for the panel 78 | newPanel.setBorder(BorderFactory.createTitledBorder( 79 | BorderFactory.createEtchedBorder(), "Naming convention Recommendation Panel")); 80 | // newPanel.setSize(1500,1500); 81 | // newPanel.setMinimumSize(new Dimension(500, 200)); 82 | // add the panel to this frame 83 | add(newPanel); 84 | 85 | 86 | 87 | pack(); 88 | setLocationRelativeTo(null); 89 | 90 | } 91 | 92 | public List vocab() { 93 | //odpdescription o=new odpdescription(); 94 | Listls=new ArrayList(); 95 | String s; 96 | String S1=textDescription.getText(); 97 | naming_conventions v =new naming_conventions(); 98 | 99 | ls.addAll(v.recomproperties(S1)); 100 | 101 | 102 | System.out.println("Ls is"+ls); 103 | for(int i =0;i recomproperties(String classname) { 90 | Listls=new ArrayList(); 91 | String EMPTY = ""; 92 | String splChrs = "-/@#$%^&_+=()" ; 93 | boolean found = classname.matches("[" + splChrs + "]+"); 94 | if(found) { 95 | 96 | ls.add("Classname only contains Special characters Please change."); 97 | return ls; 98 | } 99 | else if(classname.matches("[0-9]+") && classname.length() > 2) { 100 | System.out.println(""); 101 | ls.add("Classname only contains digits Please change."); 102 | return ls; 103 | // classname=""; 104 | } 105 | else { 106 | naming_conventions s=new naming_conventions(); 107 | 108 | //System.out.println(classname); 109 | String y1; 110 | 111 | 112 | // System.out.println(x1); 113 | 114 | String x=s.convertproperties(classname); 115 | String x1=s.remove_spaceproperties(x); 116 | String y=s.isStringOnlyAlphabet(x1); 117 | 118 | ls.add(y); 119 | //System.out.println(y+"size"+y.length()); 120 | y1=y+"_"; 121 | ls.add(y1); 122 | //System.out.println(ls.size()); 123 | 124 | return ls; 125 | //System.out.println(y); 126 | 127 | 128 | } 129 | } 130 | public String remove_spaceproperties(String classname) { 131 | classname=classname.replaceAll("\\p{Punct}",""); 132 | char[] charArray = classname.toCharArray(); 133 | 134 | String stringWithoutSpaces = ""; 135 | 136 | for (int i = 0; i < charArray.length; i++) 137 | { 138 | if ( (charArray[i] != ' ') && (charArray[i] != '\t') ) 139 | { 140 | stringWithoutSpaces = stringWithoutSpaces + charArray[i]; 141 | } 142 | } 143 | return stringWithoutSpaces; 144 | } 145 | 146 | boolean check(String classname) { 147 | 148 | boolean f=false; 149 | int count=0; 150 | if (classname == null) { 151 | return false; 152 | } 153 | int len = classname.length(); 154 | for (int i = 0; i < len; i++) { 155 | 156 | if ((Character.isDigit(classname.charAt(i)) == false) && (classname.charAt(i) != ' ')) { 157 | count++; 158 | 159 | } 160 | } 161 | if(count==1) { 162 | return true; 163 | } 164 | else { 165 | return false; 166 | } 167 | 168 | 169 | 170 | } 171 | 172 | 173 | boolean checkproperties(String classname) { 174 | 175 | boolean f=false; 176 | int count=0; 177 | if (classname == null) { 178 | return false; 179 | } 180 | int len = classname.length(); 181 | for (int i = 0; i < len; i++) { 182 | 183 | if ((Character.isDigit(classname.charAt(i)) == false) && (classname.charAt(i) != ' ')) { 184 | count++; 185 | 186 | } 187 | } 188 | if(count==1) { 189 | return true; 190 | } 191 | else { 192 | return false; 193 | } 194 | 195 | } 196 | public static void main(String args[]) { 197 | namingconventionprop s=new namingconventionprop(); 198 | Listls=new ArrayList(); 199 | Listls1=new ArrayList(); 200 | 201 | 202 | ls1.addAll(s.recomproperties("Person?&@!_under")); 203 | System.out.println(ls.size()); 204 | System.out.println(ls1.size()); 205 | /* 206 | ls.addAll(s.recom("Person news")); 207 | ls.addAll(s.recom("@#%")); 208 | ls.addAll(s.recom("1234")); 209 | ls.addAll(s.recom("1234_")); 210 | ls.addAll(s.recom("1234_Person")); 211 | ls.addAll(s.recom("1234 Person")); 212 | ls.addAll(s.recom("Person_news")); 213 | */ 214 | for(int i=0;i arr; 10 | List arr1; 11 | List IRI; 12 | Listls5; 13 | Listls; 14 | public odpdescription() { 15 | 16 | 17 | 18 | IRI=new ArrayList(); 19 | arr=new ArrayList(); 20 | arr1=new ArrayList(); 21 | 22 | ls5=new ArrayList(); 23 | ls=new ArrayList(); 24 | 25 | 26 | } 27 | 28 | public List readFileUri() { 29 | String fileName="/odpuri.txt"; 30 | try { 31 | int count=0; 32 | 33 | BufferedReader br = new BufferedReader(new InputStreamReader( 34 | this.getClass().getResourceAsStream( fileName), "UTF-8")); 35 | 36 | String line = null; 37 | 38 | while ((line = br.readLine()) != null) { 39 | count++; 40 | IRI.add(line); 41 | 42 | } 43 | return IRI; 44 | } catch (UnsupportedEncodingException e) { 45 | e.printStackTrace(); 46 | return IRI; 47 | } catch (IOException e) { 48 | e.printStackTrace(); 49 | return IRI; 50 | } 51 | } 52 | public List readFiledescription() { 53 | String fileName="/odpdescription.txt"; 54 | try { 55 | int count=0; 56 | 57 | BufferedReader br = new BufferedReader(new InputStreamReader( 58 | this.getClass().getResourceAsStream( fileName), "UTF-8")); 59 | 60 | String line = null; 61 | 62 | while ((line = br.readLine()) != null) { 63 | count++; 64 | arr.add(line); 65 | 66 | } 67 | return arr; 68 | } catch (UnsupportedEncodingException e) { 69 | e.printStackTrace(); 70 | return arr; 71 | } catch (IOException e) { 72 | e.printStackTrace(); 73 | return arr; 74 | } 75 | } 76 | 77 | public List readFileNames() { 78 | String fileName="/odpnames.txt"; 79 | try { 80 | int count=0; 81 | 82 | BufferedReader br = new BufferedReader(new InputStreamReader( 83 | this.getClass().getResourceAsStream( fileName), "UTF-8")); 84 | 85 | String line = null; 86 | 87 | while ((line = br.readLine()) != null) { 88 | count++; 89 | arr1.add(line); 90 | 91 | } 92 | return arr1; 93 | } catch (UnsupportedEncodingException e) { 94 | e.printStackTrace(); 95 | return arr1; 96 | } catch (IOException e) { 97 | e.printStackTrace(); 98 | return arr1; 99 | } 100 | } 101 | 102 | public List findsimilarity(String st,String sts[]) { 103 | odpelements e=new odpelements(); 104 | odpdescription v=new odpdescription(); 105 | IRI=v.readFileUri(); 106 | arr=v.readFiledescription(); 107 | arr1=v.readFileNames(); 108 | Listls1=new ArrayList(); 109 | Listls2=new ArrayList(); 110 | Listls3=new ArrayList(); 111 | Listls4=new ArrayList(); 112 | 113 | ls3.addAll(e.findsimilarity(sts)); 114 | StringEqualityPercentCheckUsingJaroWinklerDistance c=new StringEqualityPercentCheckUsingJaroWinklerDistance(); 115 | for(int i=0;i<147;i++) { 116 | double d=c.similarity(st, arr.get(i)); 117 | ls.add(d); 118 | ls1.add(arr1.get(i)); 119 | ls5.add(IRI.get(i)); 120 | 121 | } 122 | for(int i=0;i findsimilarity1(String st,String sts[]){ 149 | odpdescription d=new odpdescription(); 150 | 151 | System.out.println(ls5.size()); 152 | for (int i=0;i<7;i++) { 153 | System.out.println(ls5.get(i)); 154 | } 155 | return ls5; 156 | 157 | 158 | 159 | } 160 | public static void main(String args[]) { 161 | odpdescription d=new odpdescription(); 162 | Scanner sc=new Scanner(System.in); 163 | System.out.print("Enter description for ontology"); 164 | String st=sc.nextLine(); 165 | 166 | String sts[]= {"Person","Professor"}; 167 | d.findsimilarity(st, sts); 168 | 169 | } 170 | 171 | 172 | 173 | } -------------------------------------------------------------------------------- /OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/view/odpelements.java: -------------------------------------------------------------------------------- 1 | package edu.stanford.bmir.protege.examples.view; 2 | 3 | import java.io.BufferedReader; 4 | import java.io.IOException; 5 | import java.io.InputStreamReader; 6 | import java.io.UnsupportedEncodingException; 7 | import java.util.ArrayList; 8 | import java.util.Collections; 9 | import java.util.List; 10 | import java.util.Scanner; 11 | 12 | public class odpelements { 13 | 14 | List myList = new ArrayList(); 15 | Listname=new ArrayList(); 16 | 17 | odpelements(){ 18 | 19 | } 20 | 21 | public List readFileElements() { 22 | String fileName="/odpelements.txt"; 23 | try { 24 | int count=0; 25 | 26 | BufferedReader br = new BufferedReader(new InputStreamReader( 27 | this.getClass().getResourceAsStream( fileName), "UTF-8")); 28 | 29 | String line = null; 30 | 31 | while ((line = br.readLine()) != null) { 32 | count++; 33 | String arr[]=null; 34 | arr = line.split(","); 35 | myList.add(arr); 36 | 37 | } 38 | return myList; 39 | } catch (UnsupportedEncodingException e) { 40 | e.printStackTrace(); 41 | return myList; 42 | } catch (IOException e) { 43 | e.printStackTrace(); 44 | return myList; 45 | } 46 | } 47 | public List readFileNames() { 48 | String fileName="/odpnames.txt"; 49 | try { 50 | int count=0; 51 | 52 | BufferedReader br = new BufferedReader(new InputStreamReader( 53 | this.getClass().getResourceAsStream( fileName), "UTF-8")); 54 | 55 | String line = null; 56 | 57 | while ((line = br.readLine()) != null) { 58 | count++; 59 | name.add(line); 60 | 61 | } 62 | return name; 63 | } catch (UnsupportedEncodingException e) { 64 | e.printStackTrace(); 65 | return name; 66 | } catch (IOException e) { 67 | e.printStackTrace(); 68 | return name; 69 | } 70 | } 71 | 72 | public List findsimilarity(String st[]) { 73 | odpelements ele=new odpelements(); 74 | 75 | Listcounts=new ArrayList<>(); 76 | myList=ele.readFileElements(); 77 | //System.out.println(myList.size()); 78 | name=ele.readFileNames(); 79 | int count=0; 80 | int count1=0; 81 | Listls=new ArrayList(); 82 | Listls1=new ArrayList(); 83 | Listls2=new ArrayList(); 84 | StringEqualityPercentCheckUsingJaroWinklerDistance c=new StringEqualityPercentCheckUsingJaroWinklerDistance(); 85 | for(int i=0;i=0.85) { 97 | count=count+1; 98 | } 99 | } 100 | 101 | 102 | } 103 | 104 | } 105 | double e=(count)/((myList.get(i).length*st.length)); 106 | //System.out.println(myList.get(i)+" "+e); 107 | counts.add(e); 108 | 109 | } 110 | //System.out.println(name.length); 111 | for(int i=0;i indexretrieval(String st) { 125 | 126 | List index=new ArrayList(); 127 | try { 128 | InvertedIndex idx = new InvertedIndex(); 129 | 130 | index=idx.search(st); 131 | return index; 132 | 133 | } catch (Exception e) { 134 | e.printStackTrace(); 135 | } 136 | return index; 137 | 138 | } 139 | 140 | 141 | 142 | 143 | 144 | public static void main(String args[]) { 145 | odpelements d=new odpelements(); 146 | Scanner sc=new Scanner(System.in); 147 | //System.out.print("Enter description for ontology"); 148 | 149 | String st[]= {"Fishery","AquaticSpecies"}; 150 | d.findsimilarity(st); 151 | 152 | 153 | } 154 | } 155 | -------------------------------------------------------------------------------- /OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/view/retrieval.java: -------------------------------------------------------------------------------- 1 | package edu.stanford.bmir.protege.examples.view; 2 | 3 | import java.io.*; 4 | import java.net.URL; 5 | import java.nio.file.Files; 6 | 7 | import java.util.*; 8 | 9 | 10 | public class retrieval { 11 | 12 | 13 | 14 | public void re(String a,String folder) { 15 | String s; 16 | 17 | Set hash_Set = new HashSet(); 18 | Set al = new HashSet(); 19 | //System.out.println(jw.similarity("My string", "My ntrisg")); 20 | try{ 21 | // Open the file that is the first 22 | // command line parameter 23 | File file=new File(folder); 24 | File [] files = file.listFiles(); 25 | for (int i = 0; i < files.length; i++){ 26 | // if (files[i].isFile()){ //this line weeds out other directories/folders 27 | // System.out.println(files[i]); 28 | 29 | File fstream = new File(files[i].toString()); 30 | Scanner in = null; 31 | // Get the object of DataInputStream 32 | 33 | in = new Scanner(fstream); 34 | int linecount=0; 35 | 36 | 37 | while(in.hasNext()) 38 | 39 | { 40 | String line=in.nextLine(); 41 | if(line.contains(a)){ 42 | //System.out.println(files[i]); 43 | al.add(files[i].toString()); 44 | hash_Set.add(line); 45 | 46 | 47 | 48 | //System.out.println(line); 49 | 50 | } 51 | }in.close();} 52 | //boolean isFound = strLine.indexOf(a) !=-1? true: false; 53 | // boolean isFound1 = strLine.indexOf(b) !=-1? true: false; 54 | /* if(isFound && isFound1) { 55 | System.out.println (strLine); 56 | } 57 | else { 58 | // System.out.println("No recommendation"); 59 | }*/ 60 | 61 | //Close the input stream 62 | // in.close(); 63 | 64 | Iterator i1 = al.iterator(); 65 | while (i1.hasNext()) 66 | System.out.println(i1.next()); 67 | 68 | 69 | Iterator i = hash_Set.iterator(); 70 | int count=0; 71 | while (i.hasNext()) { 72 | count++; 73 | if(count==1) { 74 | System.out.println(i.next()); 75 | } 76 | } 77 | }catch (Exception e){//Catch exception if any 78 | e.printStackTrace(); 79 | } 80 | 81 | 82 | 83 | 84 | 85 | } 86 | 87 | public List match(String name) { 88 | //System.out.println(filename+name); 89 | AxiomTriples a=new AxiomTriples(); 90 | Listaxioms=new ArrayList(); 91 | axioms.addAll(a.axioms()); 92 | List hash_Set = new ArrayList(); 93 | Listdd=new ArrayList<>(); 94 | int count=0; 95 | StringEqualityPercentCheckUsingJaroWinklerDistance c=new StringEqualityPercentCheckUsingJaroWinklerDistance(); 96 | try { 97 | 98 | //System.out.println(filename+name); 99 | 100 | for(int i=0;i=0.95&&count<8) { 111 | 112 | hash_Set.add(axioms.get(i)); 113 | count++; 114 | 115 | 116 | } 117 | 118 | 119 | 120 | 121 | 122 | 123 | } 124 | } 125 | 126 | return hash_Set; 127 | 128 | }catch(Exception e) { 129 | return null; 130 | } 131 | } 132 | 133 | public Listfiltering(String s1){ 134 | Lists=new ArrayList<>(); 135 | Lists11=new ArrayList<>(); 136 | Lists12=new ArrayList<>(); 137 | s.addAll(match(s1)); 138 | for(int i=0;ils=new ArrayList<>(); 156 | String s[]= {"Person","Book"}; 157 | retrieval r=new retrieval(); 158 | for(int i=0;idesc; 13 | List myList; 14 | Listvocabnames; 15 | Listuri; 16 | 17 | Listls2; 18 | Listls3; 19 | Listls4; 20 | 21 | 22 | public vocabelements() { 23 | desc=new ArrayList(); 24 | ls4=new ArrayList(); 25 | ls3=new ArrayList(); 26 | ls2=new ArrayList(); 27 | myList = new ArrayList(); 28 | vocabnames=new ArrayList(); 29 | uri=new ArrayList(); 30 | 31 | 32 | } 33 | 34 | 35 | public List readFileVocab() { 36 | String fileName="/vocabnames.txt"; 37 | try { 38 | int count=0; 39 | 40 | BufferedReader br = new BufferedReader(new InputStreamReader( 41 | this.getClass().getResourceAsStream( fileName), "UTF-8")); 42 | 43 | String line = null; 44 | 45 | while ((line = br.readLine()) != null) { 46 | count++; 47 | vocabnames.add(line) ; 48 | } 49 | return vocabnames; 50 | } catch (UnsupportedEncodingException e) { 51 | e.printStackTrace(); 52 | return vocabnames; 53 | } catch (IOException e) { 54 | e.printStackTrace(); 55 | return vocabnames; 56 | } 57 | } 58 | 59 | 60 | public List readFileUri() { 61 | String fileName="/urii.txt"; 62 | try { 63 | int count=0; 64 | 65 | BufferedReader br = new BufferedReader(new InputStreamReader( 66 | this.getClass().getResourceAsStream( fileName), "UTF-8")); 67 | 68 | String line = null; 69 | 70 | while ((line = br.readLine()) != null) { 71 | count++; 72 | uri.add(line); 73 | 74 | } 75 | return uri; 76 | } catch (UnsupportedEncodingException e) { 77 | e.printStackTrace(); 78 | return uri; 79 | } catch (IOException e) { 80 | e.printStackTrace(); 81 | return uri; 82 | } 83 | } 84 | 85 | public List readFileDescription() { 86 | String fileName="/vocabdescription.txt"; 87 | try { 88 | int count=0; 89 | 90 | BufferedReader br = new BufferedReader(new InputStreamReader( 91 | this.getClass().getResourceAsStream( fileName), "UTF-8")); 92 | 93 | String line = null; 94 | 95 | while ((line = br.readLine()) != null) { 96 | count++; 97 | desc.add(line); 98 | 99 | } 100 | return desc; 101 | } catch (UnsupportedEncodingException e) { 102 | e.printStackTrace(); 103 | return desc; 104 | } catch (IOException e) { 105 | e.printStackTrace(); 106 | return desc; 107 | } 108 | } 109 | 110 | public List readFileElements() { 111 | String fileName="/vocabelements.txt"; 112 | try { 113 | int count=0; 114 | 115 | BufferedReader br = new BufferedReader(new InputStreamReader( 116 | this.getClass().getResourceAsStream( fileName), "UTF-8")); 117 | 118 | String line = null; 119 | 120 | while ((line = br.readLine()) != null) { 121 | count++; 122 | String arr[]=null; 123 | arr = line.split(","); 124 | myList.add(arr); 125 | 126 | } 127 | return myList; 128 | } catch (UnsupportedEncodingException e) { 129 | e.printStackTrace(); 130 | return myList; 131 | } catch (IOException e) { 132 | e.printStackTrace(); 133 | return myList; 134 | } 135 | } 136 | 137 | 138 | 139 | 140 | public List findsimilarity(String st) { 141 | vocabelements v=new vocabelements(); 142 | Listcounts=new ArrayList<>(); 143 | int count=0; 144 | int count1=0; 145 | Listls=new ArrayList(); 146 | Listls1=new ArrayList(); 147 | vocabnames=v.readFileVocab(); 148 | uri=v.readFileUri(); 149 | desc=v.readFileDescription(); 150 | myList=v.readFileElements(); 151 | StringEqualityPercentCheckUsingJaroWinklerDistance c=new StringEqualityPercentCheckUsingJaroWinklerDistance(); 152 | for(int i=0;i=0.75) { 164 | count=count+1; 165 | } 166 | } 167 | 168 | 169 | } 170 | 171 | 172 | double e=(count); 173 | counts.add(e); 174 | 175 | 176 | } 177 | 178 | 179 | 180 | 181 | for(int i=0;i=1) { 183 | int l=i; 184 | System.out.println(i); 185 | ls2.add(" "+vocabnames.get(l)); 186 | ls3.add("Description: "+desc.get(l)); 187 | ls4.add("IRI: "+uri.get(l)); 188 | } 189 | 190 | else { 191 | continue; 192 | } 193 | 194 | 195 | } 196 | 197 | 198 | for(int i=0;i indexretrieval(String st) { 210 | 211 | List index=new ArrayList(); 212 | try { 213 | InvertedIndex idx = new InvertedIndex(); 214 | 215 | index=idx.search(st); 216 | return index; 217 | 218 | } catch (Exception e) { 219 | e.printStackTrace(); 220 | } 221 | return index; 222 | 223 | } 224 | 225 | 226 | public List description(String st){ 227 | for(int i=0;i URI(String st){ 234 | for(int i=0;i 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 15 | 16 | 17 | 23 | 24 | 25 | 26 | 27 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | -------------------------------------------------------------------------------- /OntoSeer/src/main/resources/urii.txt: -------------------------------------------------------------------------------- 1 | http://purl.org/vocab/vann/ 2 | http://xmlns.com/foaf/spec/ 3 | https://www.dublincore.org/specifications/dublin-core/dcmi-terms/ 4 | https://comicmeta.org/cbo/ 5 | http://data.ign.fr/def/geometrie/20190212.html 6 | https://www.w3.org/2002/07/owl 7 | https://www.w3.org/2019/wot/json-schema# 8 | https://www.w3.org/2000/01/rdf-schema# 9 | https://data.vlaanderen.be/ns/persoon 10 | https://vocab.org/aiiso/schema 11 | https://www.bbc.co.uk/ontologies/sport 12 | https://privatealpha.com/ontology/certification/1# 13 | http://www.data-knowledge.org/dk/1.2/index-en.html 14 | http://data.ordnancesurvey.co.uk/ontology/50kGazetteer/ 15 | https://mathib.github.io/cto-ontology/ 16 | https://saref.etsi.org/saref4agri/v1.1.2/ 17 | http://linkeddata.finki.ukim.mk/lod/ontology/veo# 18 | https://ec.europa.eu/esco/resources/data/static/model/html/model.xhtml 19 | http://i40.semantic-interoperability.org/automationml/Documentation/index.html 20 | http://purl.org/vso/ns (RDF/XML, HTML) 21 | https://dbpedia.org/ontology/ 22 | https://id.loc.gov/ontologies/bibframe.html 23 | http://linked.earth/ontology/# 24 | http://cedric.cnam.fr/isid/ontologies/PersonLink.owl# 25 | https://bimerr.iot.linkeddata.es/def/occupancy-profile/# 26 | https://d-nb.info/standards/elementset/agrelon 27 | http://rdfs.co/bevon/latest/html 28 | https://vocab.org/whisky/terms -------------------------------------------------------------------------------- /OntoSeer/src/main/resources/viewconfig-exampletab.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /OntoSeer/src/main/resources/viewconfig-exampletab2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /OntoSeer/src/main/resources/vocabdescription.txt: -------------------------------------------------------------------------------- 1 | This document describes a vocabulary for annotating descriptions of vocabularies with examples and usage notes 2 | FOAF is a project devoted to linking people and information using the Web 3 | This document describes a vocabulary for annotating descriptions of vocabularies with examples and usage notes 4 | The Comic Book Ontology is a metadata vocabulary for describing comic books and comic book collections. 5 | Ontology of geometric primitives representing the shape and location of topographic features. 6 | This vocabulary provides a stable namespace IRI for JSON schema keywords, as well as simple axioms, defined against schema.org's meta-model 7 | This vocabulary provides a stable namespace IRI for JSON schema keywords, as well as simple axioms, defined against schema.org's meta-model 8 | SKOS Core is a model and an RDF vocabulary for expressing the basic structure and content of concept schemes such as thesauri, classification schemes, subject heading lists, taxonomies, 'folksonomies', other types of controlled vocabulary, and also concept schemes embedded in glossaries and terminologies 9 | Person focuses on describing a natural person, ie a physical person and not an organization. 10 | The Academic Institution Internal Structure Ontology (AIISO) provides classes and properties to describe the internal organizational structure of an academic institution 11 | The Sport Ontology is a simple lightweight ontology for publishing data about competitive sports events. 12 | This document specifies a vocabulary for asserting the existence of official endorsements or certifications of agents, such as people and organizations. 13 | The Data Knowledge Vocabulary allows for a comprehensive description of data assets and enterprise data management 14 | An ontology describing the 50K Gazetteer. 15 | 16 | The livestock farming and smart irrigation use cases used as basis to create SAREF4AGRI in the present document are concerned with the integration of multiple data sources for the purpose of providing decision support services located on the local \"Farm Management System\" of the farmers or provided by a service over the network. 17 | An ontology for describing vehicles and their emissions 18 | The ontology of the taxonomy \"European Skills, Competences, qualifications and Occupations. 19 | An Ontology to represents the AutomationML Standard with focus on CAEX - IEC 62424. 20 | The Vehicle Sales Ontology is a Web vocabulary for describings cars, boats, bikes, and other vehicles for e-commerce. 21 | This ontology is generated from the manually created specifications in the DBpedia Mappings Wiki 22 | 23 | Here you can find a pointer to the main concepts and ontologies in the Linked Earth specification. 24 | A Multilingual and Multicultural Ontology Representing Family Relationships 25 | The Occupancy Profile ontology has been developed to represent and define occupancy profiles in building spaces. 26 | The ontology of agent relationships (AgRelOn) defines relations of persons to other persons and to organisations, since agents (persons, organisations) and their interconnections are important in the cultural heritage domain. 27 | Beverage Ontology is a Web vocabulary for describing beverages, mainly alcoholic. 28 | Here you can find a pointer to the main concepts and ontologies in the Linked Earth specification. -------------------------------------------------------------------------------- /OntoSeer/src/main/resources/vocabnames.txt: -------------------------------------------------------------------------------- 1 | vann 2 | foaf 3 | dublincore 4 | comicbookontology 5 | geometrie 6 | owl-schema 7 | json-schema 8 | rdf-schema 9 | Persoon 10 | AIISO 11 | Sport Ontology 12 | An Agent Certification Ontology 13 | The Data Knowledge Vocabulary 14 | 50k Gazetteer 15 | CTO: Construction Tasks Ontology 16 | SAREF4AGRI 17 | Vehicle Emissions Ontology 18 | The ESCO ontology 19 | AutomationML Ontology 20 | Vehicle Sales Ontology 21 | DBpedia 22 | BIBFRAME 23 | Linked Earth landing 24 | Cedric-cnam 25 | Occupancy Profile ontology 26 | AGRELON, AN AGENT RELATIONSHIP ONTOLOGY 27 | BEVON: Beverage Ontology 28 | Whisky 29 | -------------------------------------------------------------------------------- /OntoSeer/target/classes/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bnd-LastModified: 1686903435427 3 | Build-Jdk: 1.8.0_292 4 | Built-By: pramit67 5 | Bundle-Activator: org.protege.editor.owl.ProtegeOWL 6 | Bundle-Description: Example plug-ins for the Protege Desktop ontology ed 7 | itor, e.g., views, menu items, etc. 8 | Bundle-ManifestVersion: 2 9 | Bundle-Name: OntoSeer 10 | Bundle-SymbolicName: protege.plugin.examples;singleton:=true 11 | Bundle-Vendor: The Protege Development Team 12 | Bundle-Version: 2.0.0.SNAPSHOT 13 | Created-By: Apache Maven Bundle Plugin 14 | Embed-Dependency: json;scope=compile;inline=true 15 | Export-Package: edu.stanford.bmir.protege.examples.tab;uses:="org.proteg 16 | e.editor.owl.ui";version="2.0.0",edu.stanford.bmir.protege.examples.vie 17 | w;uses:="javax.swing,org.protege.editor.owl.model,org.protege.editor.ow 18 | l.ui.view";version="2.0.0",edu.stanford.bmir.protege.examples.menu;uses 19 | :="org.protege.editor.owl.ui.action";version="2.0.0" 20 | Import-Package: javax.swing,javax.swing.border,org.protege.editor.owl;ve 21 | rsion="[5.0,6)",org.protege.editor.owl.model;version="[5.0,6)",org.prot 22 | ege.editor.owl.model.event;version="[5.0,6)",org.protege.editor.owl.mod 23 | el.selection;version="[5.0,6)",org.protege.editor.owl.ui;version="[5.0, 24 | 6)",org.protege.editor.owl.ui.action;version="[5.0,6)",org.protege.edit 25 | or.owl.ui.view;version="[5.0,6)",org.semanticweb.owlapi.model;version=" 26 | [4.2,5)",org.slf4j;version="[1.7,2)" 27 | Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.8))" 28 | Tool: Bnd-3.0.0.201509101326 29 | -------------------------------------------------------------------------------- /OntoSeer/target/classes/config.properties: -------------------------------------------------------------------------------- 1 | filename='/OntoSeer/src/main/resources/Axiomtriples.txt' -------------------------------------------------------------------------------- /OntoSeer/target/classes/edu/stanford/bmir/protege/examples/menu/ToolsMenu1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/OntoSeer/target/classes/edu/stanford/bmir/protege/examples/menu/ToolsMenu1.class -------------------------------------------------------------------------------- /OntoSeer/target/classes/edu/stanford/bmir/protege/examples/menu/ToolsMenu2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/OntoSeer/target/classes/edu/stanford/bmir/protege/examples/menu/ToolsMenu2.class -------------------------------------------------------------------------------- /OntoSeer/target/classes/edu/stanford/bmir/protege/examples/menu/ToolsMenu3.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/OntoSeer/target/classes/edu/stanford/bmir/protege/examples/menu/ToolsMenu3.class -------------------------------------------------------------------------------- /OntoSeer/target/classes/edu/stanford/bmir/protege/examples/menu/UnderSubMenu.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/OntoSeer/target/classes/edu/stanford/bmir/protege/examples/menu/UnderSubMenu.class -------------------------------------------------------------------------------- /OntoSeer/target/classes/edu/stanford/bmir/protege/examples/tab/ExampleWorkspaceTab2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/OntoSeer/target/classes/edu/stanford/bmir/protege/examples/tab/ExampleWorkspaceTab2.class -------------------------------------------------------------------------------- /OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/AxiomTriples.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/AxiomTriples.class -------------------------------------------------------------------------------- /OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/Axiomrecommendationfilechooser$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/Axiomrecommendationfilechooser$1.class -------------------------------------------------------------------------------- /OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/Axiomrecommendationfilechooser.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/Axiomrecommendationfilechooser.class -------------------------------------------------------------------------------- /OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/ExampleViewComponent.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/ExampleViewComponent.class -------------------------------------------------------------------------------- /OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/InvertedIndex$Tuple.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/InvertedIndex$Tuple.class -------------------------------------------------------------------------------- /OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/InvertedIndex.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/InvertedIndex.class -------------------------------------------------------------------------------- /OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/Metrics.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/Metrics.class -------------------------------------------------------------------------------- /OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/Metrics1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/Metrics1.class -------------------------------------------------------------------------------- /OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/Metrics2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/Metrics2.class -------------------------------------------------------------------------------- /OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/Metrics3.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/Metrics3.class -------------------------------------------------------------------------------- /OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/StringEqualityPercentCheckUsingJaroWinklerDistance.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/StringEqualityPercentCheckUsingJaroWinklerDistance.class -------------------------------------------------------------------------------- /OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/chatbotpanel$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/chatbotpanel$1.class -------------------------------------------------------------------------------- /OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/chatbotpanel.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/chatbotpanel.class -------------------------------------------------------------------------------- /OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/indices.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/indices.class -------------------------------------------------------------------------------- /OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/jpanel$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/jpanel$1.class -------------------------------------------------------------------------------- /OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/jpanel.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/jpanel.class -------------------------------------------------------------------------------- /OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/naming_conventions.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/naming_conventions.class -------------------------------------------------------------------------------- /OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/naming_panel$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/naming_panel$1.class -------------------------------------------------------------------------------- /OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/naming_panel.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/naming_panel.class -------------------------------------------------------------------------------- /OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/namingconventionprop.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/namingconventionprop.class -------------------------------------------------------------------------------- /OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/odpdescription.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/odpdescription.class -------------------------------------------------------------------------------- /OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/odpelements.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/odpelements.class -------------------------------------------------------------------------------- /OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/retrieval.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/retrieval.class -------------------------------------------------------------------------------- /OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/vocabelements.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/OntoSeer/target/classes/edu/stanford/bmir/protege/examples/view/vocabelements.class -------------------------------------------------------------------------------- /OntoSeer/target/classes/plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 15 | 16 | 17 | 23 | 24 | 25 | 26 | 27 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | -------------------------------------------------------------------------------- /OntoSeer/target/classes/viewconfig-exampletab.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /OntoSeer/target/classes/viewconfig-exampletab2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /OntoSeer/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst: -------------------------------------------------------------------------------- 1 | edu/stanford/bmir/protege/examples/view/odpelements.class 2 | edu/stanford/bmir/protege/examples/view/namingconventionprop.class 3 | edu/stanford/bmir/protege/examples/view/InvertedIndex.class 4 | edu/stanford/bmir/protege/examples/view/retrieval.class 5 | edu/stanford/bmir/protege/examples/view/naming_panel.class 6 | edu/stanford/bmir/protege/examples/view/Metrics1.class 7 | edu/stanford/bmir/protege/examples/view/Axiomrecommendationfilechooser$1.class 8 | edu/stanford/bmir/protege/examples/view/AxiomTriples.class 9 | edu/stanford/bmir/protege/examples/view/jpanel$1.class 10 | edu/stanford/bmir/protege/examples/view/vocabelements.class 11 | edu/stanford/bmir/protege/examples/view/chatbotpanel.class 12 | edu/stanford/bmir/protege/examples/view/StringEqualityPercentCheckUsingJaroWinklerDistance.class 13 | edu/stanford/bmir/protege/examples/menu/ToolsMenu1.class 14 | edu/stanford/bmir/protege/examples/view/naming_conventions.class 15 | edu/stanford/bmir/protege/examples/view/jpanel.class 16 | edu/stanford/bmir/protege/examples/view/Axiomrecommendationfilechooser.class 17 | edu/stanford/bmir/protege/examples/view/Metrics.class 18 | edu/stanford/bmir/protege/examples/view/Metrics2.class 19 | edu/stanford/bmir/protege/examples/view/odpdescription.class 20 | edu/stanford/bmir/protege/examples/tab/ExampleWorkspaceTab2.class 21 | edu/stanford/bmir/protege/examples/view/naming_panel$1.class 22 | edu/stanford/bmir/protege/examples/view/ReadResourceFile.class 23 | edu/stanford/bmir/protege/examples/menu/ToolsMenu3.class 24 | edu/stanford/bmir/protege/examples/view/ExampleViewComponent.class 25 | edu/stanford/bmir/protege/examples/menu/UnderSubMenu.class 26 | edu/stanford/bmir/protege/examples/view/chatbotpanel$1.class 27 | edu/stanford/bmir/protege/examples/menu/ToolsMenu2.class 28 | edu/stanford/bmir/protege/examples/view/Metrics3.class 29 | edu/stanford/bmir/protege/examples/view/InvertedIndex$Tuple.class 30 | edu/stanford/bmir/protege/examples/view/indices.class 31 | -------------------------------------------------------------------------------- /OntoSeer/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst: -------------------------------------------------------------------------------- 1 | /home/pramit67/Documents/ontoseer/OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/view/Axiomrecommendationfilechooser.java 2 | /home/pramit67/Documents/ontoseer/OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/menu/ToolsMenu2.java 3 | /home/pramit67/Documents/ontoseer/OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/tab/ExampleWorkspaceTab2.java 4 | /home/pramit67/Documents/ontoseer/OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/view/ReadResourceFile.java 5 | /home/pramit67/Documents/ontoseer/OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/view/Metrics1.java 6 | /home/pramit67/Documents/ontoseer/OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/view/AxiomTriples.java 7 | /home/pramit67/Documents/ontoseer/OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/menu/UnderSubMenu.java 8 | /home/pramit67/Documents/ontoseer/OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/view/Metrics2.java 9 | /home/pramit67/Documents/ontoseer/OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/view/StringEqualityPercentCheckUsingJaroWinklerDistance.java 10 | /home/pramit67/Documents/ontoseer/OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/view/chatbotpanel.java 11 | /home/pramit67/Documents/ontoseer/OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/view/vocabelements.java 12 | /home/pramit67/Documents/ontoseer/OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/menu/ToolsMenu3.java 13 | /home/pramit67/Documents/ontoseer/OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/view/retrieval.java 14 | /home/pramit67/Documents/ontoseer/OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/menu/ToolsMenu1.java 15 | /home/pramit67/Documents/ontoseer/OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/view/ExampleViewComponent.java 16 | /home/pramit67/Documents/ontoseer/OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/view/Metrics.java 17 | /home/pramit67/Documents/ontoseer/OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/view/Metrics3.java 18 | /home/pramit67/Documents/ontoseer/OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/view/odpdescription.java 19 | /home/pramit67/Documents/ontoseer/OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/view/odpelements.java 20 | /home/pramit67/Documents/ontoseer/OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/view/jpanel.java 21 | /home/pramit67/Documents/ontoseer/OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/view/naming_conventions.java 22 | /home/pramit67/Documents/ontoseer/OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/view/naming_panel.java 23 | /home/pramit67/Documents/ontoseer/OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/view/namingconventionprop.java 24 | /home/pramit67/Documents/ontoseer/OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/view/indices.java 25 | /home/pramit67/Documents/ontoseer/OntoSeer/src/main/java/edu/stanford/bmir/protege/examples/view/InvertedIndex.java 26 | -------------------------------------------------------------------------------- /OntoSeer_Manual.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/OntoSeer_Manual.pdf -------------------------------------------------------------------------------- /WordNet-3.0.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kracr/ontoseer/c248febbce39453fb33a827df110bc434cd88fdc/WordNet-3.0.zip --------------------------------------------------------------------------------