Skip to content

Commit 704c101

Browse files
committed
Add OBO alternativeLabel to indexed properties
1 parent 6147443 commit 704c101

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ public class IndexerSelector implements Selector {
4848
wantedForIndexing.add( OBO.hasBroadSynonym );
4949
wantedForIndexing.add( OBO.hasNarrowSynonym );
5050
wantedForIndexing.add( OBO.hasRelatedSynonym );
51+
wantedForIndexing.add( OBO.alternativeLabel );
5152
}
5253

5354
/*

src/ubic/basecode/ontology/jena/vocabulary/OBO.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ private static Property property( String name ) {
1919
public static final Property hasBroadSynonym = property( "hasBroadSynonm" );
2020
public static final Property hasNarrowSynonym = property( "hasNarrowSynonym" );
2121
public static final Property hasRelatedSynonym = property( "hasRelatedSynonym" );
22+
public static final Property alternativeLabel = ResourceFactory.createProperty( "http://purl.obolibrary.org/obo/IAO_0000118" );
2223
public static final Resource ObsoleteClass = ResourceFactory.createResource( "http://www.geneontology.org/formats/oboInOwl#ObsoleteClass" );
2324
public static final Property ObsoleteProperty = ResourceFactory.createProperty( "http://www.geneontology.org/formats/oboInOwl#ObsoleteProperty" );
2425
}

0 commit comments

Comments
 (0)