All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edu.stanford.protege.webprotege.index.ProjectAnnotationAssertionAxiomsBySubjectIndex Maven / Gradle / Ivy

The newest version!
package edu.stanford.protege.webprotege.index;

import edu.stanford.protege.webprotege.inject.ProjectSingleton;
import org.semanticweb.owlapi.model.OWLAnnotationAssertionAxiom;
import org.semanticweb.owlapi.model.OWLAnnotationSubject;

import javax.annotation.Nonnull;
import java.util.stream.Stream;

/**
 * Matthew Horridge
 * Stanford Center for Biomedical Informatics Research
 * 27/01/15
 */
@ProjectSingleton
public interface ProjectAnnotationAssertionAxiomsBySubjectIndex {

    /**
     * Gets the {@link OWLAnnotationAssertionAxiom}s that are contained in project
     * ontologies and have the specified subject.
     * @param subject The subject
     */
    @Nonnull
    Stream getAnnotationAssertionAxioms(@Nonnull OWLAnnotationSubject subject);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy