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

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

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

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

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

/**
 * Matthew Horridge
 * Stanford Center for Biomedical Informatics Research
 * 2020-08-13
 */
@ProjectSingleton
public interface AnnotationAssertionAxiomsByValueIndex extends Index {

    /**
     * Gets the annotation assertion axiomsSource by values, where the value is either an {@link IRI}
     * or an {@link OWLAnonymousIndividual} or an {@link OWLLiteral}.
     * @param value The value
     * @param ontologyId The ontology context.
     */
    @Nonnull
    Stream getAxiomsByValue(@Nonnull OWLAnnotationValue value,
                                                         @Nonnull OWLOntologyID ontologyId);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy