public interface OntologyRepository
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIG_INTENT_CONCEPT_PREFIX |
static String |
CONFIG_INTENT_PROPERTY_PREFIX |
static String |
CONFIG_INTENT_RELATIONSHIP_PREFIX |
static String |
ENTITY_CONCEPT_IRI |
static String |
ROOT_CONCEPT_IRI |
static String |
TYPE_CONCEPT |
static String |
TYPE_PROPERTY |
static String |
TYPE_RELATIONSHIP |
static VisalloVisibility |
VISIBILITY |
static String |
VISIBILITY_STRING |
static final String ENTITY_CONCEPT_IRI
static final String ROOT_CONCEPT_IRI
static final String TYPE_RELATIONSHIP
static final String TYPE_CONCEPT
static final String TYPE_PROPERTY
static final String VISIBILITY_STRING
static final String CONFIG_INTENT_CONCEPT_PREFIX
static final String CONFIG_INTENT_RELATIONSHIP_PREFIX
static final String CONFIG_INTENT_PROPERTY_PREFIX
static final VisalloVisibility VISIBILITY
void clearCache()
Iterable<Relationship> getRelationships()
Iterable<OntologyProperty> getProperties()
OntologyProperty getPropertyByIRI(String propertyIRI)
OntologyProperty getRequiredPropertyByIRI(String propertyIRI)
Relationship getRelationshipByIRI(String propertyIRI)
boolean hasRelationshipByIRI(String relationshipIRI)
Concept getEntityConcept()
Set<Relationship> getRelationshipAndAllChildren(Relationship relationship)
Concept getOrCreateConcept(Concept parent, String conceptIRI, String displayName, File inDir)
Concept getOrCreateConcept(Concept parent, String conceptIRI, String displayName, File inDir, boolean isDeclaredInOntology)
Relationship getOrCreateRelationshipType(Relationship parent, Iterable<Concept> domainConcepts, Iterable<Concept> rangeConcepts, String relationshipIRI)
OntologyProperty getOrCreateProperty(OntologyPropertyDefinition ontologyPropertyDefinition)
org.semanticweb.owlapi.model.OWLOntologyManager createOwlOntologyManager(org.semanticweb.owlapi.model.OWLOntologyLoaderConfiguration config,
org.semanticweb.owlapi.model.IRI excludeDocumentIRI)
throws Exception
Exceptionvoid resolvePropertyIds(org.json.JSONArray filterJson)
throws org.json.JSONException
org.json.JSONExceptionvoid importResourceOwl(Class baseClass, String fileName, String iri, org.vertexium.Authorizations authorizations)
void importFile(File inFile, org.semanticweb.owlapi.model.IRI documentIRI, org.vertexium.Authorizations authorizations) throws Exception
Exceptionvoid importFileData(byte[] inFileData,
org.semanticweb.owlapi.model.IRI documentIRI,
File inDir,
org.vertexium.Authorizations authorizations)
throws Exception
Exceptionvoid writePackage(File file, org.semanticweb.owlapi.model.IRI documentIRI, org.vertexium.Authorizations authorizations) throws Exception
ExceptionClientApiOntology getClientApiObject()
String guessDocumentIRIFromPackage(File inFile) throws Exception
ExceptionRelationship getRelationshipByIntent(String intent)
Relationship getRequiredRelationshipByIntent(String intent)
OntologyProperty getPropertyByIntent(String intent)
<T extends VisalloProperty> T getVisalloPropertyByIntent(String intent, Class<T> visalloPropertyType)
<T extends VisalloProperty> T getRequiredVisalloPropertyByIntent(String intent, Class<T> visalloPropertyType)
List<OntologyProperty> getPropertiesByIntent(String intent)
OntologyProperty getRequiredPropertyByIntent(String intent)
boolean isOntologyDefined(String iri)
OntologyProperty getDependentPropertyParent(String iri)
void addConceptTypeFilterToQuery(org.vertexium.query.Query query,
String conceptTypeIri,
boolean includeChildNodes)
void addEdgeLabelFilterToQuery(org.vertexium.query.Query query,
String edgeLabel,
boolean includeChildNodes)
void updatePropertyDependentIris(OntologyProperty property, Collection<String> dependentPropertyIris)
void updatePropertyDomainIris(OntologyProperty property, Set<String> domainIris)
Copyright © 2013–2016 V5 Analytics. All rights reserved.