kmds.ontology package

Submodules

kmds.ontology.kmds_ontology module

class kmds.ontology.kmds_ontology.DataRepresentationObservation(name=None, namespace=None, is_a=None, **kargs)

Bases: KMObservation

property to capture the data representation observation

Parameters:

KMObservation (_type_) – base class for observations

is_a = [kmds_ontology.xml.KMObservation]
namespace = get_ontology("http://test.org/kmds/kmds.owl#")
storid = 344
class kmds.ontology.kmds_ontology.KMObservation(name=None, namespace=None, is_a=None, **kargs)

Bases: Thing

Base class for observations, the specific types of observations derive from this class

Parameters:

Thing (_type_) – OWL base class for everything

is_a = [owl.Thing]
namespace = get_ontology("http://test.org/kmds/kmds.owl#")
storid = 340
class kmds.ontology.kmds_ontology.PipelineType(*values)

Bases: str, Enum

Enumeration to define the types of workflows that can be created

Parameters:
  • str (_type_) – The enumeration values are strings

  • Enum (_type_) – The enumeration values are strings

KNOWLEDGE_APPLICATION_WORKFLOW = 'Knowledge Application Workflow'
KNOWLEDGE_EXTRACTION_EXPERIMENT_WORKFLOW = 'Knowledge Extraction Experiment Workflow'
class kmds.ontology.kmds_ontology.Workflow(name=None, namespace=None, is_a=None, **kargs)

Bases: Thing

Ontology definition for workflow

Parameters:

Thing (_type_) – Thing is a base concept from OWL

is_a = [owl.Thing]
namespace = get_ontology("http://test.org/kmds/kmds.owl#")
storid = 337
class kmds.ontology.kmds_ontology.data_representation_observation_type

Bases: DatatypeProperty, FunctionalProperty

Specify the data representation observation type

Parameters:
  • DataProperty (_type_) – OWLReady2 specific way of specifying the data property type

  • FunctionalProperty (_type_) – OWLReady2 specific way of specifying the data property type

domain = [kmds_ontology.xml.DataRepresentationObservation]
is_a = [owl.DatatypeProperty, owl.FunctionalProperty]
namespace = get_ontology("http://test.org/kmds/kmds.owl#")
range = [<class 'str'>]
storid = 346
class kmds.ontology.kmds_ontology.description

Bases: DatatypeProperty, FunctionalProperty

Description as property of workflow

Parameters:
  • DataProperty (_type_) – This is a OWLReady2 way to say that this property is of a built in type as opposed to a defined type

  • FunctionalProperty (_type_) – This is a OWLReady2 way to say that this property is of a built in type as opposed to a defined type

domain = [kmds_ontology.xml.Workflow]
is_a = [owl.DatatypeProperty, owl.FunctionalProperty]
namespace = get_ontology("http://test.org/kmds/kmds.owl#")
range = [<class 'str'>, <class 'str'>]
storid = 338
class kmds.ontology.kmds_ontology.experimental_observation_type

Bases: DatatypeProperty, FunctionalProperty

Property to capture the experimental observation type - see tagging for definition

Parameters:
  • DataProperty (_type_) – OWLReady2 specific way of defining built in types as properties

  • FunctionalProperty (_type_) – OWLReady2 specific way of defining built in types as properties

domain = [kmds_ontology.xml.ExperimentalObservation]
is_a = [owl.DatatypeProperty, owl.FunctionalProperty]
namespace = get_ontology("http://test.org/kmds/kmds.owl#")
range = [<class 'str'>]
storid = 352
class kmds.ontology.kmds_ontology.exploratory_observation_type

Bases: DatatypeProperty, FunctionalProperty

property to capture the type of exploratory observation - see tagging types for the options

Parameters:
  • DataProperty (_type_) – OWL2library specific way of defining a property with a built in value

  • FunctionalProperty (_type_) – OWL2library specific way of defining a property with a built in value

domain = [kmds_ontology.xml.ExploratoryObservation]
is_a = [owl.DatatypeProperty, owl.FunctionalProperty]
namespace = get_ontology("http://test.org/kmds/kmds.owl#")
range = [<class 'str'>]
storid = 343
class kmds.ontology.kmds_ontology.finding

Bases: DatatypeProperty, FunctionalProperty

Speficy the finding property of an observation

Parameters:
  • DataProperty (_type_) – OWLReady 2 specific way to say that the range is a srting

  • FunctionalProperty (_type_) – OWLReady 2 specific way to say that the domain is an object

Domain = [kmds_ontology.xml.KMObservation]
is_a = [owl.DatatypeProperty, owl.FunctionalProperty]
namespace = get_ontology("http://test.org/kmds/kmds.owl#")
range = [<class 'str'>]
storid = 353
class kmds.ontology.kmds_ontology.finding_sequence

Bases: DatatypeProperty, FunctionalProperty

Speficy the finding sequence property of an observation

Parameters:
  • DataProperty (_type_) – OWLReady 2 specific way to say that the range is an integer

  • FunctionalProperty (_type_) – OWLReady 2 specific way to say that the domain is an object

Domain = [kmds_ontology.xml.KMObservation]
is_a = [owl.DatatypeProperty, owl.FunctionalProperty]
namespace = get_ontology("http://test.org/kmds/kmds.owl#")
range = [<class 'int'>]
storid = 354
class kmds.ontology.kmds_ontology.has_data_representation_observations

Bases: ObjectProperty

Property to capture the data representation observations of a workflow

Parameters:

ObjectProperty (_type_) – OWLReady2 specific way of capturing object properties

domain = [kmds_ontology.xml.Workflow]
is_a = [owl.ObjectProperty]
namespace = get_ontology("http://test.org/kmds/kmds.owl#")
range = [kmds_ontology.xml.DataRepresentationObservation]
storid = 345
class kmds.ontology.kmds_ontology.has_experimental_observations

Bases: ObjectProperty

Property of the workflow to capture its experimental observations

Parameters:

ObjectProperty (_type_) – OWLReady2 specific way of specifying that this property is an object type as opposed to a built in type

domain = [kmds_ontology.xml.Workflow]
is_a = [owl.ObjectProperty]
namespace = get_ontology("http://test.org/kmds/kmds.owl#")
range = [kmds_ontology.xml.ExperimentalObservation]
storid = 351
class kmds.ontology.kmds_ontology.has_exploratory_observations

Bases: ObjectProperty

property to capture the exploratory observations of the workflow

Parameters:

ObjectProperty (_type_) – captures the exploratory observations of the workflow

domain = [kmds_ontology.xml.Workflow]
is_a = [owl.ObjectProperty]
namespace = get_ontology("http://test.org/kmds/kmds.owl#")
range = [kmds_ontology.xml.ExploratoryObservation]
storid = 342
class kmds.ontology.kmds_ontology.has_model_selection_observations

Bases: ObjectProperty

Specify that the workflow has model selection observations recorded

Parameters:

ObjectProperty (_type_) – OWLReady2 specific way of capturing object properties

domain = [kmds_ontology.xml.Workflow]
is_a = [owl.ObjectProperty]
namespace = get_ontology("http://test.org/kmds/kmds.owl#")
range = [kmds_ontology.xml.ModelSelectionObservation]
storid = 349
class kmds.ontology.kmds_ontology.has_modeling_choice_observations

Bases: ObjectProperty

Specify that the workflow has modelling choice observations

Parameters:

ObjectProperty (_type_) – the OWLReady2 way to specify that these observations are objects

domain = [kmds_ontology.xml.Workflow]
is_a = [owl.ObjectProperty]
namespace = get_ontology("http://test.org/kmds/kmds.owl#")
range = [kmds_ontology.xml.ModellingChoiceObservation]
storid = 347
class kmds.ontology.kmds_ontology.intent

Bases: DatatypeProperty, FunctionalProperty

Tag intent of the observation

Parameters:
  • DataProperty (_type_) – OWL2library specific way of defining a property with a built in value

  • FunctionalProperty (_type_) – OWL2library specific way of defining a property with a built in value

domain = [kmds_ontology.xml.KMObservation]
is_a = [owl.DatatypeProperty, owl.FunctionalProperty]
namespace = get_ontology("http://test.org/kmds/kmds.owl#")
range = [<class 'str'>]
storid = 341
class kmds.ontology.kmds_ontology.model_selection_observation_type

Bases: DatatypeProperty, FunctionalProperty

Specify the model selection observation type - see tagging for options

Parameters:
  • DataProperty (_type_) – OWLReady2 specific of specifying properties of builtin type

  • FunctionalProperty (_type_) – OWLReady2 specific of specifying properties of builtin type

domain = [kmds_ontology.xml.ModelSelectionObservation]
is_a = [owl.DatatypeProperty, owl.FunctionalProperty]
namespace = get_ontology("http://test.org/kmds/kmds.owl#")
range = [<class 'str'>]
storid = 350
class kmds.ontology.kmds_ontology.modelling_choice_observation_type

Bases: DatatypeProperty, FunctionalProperty

Specify that the modelling observation type in tagging modelling choice observations - see tagging for the options available

Parameters:

DataProperty (_type_) – OWLReady2 specific way of describing properties

domain = [kmds_ontology.xml.ModellingChoiceObservation]
is_a = [owl.DatatypeProperty, owl.FunctionalProperty]
namespace = get_ontology("http://test.org/kmds/kmds.owl#")
range = [<class 'str'>]
storid = 348
class kmds.ontology.kmds_ontology.name

Bases: DatatypeProperty, FunctionalProperty

name as property of workflow

Parameters:
  • DataProperty (_type_) – This is a OWLReady2 way to say that this property is of a built in type as opposed to a defined type

  • FunctionalProperty (_type_) – This is a OWLReady2 way to say that this property is of a built in type as opposed to a defined type

domain = [kmds_ontology.xml.Workflow]
is_a = [owl.DatatypeProperty, owl.FunctionalProperty]
namespace = get_ontology("http://test.org/kmds/kmds.owl#")
range = [<class 'str'>]
storid = 339
kmds.ontology.kmds_ontology.set_ontology(the_onto: Ontology) None

Module contents