fairgraph 0.13.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (267) hide show
  1. fairgraph/__init__.py +61 -0
  2. fairgraph/base.py +104 -0
  3. fairgraph/caching.py +52 -0
  4. fairgraph/client.py +867 -0
  5. fairgraph/collection.py +104 -0
  6. fairgraph/embedded.py +122 -0
  7. fairgraph/errors.py +47 -0
  8. fairgraph/fields.py +11 -0
  9. fairgraph/kgobject.py +1087 -0
  10. fairgraph/kgproxy.py +178 -0
  11. fairgraph/kgquery.py +151 -0
  12. fairgraph/node.py +488 -0
  13. fairgraph/openminds/__init__.py +1 -0
  14. fairgraph/openminds/chemicals/__init__.py +40 -0
  15. fairgraph/openminds/chemicals/amount_of_chemical.py +23 -0
  16. fairgraph/openminds/chemicals/chemical_mixture.py +72 -0
  17. fairgraph/openminds/chemicals/chemical_substance.py +67 -0
  18. fairgraph/openminds/chemicals/product_source.py +57 -0
  19. fairgraph/openminds/computation/__init__.py +53 -0
  20. fairgraph/openminds/computation/data_analysis.py +104 -0
  21. fairgraph/openminds/computation/data_copy.py +104 -0
  22. fairgraph/openminds/computation/environment.py +66 -0
  23. fairgraph/openminds/computation/generic_computation.py +104 -0
  24. fairgraph/openminds/computation/hardware_system.py +53 -0
  25. fairgraph/openminds/computation/launch_configuration.py +68 -0
  26. fairgraph/openminds/computation/local_file.py +83 -0
  27. fairgraph/openminds/computation/model_validation.py +107 -0
  28. fairgraph/openminds/computation/optimization.py +104 -0
  29. fairgraph/openminds/computation/simulation.py +104 -0
  30. fairgraph/openminds/computation/software_agent.py +81 -0
  31. fairgraph/openminds/computation/validation_test.py +105 -0
  32. fairgraph/openminds/computation/validation_test_version.py +180 -0
  33. fairgraph/openminds/computation/visualization.py +104 -0
  34. fairgraph/openminds/computation/workflow_execution.py +44 -0
  35. fairgraph/openminds/computation/workflow_recipe.py +95 -0
  36. fairgraph/openminds/computation/workflow_recipe_version.py +185 -0
  37. fairgraph/openminds/controlled_terms/__init__.py +116 -0
  38. fairgraph/openminds/controlled_terms/action_status_type.py +97 -0
  39. fairgraph/openminds/controlled_terms/age_category.py +89 -0
  40. fairgraph/openminds/controlled_terms/analysis_technique.py +108 -0
  41. fairgraph/openminds/controlled_terms/anatomical_axes_orientation.py +89 -0
  42. fairgraph/openminds/controlled_terms/anatomical_identification_type.py +89 -0
  43. fairgraph/openminds/controlled_terms/anatomical_plane.py +89 -0
  44. fairgraph/openminds/controlled_terms/annotation_criteria_type.py +89 -0
  45. fairgraph/openminds/controlled_terms/annotation_type.py +89 -0
  46. fairgraph/openminds/controlled_terms/atlas_type.py +88 -0
  47. fairgraph/openminds/controlled_terms/auditory_stimulus_type.py +127 -0
  48. fairgraph/openminds/controlled_terms/biological_order.py +117 -0
  49. fairgraph/openminds/controlled_terms/biological_process.py +79 -0
  50. fairgraph/openminds/controlled_terms/biological_sex.py +132 -0
  51. fairgraph/openminds/controlled_terms/breeding_type.py +127 -0
  52. fairgraph/openminds/controlled_terms/cell_culture_type.py +117 -0
  53. fairgraph/openminds/controlled_terms/cell_type.py +151 -0
  54. fairgraph/openminds/controlled_terms/chemical_mixture_type.py +89 -0
  55. fairgraph/openminds/controlled_terms/colormap.py +79 -0
  56. fairgraph/openminds/controlled_terms/contribution_type.py +79 -0
  57. fairgraph/openminds/controlled_terms/cranial_window_construction_type.py +89 -0
  58. fairgraph/openminds/controlled_terms/cranial_window_reinforcement_type.py +89 -0
  59. fairgraph/openminds/controlled_terms/criteria_quality_type.py +89 -0
  60. fairgraph/openminds/controlled_terms/data_type.py +89 -0
  61. fairgraph/openminds/controlled_terms/device_type.py +94 -0
  62. fairgraph/openminds/controlled_terms/difference_measure.py +89 -0
  63. fairgraph/openminds/controlled_terms/disease.py +142 -0
  64. fairgraph/openminds/controlled_terms/disease_model.py +142 -0
  65. fairgraph/openminds/controlled_terms/educational_level.py +79 -0
  66. fairgraph/openminds/controlled_terms/electrical_stimulus_type.py +137 -0
  67. fairgraph/openminds/controlled_terms/ethics_assessment.py +79 -0
  68. fairgraph/openminds/controlled_terms/experimental_approach.py +79 -0
  69. fairgraph/openminds/controlled_terms/file_bundle_grouping.py +99 -0
  70. fairgraph/openminds/controlled_terms/file_repository_type.py +89 -0
  71. fairgraph/openminds/controlled_terms/file_usage_role.py +89 -0
  72. fairgraph/openminds/controlled_terms/genetic_strain_type.py +127 -0
  73. fairgraph/openminds/controlled_terms/gustatory_stimulus_type.py +127 -0
  74. fairgraph/openminds/controlled_terms/handedness.py +127 -0
  75. fairgraph/openminds/controlled_terms/language.py +88 -0
  76. fairgraph/openminds/controlled_terms/laterality.py +94 -0
  77. fairgraph/openminds/controlled_terms/learning_resource_type.py +88 -0
  78. fairgraph/openminds/controlled_terms/measured_quantity.py +89 -0
  79. fairgraph/openminds/controlled_terms/measured_signal_type.py +79 -0
  80. fairgraph/openminds/controlled_terms/meta_data_model_type.py +88 -0
  81. fairgraph/openminds/controlled_terms/model_abstraction_level.py +89 -0
  82. fairgraph/openminds/controlled_terms/model_scope.py +89 -0
  83. fairgraph/openminds/controlled_terms/molecular_entity.py +142 -0
  84. fairgraph/openminds/controlled_terms/mri_pulse_sequence.py +98 -0
  85. fairgraph/openminds/controlled_terms/mri_weighting.py +98 -0
  86. fairgraph/openminds/controlled_terms/olfactory_stimulus_type.py +127 -0
  87. fairgraph/openminds/controlled_terms/operating_device.py +79 -0
  88. fairgraph/openminds/controlled_terms/operating_system.py +88 -0
  89. fairgraph/openminds/controlled_terms/optical_stimulus_type.py +127 -0
  90. fairgraph/openminds/controlled_terms/organ.py +161 -0
  91. fairgraph/openminds/controlled_terms/organism_substance.py +151 -0
  92. fairgraph/openminds/controlled_terms/organism_system.py +117 -0
  93. fairgraph/openminds/controlled_terms/patch_clamp_variation.py +89 -0
  94. fairgraph/openminds/controlled_terms/preparation_type.py +98 -0
  95. fairgraph/openminds/controlled_terms/product_accessibility.py +79 -0
  96. fairgraph/openminds/controlled_terms/programming_language.py +88 -0
  97. fairgraph/openminds/controlled_terms/qualitative_overlap.py +79 -0
  98. fairgraph/openminds/controlled_terms/semantic_data_type.py +79 -0
  99. fairgraph/openminds/controlled_terms/service.py +89 -0
  100. fairgraph/openminds/controlled_terms/setup_type.py +89 -0
  101. fairgraph/openminds/controlled_terms/software_application_category.py +79 -0
  102. fairgraph/openminds/controlled_terms/software_feature.py +79 -0
  103. fairgraph/openminds/controlled_terms/species.py +143 -0
  104. fairgraph/openminds/controlled_terms/stimulation_approach.py +98 -0
  105. fairgraph/openminds/controlled_terms/stimulation_technique.py +98 -0
  106. fairgraph/openminds/controlled_terms/subcellular_entity.py +143 -0
  107. fairgraph/openminds/controlled_terms/subject_attribute.py +89 -0
  108. fairgraph/openminds/controlled_terms/tactile_stimulus_type.py +127 -0
  109. fairgraph/openminds/controlled_terms/technique.py +108 -0
  110. fairgraph/openminds/controlled_terms/term_suggestion.py +121 -0
  111. fairgraph/openminds/controlled_terms/terminology.py +89 -0
  112. fairgraph/openminds/controlled_terms/tissue_sample_attribute.py +89 -0
  113. fairgraph/openminds/controlled_terms/tissue_sample_type.py +127 -0
  114. fairgraph/openminds/controlled_terms/type_of_uncertainty.py +89 -0
  115. fairgraph/openminds/controlled_terms/uberon_parcellation.py +153 -0
  116. fairgraph/openminds/controlled_terms/unit_of_measurement.py +108 -0
  117. fairgraph/openminds/controlled_terms/visual_stimulus_type.py +127 -0
  118. fairgraph/openminds/controlledterms.py +6 -0
  119. fairgraph/openminds/core/__init__.py +107 -0
  120. fairgraph/openminds/core/actors/__init__.py +7 -0
  121. fairgraph/openminds/core/actors/account_information.py +44 -0
  122. fairgraph/openminds/core/actors/affiliation.py +30 -0
  123. fairgraph/openminds/core/actors/consortium.py +175 -0
  124. fairgraph/openminds/core/actors/contact_information.py +43 -0
  125. fairgraph/openminds/core/actors/contribution.py +23 -0
  126. fairgraph/openminds/core/actors/organization.py +199 -0
  127. fairgraph/openminds/core/actors/person.py +236 -0
  128. fairgraph/openminds/core/data/__init__.py +13 -0
  129. fairgraph/openminds/core/data/content_type.py +107 -0
  130. fairgraph/openminds/core/data/content_type_pattern.py +53 -0
  131. fairgraph/openminds/core/data/copyright.py +23 -0
  132. fairgraph/openminds/core/data/file.py +275 -0
  133. fairgraph/openminds/core/data/file_archive.py +71 -0
  134. fairgraph/openminds/core/data/file_bundle.py +150 -0
  135. fairgraph/openminds/core/data/file_path_pattern.py +23 -0
  136. fairgraph/openminds/core/data/file_repository.py +99 -0
  137. fairgraph/openminds/core/data/file_repository_structure.py +51 -0
  138. fairgraph/openminds/core/data/hash.py +23 -0
  139. fairgraph/openminds/core/data/license.py +77 -0
  140. fairgraph/openminds/core/data/measurement.py +45 -0
  141. fairgraph/openminds/core/data/service_link.py +49 -0
  142. fairgraph/openminds/core/digital_identifier/__init__.py +11 -0
  143. fairgraph/openminds/core/digital_identifier/doi.py +98 -0
  144. fairgraph/openminds/core/digital_identifier/gridid.py +41 -0
  145. fairgraph/openminds/core/digital_identifier/handle.py +52 -0
  146. fairgraph/openminds/core/digital_identifier/identifiers_dot_org_id.py +41 -0
  147. fairgraph/openminds/core/digital_identifier/isbn.py +88 -0
  148. fairgraph/openminds/core/digital_identifier/issn.py +63 -0
  149. fairgraph/openminds/core/digital_identifier/orcid.py +41 -0
  150. fairgraph/openminds/core/digital_identifier/rorid.py +41 -0
  151. fairgraph/openminds/core/digital_identifier/rrid.py +55 -0
  152. fairgraph/openminds/core/digital_identifier/stock_number.py +23 -0
  153. fairgraph/openminds/core/digital_identifier/swhid.py +48 -0
  154. fairgraph/openminds/core/miscellaneous/__init__.py +7 -0
  155. fairgraph/openminds/core/miscellaneous/comment.py +47 -0
  156. fairgraph/openminds/core/miscellaneous/funding.py +70 -0
  157. fairgraph/openminds/core/miscellaneous/quantitative_value.py +43 -0
  158. fairgraph/openminds/core/miscellaneous/quantitative_value_array.py +49 -0
  159. fairgraph/openminds/core/miscellaneous/quantitative_value_range.py +43 -0
  160. fairgraph/openminds/core/miscellaneous/research_product_group.py +26 -0
  161. fairgraph/openminds/core/miscellaneous/web_resource.py +104 -0
  162. fairgraph/openminds/core/products/__init__.py +12 -0
  163. fairgraph/openminds/core/products/dataset.py +95 -0
  164. fairgraph/openminds/core/products/dataset_version.py +240 -0
  165. fairgraph/openminds/core/products/meta_data_model.py +95 -0
  166. fairgraph/openminds/core/products/meta_data_model_version.py +168 -0
  167. fairgraph/openminds/core/products/model.py +103 -0
  168. fairgraph/openminds/core/products/model_version.py +235 -0
  169. fairgraph/openminds/core/products/project.py +56 -0
  170. fairgraph/openminds/core/products/setup.py +69 -0
  171. fairgraph/openminds/core/products/software.py +95 -0
  172. fairgraph/openminds/core/products/software_version.py +226 -0
  173. fairgraph/openminds/core/products/web_service.py +103 -0
  174. fairgraph/openminds/core/products/web_service_version.py +182 -0
  175. fairgraph/openminds/core/research/__init__.py +17 -0
  176. fairgraph/openminds/core/research/behavioral_protocol.py +69 -0
  177. fairgraph/openminds/core/research/configuration.py +67 -0
  178. fairgraph/openminds/core/research/custom_property_set.py +27 -0
  179. fairgraph/openminds/core/research/numerical_property.py +23 -0
  180. fairgraph/openminds/core/research/property_value_list.py +71 -0
  181. fairgraph/openminds/core/research/protocol.py +67 -0
  182. fairgraph/openminds/core/research/protocol_execution.py +76 -0
  183. fairgraph/openminds/core/research/strain.py +90 -0
  184. fairgraph/openminds/core/research/string_property.py +23 -0
  185. fairgraph/openminds/core/research/subject.py +79 -0
  186. fairgraph/openminds/core/research/subject_group.py +91 -0
  187. fairgraph/openminds/core/research/subject_group_state.py +113 -0
  188. fairgraph/openminds/core/research/subject_state.py +138 -0
  189. fairgraph/openminds/core/research/tissue_sample.py +87 -0
  190. fairgraph/openminds/core/research/tissue_sample_collection.py +99 -0
  191. fairgraph/openminds/core/research/tissue_sample_collection_state.py +109 -0
  192. fairgraph/openminds/core/research/tissue_sample_state.py +127 -0
  193. fairgraph/openminds/ephys/__init__.py +39 -0
  194. fairgraph/openminds/ephys/activity/__init__.py +3 -0
  195. fairgraph/openminds/ephys/activity/cell_patching.py +73 -0
  196. fairgraph/openminds/ephys/activity/electrode_placement.py +67 -0
  197. fairgraph/openminds/ephys/activity/recording_activity.py +67 -0
  198. fairgraph/openminds/ephys/device/__init__.py +6 -0
  199. fairgraph/openminds/ephys/device/electrode.py +81 -0
  200. fairgraph/openminds/ephys/device/electrode_array.py +85 -0
  201. fairgraph/openminds/ephys/device/electrode_array_usage.py +105 -0
  202. fairgraph/openminds/ephys/device/electrode_usage.py +101 -0
  203. fairgraph/openminds/ephys/device/pipette.py +81 -0
  204. fairgraph/openminds/ephys/device/pipette_usage.py +123 -0
  205. fairgraph/openminds/ephys/entity/__init__.py +2 -0
  206. fairgraph/openminds/ephys/entity/channel.py +23 -0
  207. fairgraph/openminds/ephys/entity/recording.py +63 -0
  208. fairgraph/openminds/publications/__init__.py +47 -0
  209. fairgraph/openminds/publications/book.py +106 -0
  210. fairgraph/openminds/publications/chapter.py +100 -0
  211. fairgraph/openminds/publications/learning_resource.py +90 -0
  212. fairgraph/openminds/publications/live_paper.py +95 -0
  213. fairgraph/openminds/publications/live_paper_resource_item.py +58 -0
  214. fairgraph/openminds/publications/live_paper_section.py +57 -0
  215. fairgraph/openminds/publications/live_paper_version.py +177 -0
  216. fairgraph/openminds/publications/periodical.py +53 -0
  217. fairgraph/openminds/publications/publication_issue.py +44 -0
  218. fairgraph/openminds/publications/publication_volume.py +44 -0
  219. fairgraph/openminds/publications/scholarly_article.py +146 -0
  220. fairgraph/openminds/sands/__init__.py +57 -0
  221. fairgraph/openminds/sands/atlas/__init__.py +9 -0
  222. fairgraph/openminds/sands/atlas/atlas_annotation.py +52 -0
  223. fairgraph/openminds/sands/atlas/brain_atlas.py +113 -0
  224. fairgraph/openminds/sands/atlas/brain_atlas_version.py +213 -0
  225. fairgraph/openminds/sands/atlas/common_coordinate_space.py +121 -0
  226. fairgraph/openminds/sands/atlas/common_coordinate_space_version.py +243 -0
  227. fairgraph/openminds/sands/atlas/parcellation_entity.py +133 -0
  228. fairgraph/openminds/sands/atlas/parcellation_entity_version.py +162 -0
  229. fairgraph/openminds/sands/atlas/parcellation_terminology.py +38 -0
  230. fairgraph/openminds/sands/atlas/parcellation_terminology_version.py +38 -0
  231. fairgraph/openminds/sands/mathematical_shapes/__init__.py +3 -0
  232. fairgraph/openminds/sands/mathematical_shapes/circle.py +23 -0
  233. fairgraph/openminds/sands/mathematical_shapes/ellipse.py +27 -0
  234. fairgraph/openminds/sands/mathematical_shapes/rectangle.py +23 -0
  235. fairgraph/openminds/sands/miscellaneous/__init__.py +6 -0
  236. fairgraph/openminds/sands/miscellaneous/anatomical_target_position.py +40 -0
  237. fairgraph/openminds/sands/miscellaneous/coordinate_point.py +23 -0
  238. fairgraph/openminds/sands/miscellaneous/qualitative_relation_assessment.py +34 -0
  239. fairgraph/openminds/sands/miscellaneous/quantitative_relation_assessment.py +38 -0
  240. fairgraph/openminds/sands/miscellaneous/single_color.py +24 -0
  241. fairgraph/openminds/sands/miscellaneous/viewer_specification.py +40 -0
  242. fairgraph/openminds/sands/non_atlas/__init__.py +3 -0
  243. fairgraph/openminds/sands/non_atlas/custom_anatomical_entity.py +110 -0
  244. fairgraph/openminds/sands/non_atlas/custom_annotation.py +54 -0
  245. fairgraph/openminds/sands/non_atlas/custom_coordinate_space.py +67 -0
  246. fairgraph/openminds/specimen_prep/__init__.py +38 -0
  247. fairgraph/openminds/specimen_prep/activity/__init__.py +3 -0
  248. fairgraph/openminds/specimen_prep/activity/cranial_window_preparation.py +69 -0
  249. fairgraph/openminds/specimen_prep/activity/tissue_culture_preparation.py +67 -0
  250. fairgraph/openminds/specimen_prep/activity/tissue_sample_slicing.py +69 -0
  251. fairgraph/openminds/specimen_prep/device/__init__.py +2 -0
  252. fairgraph/openminds/specimen_prep/device/slicing_device.py +73 -0
  253. fairgraph/openminds/specimen_prep/device/slicing_device_usage.py +117 -0
  254. fairgraph/openminds/specimenprep.py +4 -0
  255. fairgraph/openminds/stimulation/__init__.py +38 -0
  256. fairgraph/openminds/stimulation/activity/__init__.py +1 -0
  257. fairgraph/openminds/stimulation/activity/stimulation_activity.py +67 -0
  258. fairgraph/openminds/stimulation/stimulus/__init__.py +1 -0
  259. fairgraph/openminds/stimulation/stimulus/ephys_stimulus.py +63 -0
  260. fairgraph/queries.py +499 -0
  261. fairgraph/registry.py +123 -0
  262. fairgraph/utility.py +607 -0
  263. fairgraph-0.13.0.dist-info/METADATA +222 -0
  264. fairgraph-0.13.0.dist-info/RECORD +267 -0
  265. fairgraph-0.13.0.dist-info/WHEEL +5 -0
  266. fairgraph-0.13.0.dist-info/licenses/LICENSE.txt +177 -0
  267. fairgraph-0.13.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,116 @@
1
+ import sys
2
+ import inspect
3
+ from fairgraph.kgobject import KGObject
4
+ from fairgraph.embedded import EmbeddedMetadata
5
+
6
+ from .action_status_type import ActionStatusType
7
+ from .age_category import AgeCategory
8
+ from .analysis_technique import AnalysisTechnique
9
+ from .anatomical_axes_orientation import AnatomicalAxesOrientation
10
+ from .anatomical_identification_type import AnatomicalIdentificationType
11
+ from .anatomical_plane import AnatomicalPlane
12
+ from .annotation_criteria_type import AnnotationCriteriaType
13
+ from .annotation_type import AnnotationType
14
+ from .atlas_type import AtlasType
15
+ from .auditory_stimulus_type import AuditoryStimulusType
16
+ from .biological_order import BiologicalOrder
17
+ from .biological_process import BiologicalProcess
18
+ from .biological_sex import BiologicalSex
19
+ from .breeding_type import BreedingType
20
+ from .cell_culture_type import CellCultureType
21
+ from .cell_type import CellType
22
+ from .chemical_mixture_type import ChemicalMixtureType
23
+ from .colormap import Colormap
24
+ from .contribution_type import ContributionType
25
+ from .cranial_window_construction_type import CranialWindowConstructionType
26
+ from .cranial_window_reinforcement_type import CranialWindowReinforcementType
27
+ from .criteria_quality_type import CriteriaQualityType
28
+ from .data_type import DataType
29
+ from .device_type import DeviceType
30
+ from .difference_measure import DifferenceMeasure
31
+ from .disease import Disease
32
+ from .disease_model import DiseaseModel
33
+ from .educational_level import EducationalLevel
34
+ from .electrical_stimulus_type import ElectricalStimulusType
35
+ from .ethics_assessment import EthicsAssessment
36
+ from .experimental_approach import ExperimentalApproach
37
+ from .file_bundle_grouping import FileBundleGrouping
38
+ from .file_repository_type import FileRepositoryType
39
+ from .file_usage_role import FileUsageRole
40
+ from .genetic_strain_type import GeneticStrainType
41
+ from .gustatory_stimulus_type import GustatoryStimulusType
42
+ from .handedness import Handedness
43
+ from .language import Language
44
+ from .laterality import Laterality
45
+ from .learning_resource_type import LearningResourceType
46
+ from .measured_quantity import MeasuredQuantity
47
+ from .measured_signal_type import MeasuredSignalType
48
+ from .meta_data_model_type import MetaDataModelType
49
+ from .model_abstraction_level import ModelAbstractionLevel
50
+ from .model_scope import ModelScope
51
+ from .molecular_entity import MolecularEntity
52
+ from .mri_pulse_sequence import MRIPulseSequence
53
+ from .mri_weighting import MRIWeighting
54
+ from .olfactory_stimulus_type import OlfactoryStimulusType
55
+ from .operating_device import OperatingDevice
56
+ from .operating_system import OperatingSystem
57
+ from .optical_stimulus_type import OpticalStimulusType
58
+ from .organ import Organ
59
+ from .organism_substance import OrganismSubstance
60
+ from .organism_system import OrganismSystem
61
+ from .patch_clamp_variation import PatchClampVariation
62
+ from .preparation_type import PreparationType
63
+ from .product_accessibility import ProductAccessibility
64
+ from .programming_language import ProgrammingLanguage
65
+ from .qualitative_overlap import QualitativeOverlap
66
+ from .semantic_data_type import SemanticDataType
67
+ from .service import Service
68
+ from .setup_type import SetupType
69
+ from .software_application_category import SoftwareApplicationCategory
70
+ from .software_feature import SoftwareFeature
71
+ from .species import Species
72
+ from .stimulation_approach import StimulationApproach
73
+ from .stimulation_technique import StimulationTechnique
74
+ from .subcellular_entity import SubcellularEntity
75
+ from .subject_attribute import SubjectAttribute
76
+ from .tactile_stimulus_type import TactileStimulusType
77
+ from .technique import Technique
78
+ from .term_suggestion import TermSuggestion
79
+ from .terminology import Terminology
80
+ from .tissue_sample_attribute import TissueSampleAttribute
81
+ from .tissue_sample_type import TissueSampleType
82
+ from .type_of_uncertainty import TypeOfUncertainty
83
+ from .uberon_parcellation import UBERONParcellation
84
+ from .unit_of_measurement import UnitOfMeasurement
85
+ from .visual_stimulus_type import VisualStimulusType
86
+
87
+
88
+ def list_kg_classes():
89
+ """List all KG classes defined in this module"""
90
+ return [
91
+ obj
92
+ for name, obj in inspect.getmembers(sys.modules[__name__])
93
+ if inspect.isclass(obj) and issubclass(obj, KGObject) and obj.__module__.startswith(__name__)
94
+ ]
95
+
96
+
97
+ def list_embedded_metadata_classes():
98
+ """List all embedded metadata classes defined in this module"""
99
+ return [
100
+ obj
101
+ for name, obj in inspect.getmembers(sys.modules[__name__])
102
+ if inspect.isclass(obj) and issubclass(obj, EmbeddedMetadata) and obj.__module__.startswith(__name__)
103
+ ]
104
+
105
+
106
+ def set_error_handling(value):
107
+ """
108
+ Control validation for all classes in this module.
109
+
110
+ Args:
111
+ value (str): action to follow when there is a validation failure.
112
+ (e.g. if a required property is not provided).
113
+ Possible values: "error", "warning", "log", None
114
+ """
115
+ for cls in list_kg_classes() + list_embedded_metadata_classes():
116
+ cls.set_error_handling(value)
@@ -0,0 +1,97 @@
1
+ """
2
+ Structured information about the status of an action.
3
+ """
4
+
5
+ # this file was auto-generated
6
+
7
+ from openminds.properties import Property
8
+ from openminds.v4.controlled_terms import ActionStatusType as OMActionStatusType
9
+ from fairgraph import KGObject
10
+
11
+
12
+ from openminds import IRI
13
+
14
+
15
+ class ActionStatusType(KGObject, OMActionStatusType):
16
+ """
17
+ Structured information about the status of an action.
18
+ """
19
+
20
+ type_ = "https://openminds.om-i.org/types/ActionStatusType"
21
+ default_space = "controlled"
22
+ # forward properties are defined in the parent class (in openMINDS-Python)
23
+ reverse_properties = [
24
+ Property(
25
+ "describes",
26
+ [
27
+ "openminds.v4.computation.ValidationTestVersion",
28
+ "openminds.v4.computation.WorkflowRecipeVersion",
29
+ "openminds.v4.core.DatasetVersion",
30
+ "openminds.v4.core.MetaDataModelVersion",
31
+ "openminds.v4.core.ModelVersion",
32
+ "openminds.v4.core.SoftwareVersion",
33
+ "openminds.v4.core.WebServiceVersion",
34
+ "openminds.v4.publications.Book",
35
+ "openminds.v4.publications.Chapter",
36
+ "openminds.v4.publications.LearningResource",
37
+ "openminds.v4.publications.LivePaperVersion",
38
+ "openminds.v4.publications.ScholarlyArticle",
39
+ "openminds.v4.sands.BrainAtlasVersion",
40
+ "openminds.v4.sands.CommonCoordinateSpaceVersion",
41
+ ],
42
+ "keyword",
43
+ reverse="keywords",
44
+ multiple=True,
45
+ description="reverse of 'keywords'",
46
+ ),
47
+ Property(
48
+ "is_status_of",
49
+ [
50
+ "openminds.v4.computation.DataAnalysis",
51
+ "openminds.v4.computation.DataCopy",
52
+ "openminds.v4.computation.GenericComputation",
53
+ "openminds.v4.computation.ModelValidation",
54
+ "openminds.v4.computation.Optimization",
55
+ "openminds.v4.computation.Simulation",
56
+ "openminds.v4.computation.Visualization",
57
+ ],
58
+ "status",
59
+ reverse="status",
60
+ multiple=True,
61
+ description="reverse of 'status'",
62
+ ),
63
+ ]
64
+ existence_query_properties = ("name",)
65
+
66
+ def __init__(
67
+ self,
68
+ name=None,
69
+ definition=None,
70
+ describes=None,
71
+ description=None,
72
+ interlex_identifier=None,
73
+ is_status_of=None,
74
+ knowledge_space_link=None,
75
+ preferred_ontology_identifier=None,
76
+ synonyms=None,
77
+ id=None,
78
+ data=None,
79
+ space=None,
80
+ release_status=None,
81
+ ):
82
+ return KGObject.__init__(
83
+ self,
84
+ id=id,
85
+ space=space,
86
+ release_status=release_status,
87
+ data=data,
88
+ name=name,
89
+ definition=definition,
90
+ describes=describes,
91
+ description=description,
92
+ interlex_identifier=interlex_identifier,
93
+ is_status_of=is_status_of,
94
+ knowledge_space_link=knowledge_space_link,
95
+ preferred_ontology_identifier=preferred_ontology_identifier,
96
+ synonyms=synonyms,
97
+ )
@@ -0,0 +1,89 @@
1
+ """
2
+ Structured information on the life cycle (semantic term) of a specific age group.
3
+ """
4
+
5
+ # this file was auto-generated
6
+
7
+ from openminds.properties import Property
8
+ from openminds.v4.controlled_terms import AgeCategory as OMAgeCategory
9
+ from fairgraph import KGObject
10
+
11
+
12
+ from openminds import IRI
13
+
14
+
15
+ class AgeCategory(KGObject, OMAgeCategory):
16
+ """
17
+ Structured information on the life cycle (semantic term) of a specific age group.
18
+ """
19
+
20
+ type_ = "https://openminds.om-i.org/types/AgeCategory"
21
+ default_space = "controlled"
22
+ # forward properties are defined in the parent class (in openMINDS-Python)
23
+ reverse_properties = [
24
+ Property(
25
+ "describes",
26
+ [
27
+ "openminds.v4.computation.ValidationTestVersion",
28
+ "openminds.v4.computation.WorkflowRecipeVersion",
29
+ "openminds.v4.core.DatasetVersion",
30
+ "openminds.v4.core.MetaDataModelVersion",
31
+ "openminds.v4.core.ModelVersion",
32
+ "openminds.v4.core.SoftwareVersion",
33
+ "openminds.v4.core.WebServiceVersion",
34
+ "openminds.v4.publications.Book",
35
+ "openminds.v4.publications.Chapter",
36
+ "openminds.v4.publications.LearningResource",
37
+ "openminds.v4.publications.LivePaperVersion",
38
+ "openminds.v4.publications.ScholarlyArticle",
39
+ "openminds.v4.sands.BrainAtlasVersion",
40
+ "openminds.v4.sands.CommonCoordinateSpaceVersion",
41
+ ],
42
+ "keyword",
43
+ reverse="keywords",
44
+ multiple=True,
45
+ description="reverse of 'keywords'",
46
+ ),
47
+ Property(
48
+ "is_age_category_of",
49
+ ["openminds.v4.core.SubjectGroupState", "openminds.v4.core.SubjectState"],
50
+ "ageCategory",
51
+ reverse="age_categories",
52
+ multiple=True,
53
+ description="reverse of 'age_categories'",
54
+ ),
55
+ ]
56
+ existence_query_properties = ("name",)
57
+
58
+ def __init__(
59
+ self,
60
+ name=None,
61
+ definition=None,
62
+ describes=None,
63
+ description=None,
64
+ interlex_identifier=None,
65
+ is_age_category_of=None,
66
+ knowledge_space_link=None,
67
+ preferred_ontology_identifier=None,
68
+ synonyms=None,
69
+ id=None,
70
+ data=None,
71
+ space=None,
72
+ release_status=None,
73
+ ):
74
+ return KGObject.__init__(
75
+ self,
76
+ id=id,
77
+ space=space,
78
+ release_status=release_status,
79
+ data=data,
80
+ name=name,
81
+ definition=definition,
82
+ describes=describes,
83
+ description=description,
84
+ interlex_identifier=interlex_identifier,
85
+ is_age_category_of=is_age_category_of,
86
+ knowledge_space_link=knowledge_space_link,
87
+ preferred_ontology_identifier=preferred_ontology_identifier,
88
+ synonyms=synonyms,
89
+ )
@@ -0,0 +1,108 @@
1
+ """
2
+ <description not available>
3
+ """
4
+
5
+ # this file was auto-generated
6
+
7
+ from openminds.properties import Property
8
+ from openminds.v4.controlled_terms import AnalysisTechnique as OMAnalysisTechnique
9
+ from fairgraph import KGObject
10
+
11
+
12
+ from openminds import IRI
13
+
14
+
15
+ class AnalysisTechnique(KGObject, OMAnalysisTechnique):
16
+ """
17
+ <description not available>
18
+ """
19
+
20
+ type_ = "https://openminds.om-i.org/types/AnalysisTechnique"
21
+ default_space = "controlled"
22
+ # forward properties are defined in the parent class (in openMINDS-Python)
23
+ reverse_properties = [
24
+ Property(
25
+ "describes",
26
+ [
27
+ "openminds.v4.computation.ValidationTestVersion",
28
+ "openminds.v4.computation.WorkflowRecipeVersion",
29
+ "openminds.v4.core.MetaDataModelVersion",
30
+ "openminds.v4.core.ModelVersion",
31
+ "openminds.v4.core.SoftwareVersion",
32
+ "openminds.v4.core.WebServiceVersion",
33
+ "openminds.v4.publications.Book",
34
+ "openminds.v4.publications.Chapter",
35
+ "openminds.v4.publications.LearningResource",
36
+ "openminds.v4.publications.LivePaperVersion",
37
+ "openminds.v4.publications.ScholarlyArticle",
38
+ "openminds.v4.sands.BrainAtlasVersion",
39
+ "openminds.v4.sands.CommonCoordinateSpaceVersion",
40
+ ],
41
+ "keyword",
42
+ reverse="keywords",
43
+ multiple=True,
44
+ description="reverse of 'keywords'",
45
+ ),
46
+ Property(
47
+ "is_used_to_group",
48
+ "openminds.v4.core.FileBundle",
49
+ "groupedBy",
50
+ reverse="grouped_by",
51
+ multiple=True,
52
+ description="reverse of 'grouped_by'",
53
+ ),
54
+ Property(
55
+ "used_in",
56
+ [
57
+ "openminds.v4.computation.DataAnalysis",
58
+ "openminds.v4.computation.DataCopy",
59
+ "openminds.v4.computation.GenericComputation",
60
+ "openminds.v4.computation.ModelValidation",
61
+ "openminds.v4.computation.Optimization",
62
+ "openminds.v4.computation.Simulation",
63
+ "openminds.v4.computation.Visualization",
64
+ "openminds.v4.core.DatasetVersion",
65
+ "openminds.v4.core.Protocol",
66
+ ],
67
+ "technique",
68
+ reverse="techniques",
69
+ multiple=True,
70
+ description="reverse of 'techniques'",
71
+ ),
72
+ ]
73
+ existence_query_properties = ("name",)
74
+
75
+ def __init__(
76
+ self,
77
+ name=None,
78
+ definition=None,
79
+ describes=None,
80
+ description=None,
81
+ interlex_identifier=None,
82
+ is_used_to_group=None,
83
+ knowledge_space_link=None,
84
+ preferred_ontology_identifier=None,
85
+ synonyms=None,
86
+ used_in=None,
87
+ id=None,
88
+ data=None,
89
+ space=None,
90
+ release_status=None,
91
+ ):
92
+ return KGObject.__init__(
93
+ self,
94
+ id=id,
95
+ space=space,
96
+ release_status=release_status,
97
+ data=data,
98
+ name=name,
99
+ definition=definition,
100
+ describes=describes,
101
+ description=description,
102
+ interlex_identifier=interlex_identifier,
103
+ is_used_to_group=is_used_to_group,
104
+ knowledge_space_link=knowledge_space_link,
105
+ preferred_ontology_identifier=preferred_ontology_identifier,
106
+ synonyms=synonyms,
107
+ used_in=used_in,
108
+ )
@@ -0,0 +1,89 @@
1
+ """
2
+ Structured information on the anatomical directions of the X, Y, and Z axis.
3
+ """
4
+
5
+ # this file was auto-generated
6
+
7
+ from openminds.properties import Property
8
+ from openminds.v4.controlled_terms import AnatomicalAxesOrientation as OMAnatomicalAxesOrientation
9
+ from fairgraph import KGObject
10
+
11
+
12
+ from openminds import IRI
13
+
14
+
15
+ class AnatomicalAxesOrientation(KGObject, OMAnatomicalAxesOrientation):
16
+ """
17
+ Structured information on the anatomical directions of the X, Y, and Z axis.
18
+ """
19
+
20
+ type_ = "https://openminds.om-i.org/types/AnatomicalAxesOrientation"
21
+ default_space = "controlled"
22
+ # forward properties are defined in the parent class (in openMINDS-Python)
23
+ reverse_properties = [
24
+ Property(
25
+ "describes",
26
+ [
27
+ "openminds.v4.computation.ValidationTestVersion",
28
+ "openminds.v4.computation.WorkflowRecipeVersion",
29
+ "openminds.v4.core.DatasetVersion",
30
+ "openminds.v4.core.MetaDataModelVersion",
31
+ "openminds.v4.core.ModelVersion",
32
+ "openminds.v4.core.SoftwareVersion",
33
+ "openminds.v4.core.WebServiceVersion",
34
+ "openminds.v4.publications.Book",
35
+ "openminds.v4.publications.Chapter",
36
+ "openminds.v4.publications.LearningResource",
37
+ "openminds.v4.publications.LivePaperVersion",
38
+ "openminds.v4.publications.ScholarlyArticle",
39
+ "openminds.v4.sands.BrainAtlasVersion",
40
+ "openminds.v4.sands.CommonCoordinateSpaceVersion",
41
+ ],
42
+ "keyword",
43
+ reverse="keywords",
44
+ multiple=True,
45
+ description="reverse of 'keywords'",
46
+ ),
47
+ Property(
48
+ "is_orientation_of",
49
+ "openminds.v4.sands.CustomCoordinateSpace",
50
+ "anatomicalAxesOrientation",
51
+ reverse="anatomical_axes_orientation",
52
+ multiple=True,
53
+ description="reverse of 'anatomical_axes_orientation'",
54
+ ),
55
+ ]
56
+ existence_query_properties = ("name",)
57
+
58
+ def __init__(
59
+ self,
60
+ name=None,
61
+ definition=None,
62
+ describes=None,
63
+ description=None,
64
+ interlex_identifier=None,
65
+ is_orientation_of=None,
66
+ knowledge_space_link=None,
67
+ preferred_ontology_identifier=None,
68
+ synonyms=None,
69
+ id=None,
70
+ data=None,
71
+ space=None,
72
+ release_status=None,
73
+ ):
74
+ return KGObject.__init__(
75
+ self,
76
+ id=id,
77
+ space=space,
78
+ release_status=release_status,
79
+ data=data,
80
+ name=name,
81
+ definition=definition,
82
+ describes=describes,
83
+ description=description,
84
+ interlex_identifier=interlex_identifier,
85
+ is_orientation_of=is_orientation_of,
86
+ knowledge_space_link=knowledge_space_link,
87
+ preferred_ontology_identifier=preferred_ontology_identifier,
88
+ synonyms=synonyms,
89
+ )
@@ -0,0 +1,89 @@
1
+ """
2
+ <description not available>
3
+ """
4
+
5
+ # this file was auto-generated
6
+
7
+ from openminds.properties import Property
8
+ from openminds.v4.controlled_terms import AnatomicalIdentificationType as OMAnatomicalIdentificationType
9
+ from fairgraph import KGObject
10
+
11
+
12
+ from openminds import IRI
13
+
14
+
15
+ class AnatomicalIdentificationType(KGObject, OMAnatomicalIdentificationType):
16
+ """
17
+ <description not available>
18
+ """
19
+
20
+ type_ = "https://openminds.om-i.org/types/AnatomicalIdentificationType"
21
+ default_space = "controlled"
22
+ # forward properties are defined in the parent class (in openMINDS-Python)
23
+ reverse_properties = [
24
+ Property(
25
+ "describes",
26
+ [
27
+ "openminds.v4.computation.ValidationTestVersion",
28
+ "openminds.v4.computation.WorkflowRecipeVersion",
29
+ "openminds.v4.core.DatasetVersion",
30
+ "openminds.v4.core.MetaDataModelVersion",
31
+ "openminds.v4.core.ModelVersion",
32
+ "openminds.v4.core.SoftwareVersion",
33
+ "openminds.v4.core.WebServiceVersion",
34
+ "openminds.v4.publications.Book",
35
+ "openminds.v4.publications.Chapter",
36
+ "openminds.v4.publications.LearningResource",
37
+ "openminds.v4.publications.LivePaperVersion",
38
+ "openminds.v4.publications.ScholarlyArticle",
39
+ "openminds.v4.sands.BrainAtlasVersion",
40
+ "openminds.v4.sands.CommonCoordinateSpaceVersion",
41
+ ],
42
+ "keyword",
43
+ reverse="keywords",
44
+ multiple=True,
45
+ description="reverse of 'keywords'",
46
+ ),
47
+ Property(
48
+ "is_type_of",
49
+ "openminds.v4.sands.AnatomicalTargetPosition",
50
+ "targetIdentificationType",
51
+ reverse="target_identification_type",
52
+ multiple=True,
53
+ description="reverse of 'target_identification_type'",
54
+ ),
55
+ ]
56
+ existence_query_properties = ("name",)
57
+
58
+ def __init__(
59
+ self,
60
+ name=None,
61
+ definition=None,
62
+ describes=None,
63
+ description=None,
64
+ interlex_identifier=None,
65
+ is_type_of=None,
66
+ knowledge_space_link=None,
67
+ preferred_ontology_identifier=None,
68
+ synonyms=None,
69
+ id=None,
70
+ data=None,
71
+ space=None,
72
+ release_status=None,
73
+ ):
74
+ return KGObject.__init__(
75
+ self,
76
+ id=id,
77
+ space=space,
78
+ release_status=release_status,
79
+ data=data,
80
+ name=name,
81
+ definition=definition,
82
+ describes=describes,
83
+ description=description,
84
+ interlex_identifier=interlex_identifier,
85
+ is_type_of=is_type_of,
86
+ knowledge_space_link=knowledge_space_link,
87
+ preferred_ontology_identifier=preferred_ontology_identifier,
88
+ synonyms=synonyms,
89
+ )
@@ -0,0 +1,89 @@
1
+ """
2
+ <description not available>
3
+ """
4
+
5
+ # this file was auto-generated
6
+
7
+ from openminds.properties import Property
8
+ from openminds.v4.controlled_terms import AnatomicalPlane as OMAnatomicalPlane
9
+ from fairgraph import KGObject
10
+
11
+
12
+ from openminds import IRI
13
+
14
+
15
+ class AnatomicalPlane(KGObject, OMAnatomicalPlane):
16
+ """
17
+ <description not available>
18
+ """
19
+
20
+ type_ = "https://openminds.om-i.org/types/AnatomicalPlane"
21
+ default_space = "controlled"
22
+ # forward properties are defined in the parent class (in openMINDS-Python)
23
+ reverse_properties = [
24
+ Property(
25
+ "describes",
26
+ [
27
+ "openminds.v4.computation.ValidationTestVersion",
28
+ "openminds.v4.computation.WorkflowRecipeVersion",
29
+ "openminds.v4.core.DatasetVersion",
30
+ "openminds.v4.core.MetaDataModelVersion",
31
+ "openminds.v4.core.ModelVersion",
32
+ "openminds.v4.core.SoftwareVersion",
33
+ "openminds.v4.core.WebServiceVersion",
34
+ "openminds.v4.publications.Book",
35
+ "openminds.v4.publications.Chapter",
36
+ "openminds.v4.publications.LearningResource",
37
+ "openminds.v4.publications.LivePaperVersion",
38
+ "openminds.v4.publications.ScholarlyArticle",
39
+ "openminds.v4.sands.BrainAtlasVersion",
40
+ "openminds.v4.sands.CommonCoordinateSpaceVersion",
41
+ ],
42
+ "keyword",
43
+ reverse="keywords",
44
+ multiple=True,
45
+ description="reverse of 'keywords'",
46
+ ),
47
+ Property(
48
+ "used_in",
49
+ "openminds.v4.specimen_prep.SlicingDeviceUsage",
50
+ "slicingPlane",
51
+ reverse="slicing_plane",
52
+ multiple=True,
53
+ description="reverse of 'slicing_plane'",
54
+ ),
55
+ ]
56
+ existence_query_properties = ("name",)
57
+
58
+ def __init__(
59
+ self,
60
+ name=None,
61
+ definition=None,
62
+ describes=None,
63
+ description=None,
64
+ interlex_identifier=None,
65
+ knowledge_space_link=None,
66
+ preferred_ontology_identifier=None,
67
+ synonyms=None,
68
+ used_in=None,
69
+ id=None,
70
+ data=None,
71
+ space=None,
72
+ release_status=None,
73
+ ):
74
+ return KGObject.__init__(
75
+ self,
76
+ id=id,
77
+ space=space,
78
+ release_status=release_status,
79
+ data=data,
80
+ name=name,
81
+ definition=definition,
82
+ describes=describes,
83
+ description=description,
84
+ interlex_identifier=interlex_identifier,
85
+ knowledge_space_link=knowledge_space_link,
86
+ preferred_ontology_identifier=preferred_ontology_identifier,
87
+ synonyms=synonyms,
88
+ used_in=used_in,
89
+ )