public interface Namer
A Namer provides functions to generate Mindmaps ontology names (IDs for
types, relations, roles etc.) from OWL ontology elements. All methods have default
implementations.
The implementation is not configurable: future work may provide for configuring prefixes, or some mapping schema from OWL to MM prefixes, including the standard OWL/RDF prefixes etc. Such mapping schema should be based on some practical experience with the migration tool.
| Modifier and Type | Method and Description |
|---|---|
default String |
classEntityTypeName(IRI classIri)
Generate the name of a MM entity type from the IRI of an OWL class
|
default String |
entityRole(String resourceId)
The name of the entity role type in an entity-role relation representing an OWL data property
|
default String |
fromIri(IRI iri)
Create and return a name from a full IRI.
|
default String |
individualEntityName(IRI individualIri)
Generate the name of a MM entity from the IRI of an OWL individual
|
default String |
objectPropertyName(IRI propIri)
Generate the name of a MM relation type from the IRI of an OWL object property
|
default String |
objectRole(String relationId)
Make a name for the role type corresponding to the object (i.e.
|
default String |
resourceId(Entity entity,
ResourceType<?> resourceType)
Make an identifier for a resource of a given type to be associated with a given entity.
|
default String |
resourceRelation(IRI dataPropertyIRI)
Make a name/id for the Mindmaps
RelationType representing
a relation b/w an entity (OWL individual) and its resource (the OWL data property) |
default String |
resourceRole(String resourceId)
Make a name for a resource role player representing the value of an OWL data property.
|
default String |
subjectRole(String relationId)
Make a name for the role type corresponding to the subject (i.e.
|
default String fromIri(IRI iri)
default String individualEntityName(IRI individualIri)
default String classEntityTypeName(IRI classIri)
default String objectPropertyName(IRI propIri)
default String resourceRelation(IRI dataPropertyIRI)
RelationType representing
a relation b/w an entity (OWL individual) and its resource (the OWL data property)default String objectRole(String relationId)
relationId - The id of the Mindmaps RelationType.default String subjectRole(String relationId)
relationId - The id of the Mindmaps RelationType.default String entityRole(String resourceId)
default String resourceRole(String resourceId)
default String resourceId(Entity entity, ResourceType<?> resourceType)
Copyright © 2016. All rights reserved.