Class AnnotationPropertySet


  • public class AnnotationPropertySet
    extends Object
    This class defines the relevant annotation properties as given on the BioPortal mailing list from Michael Dorf:
    We first determine whether the prefLabelProperty, synonymProperty, definitionProperty are set and use them. If those aren't set, we default to skos:prefLabel and rdfs:label in that order. If no skos:prefLabel or rdfs:label exists, we use the last fragment of the URI of the class as the prefLabel. A similar rule applies to synonyms and definitions using the properties skos:altLabel and skos:definition respectively.
    Author:
    faessler
    • Constructor Detail

      • AnnotationPropertySet

        public AnnotationPropertySet​(org.semanticweb.owlapi.model.OWLOntologyManager ontologyManager,
                                     Submission submission)
      • AnnotationPropertySet

        public AnnotationPropertySet​(org.semanticweb.owlapi.model.OWLOntologyManager ontologyManager,
                                     File submissionFile)
                              throws IOException
        Throws:
        IOException
    • Method Detail

      • getPrefNameProps

        public List<org.semanticweb.owlapi.model.OWLAnnotationProperty> getPrefNameProps()
      • getSynonymProps

        public List<org.semanticweb.owlapi.model.OWLAnnotationProperty> getSynonymProps()
      • getDefinitionProps

        public List<org.semanticweb.owlapi.model.OWLAnnotationProperty> getDefinitionProps()
      • getObsoleteProps

        public List<org.semanticweb.owlapi.model.OWLAnnotationProperty> getObsoleteProps()