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

org.protege.owl.codegeneration.inference.CodeGenerationInference Maven / Gradle / Ivy

Go to download

Generate Java code from an OWL ontology in the Protege Desktop editing environment.

The newest version!
package org.protege.owl.codegeneration.inference;

import java.util.Collection;
import java.util.Set;

import org.protege.owl.codegeneration.names.CodeGenerationNames;
import org.protege.owl.codegeneration.property.JavaPropertyDeclaration;
import org.semanticweb.owlapi.model.OWLClass;
import org.semanticweb.owlapi.model.OWLDataProperty;
import org.semanticweb.owlapi.model.OWLDatatype;
import org.semanticweb.owlapi.model.OWLLiteral;
import org.semanticweb.owlapi.model.OWLNamedIndividual;
import org.semanticweb.owlapi.model.OWLObjectProperty;
import org.semanticweb.owlapi.model.OWLOntology;

public interface CodeGenerationInference {
	
	OWLOntology getOWLOntology();
	
	void preCompute();
	
	void flush();

	Collection getOwlClasses();
		
	Collection getSubClasses(OWLClass owlClass);
	
	Collection getSuperClasses(OWLClass owlClass);
	
	Set getJavaPropertyDeclarations(OWLClass cls, CodeGenerationNames names);
	
	boolean isFunctional(OWLObjectProperty p);

	OWLClass getRange(OWLObjectProperty p);
	
	OWLClass getRange(OWLClass owlClass, OWLObjectProperty p);
	
	boolean isFunctional(OWLDataProperty p);
	
	OWLDatatype getRange(OWLDataProperty p);
	
	OWLDatatype getRange(OWLClass owlClass, OWLDataProperty p);

	Collection getIndividuals(OWLClass owlClass);

	boolean canAs(OWLNamedIndividual i, OWLClass c);

	Collection getTypes(OWLNamedIndividual i);
	
	Collection getPropertyValues(OWLNamedIndividual i, OWLObjectProperty p);
	
    Collection getPropertyValues(OWLNamedIndividual i, OWLDataProperty p);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy