Source code for fairgraph.openminds.core.research.protocol_execution

"""
Structured information on a protocol execution.
"""

# this file was auto-generated

from datetime import date, datetime
from fairgraph.base_v3 import KGObjectV3, IRI
from fairgraph.fields import Field




[docs]class ProtocolExecution(KGObjectV3): """ Structured information on a protocol execution. """ default_space = "dataset" type = ["https://openminds.ebrains.eu/core/ProtocolExecution"] context = { "schema": "http://schema.org/", "kg": "https://kg.ebrains.eu/api/instances/", "vocab": "https://openminds.ebrains.eu/vocab/", "terms": "https://openminds.ebrains.eu/controlledTerms/", "core": "https://openminds.ebrains.eu/core/" } fields = [ Field("behavioral_protocols", "openminds.core.BehavioralProtocol", "vocab:behavioralProtocol", multiple=True, required=False, doc="no description available"), Field("inputs", ["openminds.core.File", "openminds.core.FileBundle", "openminds.core.SubjectGroupState", "openminds.core.SubjectState", "openminds.core.TissueSampleCollectionState", "openminds.core.TissueSampleState"], "vocab:input", multiple=True, required=True, doc="Something or someone that is put into or participates in a process or machine."), Field("is_part_of", "openminds.core.DatasetVersion", "vocab:isPartOf", multiple=False, required=True, doc="Reference to the ensemble of multiple things or beings."), Field("outputs", ["openminds.core.File", "openminds.core.FileBundle", "openminds.core.SubjectGroupState", "openminds.core.SubjectState", "openminds.core.TissueSampleCollectionState", "openminds.core.TissueSampleState"], "vocab:output", multiple=True, required=True, doc="Something or someone that comes out of, is delivered or produced by a process or machine."), Field("preparation_design", "openminds.controlledterms.PreparationType", "vocab:preparationDesign", multiple=False, required=False, doc="no description available"), Field("protocols", "openminds.core.Protocol", "vocab:protocol", multiple=True, required=True, doc="Plan that describes the process of a scientific or medical experiment, treatment, or procedure."), Field("description", str, "vocab:description", multiple=False, required=False, doc="Longer statement or account giving the characteristics of the protocol execution."), Field("ended_at_time", datetime, "vocab:endedAtTime", multiple=False, required=False, doc="no description available"), Field("lookup_label", str, "vocab:lookupLabel", multiple=False, required=False, doc="no description available"), Field("parameter_sets", "openminds.core.ParameterSet", "vocab:parameterSet", multiple=True, required=False, doc="Manner, position, or direction in which digital or physical properties are set to determine a particular function, characteristics or behavior of something."), Field("started_at_time", datetime, "vocab:startedAtTime", multiple=False, required=False, doc="no description available"), Field("study_targets", ["openminds.controlledterms.BiologicalOrder", "openminds.controlledterms.BiologicalSex", "openminds.controlledterms.CellType", "openminds.controlledterms.Disease", "openminds.controlledterms.DiseaseModel", "openminds.controlledterms.Handedness", "openminds.controlledterms.Organ", "openminds.controlledterms.Phenotype", "openminds.controlledterms.Species", "openminds.controlledterms.Strain", "openminds.controlledterms.TermSuggestion", "openminds.controlledterms.UBERONParcellation", "openminds.sands.CustomAnatomicalEntity", "openminds.sands.ParcellationEntity", "openminds.sands.ParcellationEntityVersion"], "vocab:studyTarget", multiple=True, required=False, doc="Structure or function that was targeted within a study."), ] existence_query_fields = ('lookup_label',)