Search in sources :

Example 1 with DublinCoreVocabulary

use of org.semanticweb.owlapi.vocab.DublinCoreVocabulary in project webprotege by protegeproject.

the class WebProtegeBidirectionalShortFormProvider method setupBuiltinObjectRenderings.

private void setupBuiltinObjectRenderings(OWLOntology rootOntology) {
    OWLDataFactory df = rootOntology.getOWLOntologyManager().getOWLDataFactory();
    for (IRI iri : OWLRDFVocabulary.BUILT_IN_ANNOTATION_PROPERTY_IRIS) {
        delegate.add(df.getOWLAnnotationProperty(iri));
    }
    delegate.add(df.getOWLThing());
    delegate.add(df.getOWLNothing());
    delegate.add(df.getOWLTopObjectProperty());
    delegate.add(df.getOWLBottomObjectProperty());
    delegate.add(df.getOWLBottomDataProperty());
    delegate.add(df.getOWLBottomDataProperty());
    for (OWL2Datatype datatype : OWL2Datatype.values()) {
        delegate.add(df.getOWLDatatype(datatype.getIRI()));
    }
    for (DublinCoreVocabulary vocabulary : DublinCoreVocabulary.values()) {
        delegate.add(df.getOWLAnnotationProperty(vocabulary.getIRI()));
    }
    for (OWLAnnotationProperty annotationProperty : SKOSVocabulary.getAnnotationProperties(df)) {
        delegate.add(annotationProperty);
    }
}
Also used : OWL2Datatype(org.semanticweb.owlapi.vocab.OWL2Datatype) DublinCoreVocabulary(org.semanticweb.owlapi.vocab.DublinCoreVocabulary)

Aggregations

DublinCoreVocabulary (org.semanticweb.owlapi.vocab.DublinCoreVocabulary)1 OWL2Datatype (org.semanticweb.owlapi.vocab.OWL2Datatype)1