Skip to content

Commit 6d4bf45

Browse files
committed
further stop-terms
1 parent 0a87b01 commit 6d4bf45

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

src/ubic/basecode/ontology/search/IndexerSelector.java

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,13 @@ public IndexerSelector() {
6868
unwantedForIndexing.add( "http://www.ebi.ac.uk/efo/gwas_trait" );
6969
unwantedForIndexing.add( "http://www.ebi.ac.uk/efo/definition_editor" );
7070
unwantedForIndexing.add( "http://www.ebi.ac.uk/efo/example_of_usage" );
71-
unwantedForIndexing.add( "http://www.ebi.ac.uk/efo/creator" ); // possibly related to issue 108
71+
unwantedForIndexing.add( "http://www.ebi.ac.uk/efo/creator" );
72+
unwantedForIndexing.add( "http://www.ebi.ac.uk/efo/definition_citation" );
73+
unwantedForIndexing.add( "http://www.geneontology.org/formats/oboInOwl#created_by" );
74+
unwantedForIndexing.add( "http://purl.org/dc/elements/1.1/rights" );
75+
unwantedForIndexing.add( "http://purl.org/dc/terms/license" );
76+
unwantedForIndexing.add( "http://www.w3.org/2000/01/rdf-schema#comment" );
77+
unwantedForIndexing.add( "http://www.w3.org/2002/07/owl#versioninfo" );
7278
unwantedForIndexing.add( "http://www.geneontology.org/formats/oboInOwl#Definition" );
7379
unwantedForIndexing.add( "http://purl.obolibrary.org/obo/IAO_0000115" ); // 'definition' - too often has extra
7480
// junk.
@@ -95,7 +101,7 @@ public IndexerSelector() {
95101
unwantedForIndexing.add( "http://purl.obolibrary.org/obo/UBPROP_0000005" ); // external comment
96102
unwantedForIndexing.add( "http://purl.obolibrary.org/obo/UBPROP_0000011" ); // development notes
97103
unwantedForIndexing.add( "http://xmlns.com/foaf/0.1/depicted_by" ); // not sure how often this comes up as a problem, but it does for one case
98-
104+
99105
unwantedForIndexing.add( "http://purl.obolibrary.org/obo/CLO_0037275" ); // problematic cell line annotation as in "this is not a glioblastoma"
100106
}
101107

@@ -156,7 +162,7 @@ public boolean test( Statement s ) {
156162
if ( !retain && log.isDebugEnabled() ) {
157163
log.debug( "Removed: " + s );
158164
}
159-
165+
160166
return retain;
161167
}
162168
}

0 commit comments

Comments
 (0)