Package de.julielab.bioportal.ontologies
Class AnnotationPropertySet
- java.lang.Object
-
- de.julielab.bioportal.ontologies.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 Summary
Constructors Constructor Description AnnotationPropertySet(org.semanticweb.owlapi.model.OWLOntologyManager ontologyManager, Submission submission)AnnotationPropertySet(org.semanticweb.owlapi.model.OWLOntologyManager ontologyManager, File submissionFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.semanticweb.owlapi.model.OWLAnnotationProperty>getDefinitionProps()List<org.semanticweb.owlapi.model.OWLAnnotationProperty>getObsoleteProps()List<org.semanticweb.owlapi.model.OWLAnnotationProperty>getPrefNameProps()List<org.semanticweb.owlapi.model.OWLAnnotationProperty>getSynonymProps()
-
-
-
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()
-
-