dataeval.types.OntologyConcept

class dataeval.types.OntologyConcept

A single concept (class) within an ontology.

A portable, serializable descriptor for one concept of a class hierarchy. The behavior-bearing container that links these into a queryable graph is dataeval.Ontology.

id

Stable identifier for the concept, typically an IRI or CURIE.

Type:

str

label

Preferred human-readable name (skos:prefLabel or rdfs:label).

Type:

str

synonyms

Alternate labels (skos:altLabel) used for matching.

Type:

tuple[str, …]

parents

Ids of direct superclasses (rdfs:subClassOf / skos:broader). Parent ids that are not themselves defined concepts are treated as external references, not errors (ontologies are frequently distributed as subsets).

Type:

tuple[str, …]

definition

Optional textual definition (skos:definition).

Type:

str or None