| Constructor and Description |
|---|
OWLMigrator() |
| Modifier and Type | Method and Description |
|---|---|
Entity |
entity(org.semanticweb.owlapi.model.OWLNamedIndividual individual) |
Role |
entityRole(EntityType entityType,
ResourceType<?> resourceType) |
EntityType |
entityType(org.semanticweb.owlapi.model.OWLClass owlclass) |
<T> Entity |
getEntity(T id,
ResourceType<T> rtype) |
GraknGraph |
graph() |
OWLMigrator |
graph(GraknGraph graph) |
void |
migrate() |
Namer |
namer() |
OWLMigrator |
namer(Namer namer) |
Role |
objectRole(RelationType relType) |
org.semanticweb.owlapi.model.OWLOntology |
ontology() |
OWLMigrator |
ontology(org.semanticweb.owlapi.model.OWLOntology ontology) |
ResourceType.DataType<?> |
owlBuiltInToGraknDatatype(org.semanticweb.owlapi.vocab.OWL2Datatype propertyType) |
ResourceType<String> |
owlIriResource() |
EntityType |
owlThingEntityType() |
Entity |
putEntity(String id,
EntityType type) |
RelationType |
relation(org.semanticweb.owlapi.model.OWLAnnotationProperty property) |
RelationType |
relation(org.semanticweb.owlapi.model.OWLDataProperty property) |
RelationType |
relation(org.semanticweb.owlapi.model.OWLObjectProperty property) |
Role |
resourceRole(ResourceType<?> resourceType) |
ResourceType<?> |
resourceType(org.semanticweb.owlapi.model.OWLDataProperty property) |
Role |
subjectRole(RelationType relType) |
public OWLMigrator namer(Namer namer)
public Namer namer()
public OWLMigrator ontology(org.semanticweb.owlapi.model.OWLOntology ontology)
public org.semanticweb.owlapi.model.OWLOntology ontology()
public OWLMigrator graph(GraknGraph graph)
public GraknGraph graph()
public void migrate()
throws InvalidGraphException
InvalidGraphExceptionpublic ResourceType.DataType<?> owlBuiltInToGraknDatatype(org.semanticweb.owlapi.vocab.OWL2Datatype propertyType)
public EntityType owlThingEntityType()
public ResourceType<String> owlIriResource()
public <T> Entity getEntity(T id, ResourceType<T> rtype)
public Entity putEntity(String id, EntityType type)
public EntityType entityType(org.semanticweb.owlapi.model.OWLClass owlclass)
public Entity entity(org.semanticweb.owlapi.model.OWLNamedIndividual individual)
public RelationType relation(org.semanticweb.owlapi.model.OWLObjectProperty property)
public RelationType relation(org.semanticweb.owlapi.model.OWLDataProperty property)
public RelationType relation(org.semanticweb.owlapi.model.OWLAnnotationProperty property)
public Role subjectRole(RelationType relType)
public Role objectRole(RelationType relType)
public Role entityRole(EntityType entityType, ResourceType<?> resourceType)
public Role resourceRole(ResourceType<?> resourceType)
public ResourceType<?> resourceType(org.semanticweb.owlapi.model.OWLDataProperty property)
Copyright © 2017 Grakn Labs Ltd. All rights reserved.