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.
- fairgraph/__init__.py +61 -0
- fairgraph/base.py +104 -0
- fairgraph/caching.py +52 -0
- fairgraph/client.py +867 -0
- fairgraph/collection.py +104 -0
- fairgraph/embedded.py +122 -0
- fairgraph/errors.py +47 -0
- fairgraph/fields.py +11 -0
- fairgraph/kgobject.py +1087 -0
- fairgraph/kgproxy.py +178 -0
- fairgraph/kgquery.py +151 -0
- fairgraph/node.py +488 -0
- fairgraph/openminds/__init__.py +1 -0
- fairgraph/openminds/chemicals/__init__.py +40 -0
- fairgraph/openminds/chemicals/amount_of_chemical.py +23 -0
- fairgraph/openminds/chemicals/chemical_mixture.py +72 -0
- fairgraph/openminds/chemicals/chemical_substance.py +67 -0
- fairgraph/openminds/chemicals/product_source.py +57 -0
- fairgraph/openminds/computation/__init__.py +53 -0
- fairgraph/openminds/computation/data_analysis.py +104 -0
- fairgraph/openminds/computation/data_copy.py +104 -0
- fairgraph/openminds/computation/environment.py +66 -0
- fairgraph/openminds/computation/generic_computation.py +104 -0
- fairgraph/openminds/computation/hardware_system.py +53 -0
- fairgraph/openminds/computation/launch_configuration.py +68 -0
- fairgraph/openminds/computation/local_file.py +83 -0
- fairgraph/openminds/computation/model_validation.py +107 -0
- fairgraph/openminds/computation/optimization.py +104 -0
- fairgraph/openminds/computation/simulation.py +104 -0
- fairgraph/openminds/computation/software_agent.py +81 -0
- fairgraph/openminds/computation/validation_test.py +105 -0
- fairgraph/openminds/computation/validation_test_version.py +180 -0
- fairgraph/openminds/computation/visualization.py +104 -0
- fairgraph/openminds/computation/workflow_execution.py +44 -0
- fairgraph/openminds/computation/workflow_recipe.py +95 -0
- fairgraph/openminds/computation/workflow_recipe_version.py +185 -0
- fairgraph/openminds/controlled_terms/__init__.py +116 -0
- fairgraph/openminds/controlled_terms/action_status_type.py +97 -0
- fairgraph/openminds/controlled_terms/age_category.py +89 -0
- fairgraph/openminds/controlled_terms/analysis_technique.py +108 -0
- fairgraph/openminds/controlled_terms/anatomical_axes_orientation.py +89 -0
- fairgraph/openminds/controlled_terms/anatomical_identification_type.py +89 -0
- fairgraph/openminds/controlled_terms/anatomical_plane.py +89 -0
- fairgraph/openminds/controlled_terms/annotation_criteria_type.py +89 -0
- fairgraph/openminds/controlled_terms/annotation_type.py +89 -0
- fairgraph/openminds/controlled_terms/atlas_type.py +88 -0
- fairgraph/openminds/controlled_terms/auditory_stimulus_type.py +127 -0
- fairgraph/openminds/controlled_terms/biological_order.py +117 -0
- fairgraph/openminds/controlled_terms/biological_process.py +79 -0
- fairgraph/openminds/controlled_terms/biological_sex.py +132 -0
- fairgraph/openminds/controlled_terms/breeding_type.py +127 -0
- fairgraph/openminds/controlled_terms/cell_culture_type.py +117 -0
- fairgraph/openminds/controlled_terms/cell_type.py +151 -0
- fairgraph/openminds/controlled_terms/chemical_mixture_type.py +89 -0
- fairgraph/openminds/controlled_terms/colormap.py +79 -0
- fairgraph/openminds/controlled_terms/contribution_type.py +79 -0
- fairgraph/openminds/controlled_terms/cranial_window_construction_type.py +89 -0
- fairgraph/openminds/controlled_terms/cranial_window_reinforcement_type.py +89 -0
- fairgraph/openminds/controlled_terms/criteria_quality_type.py +89 -0
- fairgraph/openminds/controlled_terms/data_type.py +89 -0
- fairgraph/openminds/controlled_terms/device_type.py +94 -0
- fairgraph/openminds/controlled_terms/difference_measure.py +89 -0
- fairgraph/openminds/controlled_terms/disease.py +142 -0
- fairgraph/openminds/controlled_terms/disease_model.py +142 -0
- fairgraph/openminds/controlled_terms/educational_level.py +79 -0
- fairgraph/openminds/controlled_terms/electrical_stimulus_type.py +137 -0
- fairgraph/openminds/controlled_terms/ethics_assessment.py +79 -0
- fairgraph/openminds/controlled_terms/experimental_approach.py +79 -0
- fairgraph/openminds/controlled_terms/file_bundle_grouping.py +99 -0
- fairgraph/openminds/controlled_terms/file_repository_type.py +89 -0
- fairgraph/openminds/controlled_terms/file_usage_role.py +89 -0
- fairgraph/openminds/controlled_terms/genetic_strain_type.py +127 -0
- fairgraph/openminds/controlled_terms/gustatory_stimulus_type.py +127 -0
- fairgraph/openminds/controlled_terms/handedness.py +127 -0
- fairgraph/openminds/controlled_terms/language.py +88 -0
- fairgraph/openminds/controlled_terms/laterality.py +94 -0
- fairgraph/openminds/controlled_terms/learning_resource_type.py +88 -0
- fairgraph/openminds/controlled_terms/measured_quantity.py +89 -0
- fairgraph/openminds/controlled_terms/measured_signal_type.py +79 -0
- fairgraph/openminds/controlled_terms/meta_data_model_type.py +88 -0
- fairgraph/openminds/controlled_terms/model_abstraction_level.py +89 -0
- fairgraph/openminds/controlled_terms/model_scope.py +89 -0
- fairgraph/openminds/controlled_terms/molecular_entity.py +142 -0
- fairgraph/openminds/controlled_terms/mri_pulse_sequence.py +98 -0
- fairgraph/openminds/controlled_terms/mri_weighting.py +98 -0
- fairgraph/openminds/controlled_terms/olfactory_stimulus_type.py +127 -0
- fairgraph/openminds/controlled_terms/operating_device.py +79 -0
- fairgraph/openminds/controlled_terms/operating_system.py +88 -0
- fairgraph/openminds/controlled_terms/optical_stimulus_type.py +127 -0
- fairgraph/openminds/controlled_terms/organ.py +161 -0
- fairgraph/openminds/controlled_terms/organism_substance.py +151 -0
- fairgraph/openminds/controlled_terms/organism_system.py +117 -0
- fairgraph/openminds/controlled_terms/patch_clamp_variation.py +89 -0
- fairgraph/openminds/controlled_terms/preparation_type.py +98 -0
- fairgraph/openminds/controlled_terms/product_accessibility.py +79 -0
- fairgraph/openminds/controlled_terms/programming_language.py +88 -0
- fairgraph/openminds/controlled_terms/qualitative_overlap.py +79 -0
- fairgraph/openminds/controlled_terms/semantic_data_type.py +79 -0
- fairgraph/openminds/controlled_terms/service.py +89 -0
- fairgraph/openminds/controlled_terms/setup_type.py +89 -0
- fairgraph/openminds/controlled_terms/software_application_category.py +79 -0
- fairgraph/openminds/controlled_terms/software_feature.py +79 -0
- fairgraph/openminds/controlled_terms/species.py +143 -0
- fairgraph/openminds/controlled_terms/stimulation_approach.py +98 -0
- fairgraph/openminds/controlled_terms/stimulation_technique.py +98 -0
- fairgraph/openminds/controlled_terms/subcellular_entity.py +143 -0
- fairgraph/openminds/controlled_terms/subject_attribute.py +89 -0
- fairgraph/openminds/controlled_terms/tactile_stimulus_type.py +127 -0
- fairgraph/openminds/controlled_terms/technique.py +108 -0
- fairgraph/openminds/controlled_terms/term_suggestion.py +121 -0
- fairgraph/openminds/controlled_terms/terminology.py +89 -0
- fairgraph/openminds/controlled_terms/tissue_sample_attribute.py +89 -0
- fairgraph/openminds/controlled_terms/tissue_sample_type.py +127 -0
- fairgraph/openminds/controlled_terms/type_of_uncertainty.py +89 -0
- fairgraph/openminds/controlled_terms/uberon_parcellation.py +153 -0
- fairgraph/openminds/controlled_terms/unit_of_measurement.py +108 -0
- fairgraph/openminds/controlled_terms/visual_stimulus_type.py +127 -0
- fairgraph/openminds/controlledterms.py +6 -0
- fairgraph/openminds/core/__init__.py +107 -0
- fairgraph/openminds/core/actors/__init__.py +7 -0
- fairgraph/openminds/core/actors/account_information.py +44 -0
- fairgraph/openminds/core/actors/affiliation.py +30 -0
- fairgraph/openminds/core/actors/consortium.py +175 -0
- fairgraph/openminds/core/actors/contact_information.py +43 -0
- fairgraph/openminds/core/actors/contribution.py +23 -0
- fairgraph/openminds/core/actors/organization.py +199 -0
- fairgraph/openminds/core/actors/person.py +236 -0
- fairgraph/openminds/core/data/__init__.py +13 -0
- fairgraph/openminds/core/data/content_type.py +107 -0
- fairgraph/openminds/core/data/content_type_pattern.py +53 -0
- fairgraph/openminds/core/data/copyright.py +23 -0
- fairgraph/openminds/core/data/file.py +275 -0
- fairgraph/openminds/core/data/file_archive.py +71 -0
- fairgraph/openminds/core/data/file_bundle.py +150 -0
- fairgraph/openminds/core/data/file_path_pattern.py +23 -0
- fairgraph/openminds/core/data/file_repository.py +99 -0
- fairgraph/openminds/core/data/file_repository_structure.py +51 -0
- fairgraph/openminds/core/data/hash.py +23 -0
- fairgraph/openminds/core/data/license.py +77 -0
- fairgraph/openminds/core/data/measurement.py +45 -0
- fairgraph/openminds/core/data/service_link.py +49 -0
- fairgraph/openminds/core/digital_identifier/__init__.py +11 -0
- fairgraph/openminds/core/digital_identifier/doi.py +98 -0
- fairgraph/openminds/core/digital_identifier/gridid.py +41 -0
- fairgraph/openminds/core/digital_identifier/handle.py +52 -0
- fairgraph/openminds/core/digital_identifier/identifiers_dot_org_id.py +41 -0
- fairgraph/openminds/core/digital_identifier/isbn.py +88 -0
- fairgraph/openminds/core/digital_identifier/issn.py +63 -0
- fairgraph/openminds/core/digital_identifier/orcid.py +41 -0
- fairgraph/openminds/core/digital_identifier/rorid.py +41 -0
- fairgraph/openminds/core/digital_identifier/rrid.py +55 -0
- fairgraph/openminds/core/digital_identifier/stock_number.py +23 -0
- fairgraph/openminds/core/digital_identifier/swhid.py +48 -0
- fairgraph/openminds/core/miscellaneous/__init__.py +7 -0
- fairgraph/openminds/core/miscellaneous/comment.py +47 -0
- fairgraph/openminds/core/miscellaneous/funding.py +70 -0
- fairgraph/openminds/core/miscellaneous/quantitative_value.py +43 -0
- fairgraph/openminds/core/miscellaneous/quantitative_value_array.py +49 -0
- fairgraph/openminds/core/miscellaneous/quantitative_value_range.py +43 -0
- fairgraph/openminds/core/miscellaneous/research_product_group.py +26 -0
- fairgraph/openminds/core/miscellaneous/web_resource.py +104 -0
- fairgraph/openminds/core/products/__init__.py +12 -0
- fairgraph/openminds/core/products/dataset.py +95 -0
- fairgraph/openminds/core/products/dataset_version.py +240 -0
- fairgraph/openminds/core/products/meta_data_model.py +95 -0
- fairgraph/openminds/core/products/meta_data_model_version.py +168 -0
- fairgraph/openminds/core/products/model.py +103 -0
- fairgraph/openminds/core/products/model_version.py +235 -0
- fairgraph/openminds/core/products/project.py +56 -0
- fairgraph/openminds/core/products/setup.py +69 -0
- fairgraph/openminds/core/products/software.py +95 -0
- fairgraph/openminds/core/products/software_version.py +226 -0
- fairgraph/openminds/core/products/web_service.py +103 -0
- fairgraph/openminds/core/products/web_service_version.py +182 -0
- fairgraph/openminds/core/research/__init__.py +17 -0
- fairgraph/openminds/core/research/behavioral_protocol.py +69 -0
- fairgraph/openminds/core/research/configuration.py +67 -0
- fairgraph/openminds/core/research/custom_property_set.py +27 -0
- fairgraph/openminds/core/research/numerical_property.py +23 -0
- fairgraph/openminds/core/research/property_value_list.py +71 -0
- fairgraph/openminds/core/research/protocol.py +67 -0
- fairgraph/openminds/core/research/protocol_execution.py +76 -0
- fairgraph/openminds/core/research/strain.py +90 -0
- fairgraph/openminds/core/research/string_property.py +23 -0
- fairgraph/openminds/core/research/subject.py +79 -0
- fairgraph/openminds/core/research/subject_group.py +91 -0
- fairgraph/openminds/core/research/subject_group_state.py +113 -0
- fairgraph/openminds/core/research/subject_state.py +138 -0
- fairgraph/openminds/core/research/tissue_sample.py +87 -0
- fairgraph/openminds/core/research/tissue_sample_collection.py +99 -0
- fairgraph/openminds/core/research/tissue_sample_collection_state.py +109 -0
- fairgraph/openminds/core/research/tissue_sample_state.py +127 -0
- fairgraph/openminds/ephys/__init__.py +39 -0
- fairgraph/openminds/ephys/activity/__init__.py +3 -0
- fairgraph/openminds/ephys/activity/cell_patching.py +73 -0
- fairgraph/openminds/ephys/activity/electrode_placement.py +67 -0
- fairgraph/openminds/ephys/activity/recording_activity.py +67 -0
- fairgraph/openminds/ephys/device/__init__.py +6 -0
- fairgraph/openminds/ephys/device/electrode.py +81 -0
- fairgraph/openminds/ephys/device/electrode_array.py +85 -0
- fairgraph/openminds/ephys/device/electrode_array_usage.py +105 -0
- fairgraph/openminds/ephys/device/electrode_usage.py +101 -0
- fairgraph/openminds/ephys/device/pipette.py +81 -0
- fairgraph/openminds/ephys/device/pipette_usage.py +123 -0
- fairgraph/openminds/ephys/entity/__init__.py +2 -0
- fairgraph/openminds/ephys/entity/channel.py +23 -0
- fairgraph/openminds/ephys/entity/recording.py +63 -0
- fairgraph/openminds/publications/__init__.py +47 -0
- fairgraph/openminds/publications/book.py +106 -0
- fairgraph/openminds/publications/chapter.py +100 -0
- fairgraph/openminds/publications/learning_resource.py +90 -0
- fairgraph/openminds/publications/live_paper.py +95 -0
- fairgraph/openminds/publications/live_paper_resource_item.py +58 -0
- fairgraph/openminds/publications/live_paper_section.py +57 -0
- fairgraph/openminds/publications/live_paper_version.py +177 -0
- fairgraph/openminds/publications/periodical.py +53 -0
- fairgraph/openminds/publications/publication_issue.py +44 -0
- fairgraph/openminds/publications/publication_volume.py +44 -0
- fairgraph/openminds/publications/scholarly_article.py +146 -0
- fairgraph/openminds/sands/__init__.py +57 -0
- fairgraph/openminds/sands/atlas/__init__.py +9 -0
- fairgraph/openminds/sands/atlas/atlas_annotation.py +52 -0
- fairgraph/openminds/sands/atlas/brain_atlas.py +113 -0
- fairgraph/openminds/sands/atlas/brain_atlas_version.py +213 -0
- fairgraph/openminds/sands/atlas/common_coordinate_space.py +121 -0
- fairgraph/openminds/sands/atlas/common_coordinate_space_version.py +243 -0
- fairgraph/openminds/sands/atlas/parcellation_entity.py +133 -0
- fairgraph/openminds/sands/atlas/parcellation_entity_version.py +162 -0
- fairgraph/openminds/sands/atlas/parcellation_terminology.py +38 -0
- fairgraph/openminds/sands/atlas/parcellation_terminology_version.py +38 -0
- fairgraph/openminds/sands/mathematical_shapes/__init__.py +3 -0
- fairgraph/openminds/sands/mathematical_shapes/circle.py +23 -0
- fairgraph/openminds/sands/mathematical_shapes/ellipse.py +27 -0
- fairgraph/openminds/sands/mathematical_shapes/rectangle.py +23 -0
- fairgraph/openminds/sands/miscellaneous/__init__.py +6 -0
- fairgraph/openminds/sands/miscellaneous/anatomical_target_position.py +40 -0
- fairgraph/openminds/sands/miscellaneous/coordinate_point.py +23 -0
- fairgraph/openminds/sands/miscellaneous/qualitative_relation_assessment.py +34 -0
- fairgraph/openminds/sands/miscellaneous/quantitative_relation_assessment.py +38 -0
- fairgraph/openminds/sands/miscellaneous/single_color.py +24 -0
- fairgraph/openminds/sands/miscellaneous/viewer_specification.py +40 -0
- fairgraph/openminds/sands/non_atlas/__init__.py +3 -0
- fairgraph/openminds/sands/non_atlas/custom_anatomical_entity.py +110 -0
- fairgraph/openminds/sands/non_atlas/custom_annotation.py +54 -0
- fairgraph/openminds/sands/non_atlas/custom_coordinate_space.py +67 -0
- fairgraph/openminds/specimen_prep/__init__.py +38 -0
- fairgraph/openminds/specimen_prep/activity/__init__.py +3 -0
- fairgraph/openminds/specimen_prep/activity/cranial_window_preparation.py +69 -0
- fairgraph/openminds/specimen_prep/activity/tissue_culture_preparation.py +67 -0
- fairgraph/openminds/specimen_prep/activity/tissue_sample_slicing.py +69 -0
- fairgraph/openminds/specimen_prep/device/__init__.py +2 -0
- fairgraph/openminds/specimen_prep/device/slicing_device.py +73 -0
- fairgraph/openminds/specimen_prep/device/slicing_device_usage.py +117 -0
- fairgraph/openminds/specimenprep.py +4 -0
- fairgraph/openminds/stimulation/__init__.py +38 -0
- fairgraph/openminds/stimulation/activity/__init__.py +1 -0
- fairgraph/openminds/stimulation/activity/stimulation_activity.py +67 -0
- fairgraph/openminds/stimulation/stimulus/__init__.py +1 -0
- fairgraph/openminds/stimulation/stimulus/ephys_stimulus.py +63 -0
- fairgraph/queries.py +499 -0
- fairgraph/registry.py +123 -0
- fairgraph/utility.py +607 -0
- fairgraph-0.13.0.dist-info/METADATA +222 -0
- fairgraph-0.13.0.dist-info/RECORD +267 -0
- fairgraph-0.13.0.dist-info/WHEEL +5 -0
- fairgraph-0.13.0.dist-info/licenses/LICENSE.txt +177 -0
- fairgraph-0.13.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
"""
|
|
2
|
+
<description not available>
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
# this file was auto-generated
|
|
6
|
+
|
|
7
|
+
from openminds.properties import Property
|
|
8
|
+
from openminds.v4.core import WebService as OMWebService
|
|
9
|
+
from fairgraph import KGObject
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
from openminds import IRI
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class WebService(KGObject, OMWebService):
|
|
16
|
+
"""
|
|
17
|
+
<description not available>
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
type_ = "https://openminds.om-i.org/types/WebService"
|
|
21
|
+
default_space = "webservice"
|
|
22
|
+
# forward properties are defined in the parent class (in openMINDS-Python)
|
|
23
|
+
reverse_properties = [
|
|
24
|
+
Property(
|
|
25
|
+
"comments",
|
|
26
|
+
"openminds.v4.core.Comment",
|
|
27
|
+
"about",
|
|
28
|
+
reverse="about",
|
|
29
|
+
multiple=True,
|
|
30
|
+
description="reverse of 'about'",
|
|
31
|
+
),
|
|
32
|
+
Property(
|
|
33
|
+
"has_accounts",
|
|
34
|
+
"openminds.v4.core.AccountInformation",
|
|
35
|
+
"service",
|
|
36
|
+
reverse="service",
|
|
37
|
+
multiple=True,
|
|
38
|
+
description="reverse of 'service'",
|
|
39
|
+
),
|
|
40
|
+
Property(
|
|
41
|
+
"is_part_of",
|
|
42
|
+
["openminds.v4.core.Project", "openminds.v4.core.ResearchProductGroup"],
|
|
43
|
+
"hasPart",
|
|
44
|
+
reverse="has_parts",
|
|
45
|
+
multiple=True,
|
|
46
|
+
description="reverse of 'has_parts'",
|
|
47
|
+
),
|
|
48
|
+
Property(
|
|
49
|
+
"learning_resources",
|
|
50
|
+
"openminds.v4.publications.LearningResource",
|
|
51
|
+
"about",
|
|
52
|
+
reverse="about",
|
|
53
|
+
multiple=True,
|
|
54
|
+
description="reverse of 'about'",
|
|
55
|
+
),
|
|
56
|
+
]
|
|
57
|
+
aliases = {"name": "full_name", "versions": "has_versions", "alias": "short_name"}
|
|
58
|
+
existence_query_properties = ("short_name",)
|
|
59
|
+
|
|
60
|
+
def __init__(
|
|
61
|
+
self,
|
|
62
|
+
name=None,
|
|
63
|
+
alias=None,
|
|
64
|
+
comments=None,
|
|
65
|
+
custodians=None,
|
|
66
|
+
description=None,
|
|
67
|
+
developers=None,
|
|
68
|
+
full_name=None,
|
|
69
|
+
has_accounts=None,
|
|
70
|
+
has_versions=None,
|
|
71
|
+
homepage=None,
|
|
72
|
+
how_to_cite=None,
|
|
73
|
+
is_part_of=None,
|
|
74
|
+
learning_resources=None,
|
|
75
|
+
short_name=None,
|
|
76
|
+
versions=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
|
+
alias=alias,
|
|
90
|
+
comments=comments,
|
|
91
|
+
custodians=custodians,
|
|
92
|
+
description=description,
|
|
93
|
+
developers=developers,
|
|
94
|
+
full_name=full_name,
|
|
95
|
+
has_accounts=has_accounts,
|
|
96
|
+
has_versions=has_versions,
|
|
97
|
+
homepage=homepage,
|
|
98
|
+
how_to_cite=how_to_cite,
|
|
99
|
+
is_part_of=is_part_of,
|
|
100
|
+
learning_resources=learning_resources,
|
|
101
|
+
short_name=short_name,
|
|
102
|
+
versions=versions,
|
|
103
|
+
)
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
"""
|
|
2
|
+
<description not available>
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
# this file was auto-generated
|
|
6
|
+
|
|
7
|
+
from openminds.properties import Property
|
|
8
|
+
from openminds.v4.core import WebServiceVersion as OMWebServiceVersion
|
|
9
|
+
from fairgraph import KGObject
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
from datetime import date
|
|
13
|
+
from openminds import IRI
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class WebServiceVersion(KGObject, OMWebServiceVersion):
|
|
17
|
+
"""
|
|
18
|
+
<description not available>
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
type_ = "https://openminds.om-i.org/types/WebServiceVersion"
|
|
22
|
+
default_space = "webservice"
|
|
23
|
+
# forward properties are defined in the parent class (in openMINDS-Python)
|
|
24
|
+
reverse_properties = [
|
|
25
|
+
Property(
|
|
26
|
+
"comments",
|
|
27
|
+
"openminds.v4.core.Comment",
|
|
28
|
+
"about",
|
|
29
|
+
reverse="about",
|
|
30
|
+
multiple=True,
|
|
31
|
+
description="reverse of 'about'",
|
|
32
|
+
),
|
|
33
|
+
Property(
|
|
34
|
+
"is_old_version_of",
|
|
35
|
+
"openminds.v4.core.WebServiceVersion",
|
|
36
|
+
"isNewVersionOf",
|
|
37
|
+
reverse="is_new_version_of",
|
|
38
|
+
multiple=True,
|
|
39
|
+
description="reverse of 'is_new_version_of'",
|
|
40
|
+
),
|
|
41
|
+
Property(
|
|
42
|
+
"is_part_of",
|
|
43
|
+
["openminds.v4.core.Project", "openminds.v4.core.ResearchProductGroup"],
|
|
44
|
+
"hasPart",
|
|
45
|
+
reverse="has_parts",
|
|
46
|
+
multiple=True,
|
|
47
|
+
description="reverse of 'has_parts'",
|
|
48
|
+
),
|
|
49
|
+
Property(
|
|
50
|
+
"is_version_of",
|
|
51
|
+
"openminds.v4.core.WebService",
|
|
52
|
+
"hasVersion",
|
|
53
|
+
reverse="has_versions",
|
|
54
|
+
multiple=True,
|
|
55
|
+
description="reverse of 'has_versions'",
|
|
56
|
+
),
|
|
57
|
+
Property(
|
|
58
|
+
"learning_resources",
|
|
59
|
+
"openminds.v4.publications.LearningResource",
|
|
60
|
+
"about",
|
|
61
|
+
reverse="about",
|
|
62
|
+
multiple=True,
|
|
63
|
+
description="reverse of 'about'",
|
|
64
|
+
),
|
|
65
|
+
Property(
|
|
66
|
+
"used_for",
|
|
67
|
+
[
|
|
68
|
+
"openminds.v4.computation.DataAnalysis",
|
|
69
|
+
"openminds.v4.computation.DataCopy",
|
|
70
|
+
"openminds.v4.computation.GenericComputation",
|
|
71
|
+
"openminds.v4.computation.ModelValidation",
|
|
72
|
+
"openminds.v4.computation.Optimization",
|
|
73
|
+
"openminds.v4.computation.Simulation",
|
|
74
|
+
"openminds.v4.computation.Visualization",
|
|
75
|
+
],
|
|
76
|
+
"environment",
|
|
77
|
+
reverse="environment",
|
|
78
|
+
multiple=True,
|
|
79
|
+
description="reverse of 'environment'",
|
|
80
|
+
),
|
|
81
|
+
]
|
|
82
|
+
aliases = {"name": "full_name", "alias": "short_name"}
|
|
83
|
+
existence_query_properties = ("short_name", "version_identifier")
|
|
84
|
+
|
|
85
|
+
def __init__(
|
|
86
|
+
self,
|
|
87
|
+
name=None,
|
|
88
|
+
alias=None,
|
|
89
|
+
accessibility=None,
|
|
90
|
+
comments=None,
|
|
91
|
+
copyright=None,
|
|
92
|
+
custodians=None,
|
|
93
|
+
description=None,
|
|
94
|
+
developers=None,
|
|
95
|
+
full_documentation=None,
|
|
96
|
+
full_name=None,
|
|
97
|
+
funding=None,
|
|
98
|
+
has_parts=None,
|
|
99
|
+
homepage=None,
|
|
100
|
+
how_to_cite=None,
|
|
101
|
+
input_formats=None,
|
|
102
|
+
is_alternative_version_of=None,
|
|
103
|
+
is_new_version_of=None,
|
|
104
|
+
is_old_version_of=None,
|
|
105
|
+
is_part_of=None,
|
|
106
|
+
is_version_of=None,
|
|
107
|
+
keywords=None,
|
|
108
|
+
learning_resources=None,
|
|
109
|
+
other_contributions=None,
|
|
110
|
+
output_formats=None,
|
|
111
|
+
related_publications=None,
|
|
112
|
+
release_date=None,
|
|
113
|
+
repository=None,
|
|
114
|
+
short_name=None,
|
|
115
|
+
support_channels=None,
|
|
116
|
+
used_for=None,
|
|
117
|
+
version_identifier=None,
|
|
118
|
+
version_innovation=None,
|
|
119
|
+
id=None,
|
|
120
|
+
data=None,
|
|
121
|
+
space=None,
|
|
122
|
+
release_status=None,
|
|
123
|
+
):
|
|
124
|
+
return KGObject.__init__(
|
|
125
|
+
self,
|
|
126
|
+
id=id,
|
|
127
|
+
space=space,
|
|
128
|
+
release_status=release_status,
|
|
129
|
+
data=data,
|
|
130
|
+
name=name,
|
|
131
|
+
alias=alias,
|
|
132
|
+
accessibility=accessibility,
|
|
133
|
+
comments=comments,
|
|
134
|
+
copyright=copyright,
|
|
135
|
+
custodians=custodians,
|
|
136
|
+
description=description,
|
|
137
|
+
developers=developers,
|
|
138
|
+
full_documentation=full_documentation,
|
|
139
|
+
full_name=full_name,
|
|
140
|
+
funding=funding,
|
|
141
|
+
has_parts=has_parts,
|
|
142
|
+
homepage=homepage,
|
|
143
|
+
how_to_cite=how_to_cite,
|
|
144
|
+
input_formats=input_formats,
|
|
145
|
+
is_alternative_version_of=is_alternative_version_of,
|
|
146
|
+
is_new_version_of=is_new_version_of,
|
|
147
|
+
is_old_version_of=is_old_version_of,
|
|
148
|
+
is_part_of=is_part_of,
|
|
149
|
+
is_version_of=is_version_of,
|
|
150
|
+
keywords=keywords,
|
|
151
|
+
learning_resources=learning_resources,
|
|
152
|
+
other_contributions=other_contributions,
|
|
153
|
+
output_formats=output_formats,
|
|
154
|
+
related_publications=related_publications,
|
|
155
|
+
release_date=release_date,
|
|
156
|
+
repository=repository,
|
|
157
|
+
short_name=short_name,
|
|
158
|
+
support_channels=support_channels,
|
|
159
|
+
used_for=used_for,
|
|
160
|
+
version_identifier=version_identifier,
|
|
161
|
+
version_innovation=version_innovation,
|
|
162
|
+
)
|
|
163
|
+
|
|
164
|
+
def _get_inherited_property(self, property_name, client, release_status="released"):
|
|
165
|
+
value = getattr(self, property_name)
|
|
166
|
+
if value:
|
|
167
|
+
return value
|
|
168
|
+
else:
|
|
169
|
+
parent = self.is_version_of.resolve(client, release_status=release_status)
|
|
170
|
+
return getattr(parent, property_name)
|
|
171
|
+
|
|
172
|
+
def get_full_name(self, client, release_status="released"):
|
|
173
|
+
return self._get_inherited_property("full_name", client, release_status)
|
|
174
|
+
|
|
175
|
+
def get_short_name(self, client, release_status="released"):
|
|
176
|
+
return self._get_inherited_property("short_name", client, release_status)
|
|
177
|
+
|
|
178
|
+
def get_description(self, client, release_status="released"):
|
|
179
|
+
return self._get_inherited_property("description", client, release_status)
|
|
180
|
+
|
|
181
|
+
def get_developers(self, client, release_status="released"):
|
|
182
|
+
return self._get_inherited_property("developers", client, release_status)
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
from .behavioral_protocol import BehavioralProtocol
|
|
2
|
+
from .configuration import Configuration
|
|
3
|
+
from .custom_property_set import CustomPropertySet
|
|
4
|
+
from .numerical_property import NumericalProperty
|
|
5
|
+
from .property_value_list import PropertyValueList
|
|
6
|
+
from .protocol import Protocol
|
|
7
|
+
from .protocol_execution import ProtocolExecution
|
|
8
|
+
from .strain import Strain
|
|
9
|
+
from .string_property import StringProperty
|
|
10
|
+
from .subject import Subject
|
|
11
|
+
from .subject_group import SubjectGroup
|
|
12
|
+
from .subject_group_state import SubjectGroupState
|
|
13
|
+
from .subject_state import SubjectState
|
|
14
|
+
from .tissue_sample import TissueSample
|
|
15
|
+
from .tissue_sample_collection import TissueSampleCollection
|
|
16
|
+
from .tissue_sample_collection_state import TissueSampleCollectionState
|
|
17
|
+
from .tissue_sample_state import TissueSampleState
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Structured information about a protocol used in an experiment studying human or animal behavior.
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
# this file was auto-generated
|
|
6
|
+
|
|
7
|
+
from openminds.properties import Property
|
|
8
|
+
from openminds.v4.core import BehavioralProtocol as OMBehavioralProtocol
|
|
9
|
+
from fairgraph import KGObject
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class BehavioralProtocol(KGObject, OMBehavioralProtocol):
|
|
13
|
+
"""
|
|
14
|
+
Structured information about a protocol used in an experiment studying human or animal behavior.
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
type_ = "https://openminds.om-i.org/types/BehavioralProtocol"
|
|
18
|
+
default_space = "dataset"
|
|
19
|
+
# forward properties are defined in the parent class (in openMINDS-Python)
|
|
20
|
+
reverse_properties = [
|
|
21
|
+
Property(
|
|
22
|
+
"is_used_to_group",
|
|
23
|
+
"openminds.v4.core.FileBundle",
|
|
24
|
+
"groupedBy",
|
|
25
|
+
reverse="grouped_by",
|
|
26
|
+
multiple=True,
|
|
27
|
+
description="reverse of 'grouped_by'",
|
|
28
|
+
),
|
|
29
|
+
Property(
|
|
30
|
+
"used_in",
|
|
31
|
+
["openminds.v4.core.DatasetVersion", "openminds.v4.core.ProtocolExecution"],
|
|
32
|
+
"behavioralProtocol",
|
|
33
|
+
reverse="behavioral_protocols",
|
|
34
|
+
multiple=True,
|
|
35
|
+
description="reverse of 'behavioral_protocols'",
|
|
36
|
+
),
|
|
37
|
+
]
|
|
38
|
+
existence_query_properties = ("description", "name")
|
|
39
|
+
|
|
40
|
+
def __init__(
|
|
41
|
+
self,
|
|
42
|
+
name=None,
|
|
43
|
+
described_in=None,
|
|
44
|
+
description=None,
|
|
45
|
+
internal_identifier=None,
|
|
46
|
+
is_used_to_group=None,
|
|
47
|
+
stimulations=None,
|
|
48
|
+
stimulus_types=None,
|
|
49
|
+
used_in=None,
|
|
50
|
+
id=None,
|
|
51
|
+
data=None,
|
|
52
|
+
space=None,
|
|
53
|
+
release_status=None,
|
|
54
|
+
):
|
|
55
|
+
return KGObject.__init__(
|
|
56
|
+
self,
|
|
57
|
+
id=id,
|
|
58
|
+
space=space,
|
|
59
|
+
release_status=release_status,
|
|
60
|
+
data=data,
|
|
61
|
+
name=name,
|
|
62
|
+
described_in=described_in,
|
|
63
|
+
description=description,
|
|
64
|
+
internal_identifier=internal_identifier,
|
|
65
|
+
is_used_to_group=is_used_to_group,
|
|
66
|
+
stimulations=stimulations,
|
|
67
|
+
stimulus_types=stimulus_types,
|
|
68
|
+
used_in=used_in,
|
|
69
|
+
)
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Structured information about the properties or parameters of an entity or process.
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
# this file was auto-generated
|
|
6
|
+
|
|
7
|
+
from openminds.properties import Property
|
|
8
|
+
from openminds.v4.core import Configuration as OMConfiguration
|
|
9
|
+
from fairgraph import KGObject
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class Configuration(KGObject, OMConfiguration):
|
|
13
|
+
"""
|
|
14
|
+
Structured information about the properties or parameters of an entity or process.
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
type_ = "https://openminds.om-i.org/types/Configuration"
|
|
18
|
+
default_space = "common"
|
|
19
|
+
# forward properties are defined in the parent class (in openMINDS-Python)
|
|
20
|
+
reverse_properties = [
|
|
21
|
+
Property(
|
|
22
|
+
"is_configuration_of",
|
|
23
|
+
[
|
|
24
|
+
"openminds.v4.computation.Environment",
|
|
25
|
+
"openminds.v4.computation.ValidationTestVersion",
|
|
26
|
+
"openminds.v4.computation.WorkflowExecution",
|
|
27
|
+
],
|
|
28
|
+
"configuration",
|
|
29
|
+
reverse="configuration",
|
|
30
|
+
multiple=True,
|
|
31
|
+
description="reverse of 'configuration'",
|
|
32
|
+
),
|
|
33
|
+
Property(
|
|
34
|
+
"specifies",
|
|
35
|
+
"openminds.v4.stimulation.EphysStimulus",
|
|
36
|
+
"specification",
|
|
37
|
+
reverse="specifications",
|
|
38
|
+
multiple=True,
|
|
39
|
+
description="reverse of 'specifications'",
|
|
40
|
+
),
|
|
41
|
+
]
|
|
42
|
+
existence_query_properties = ("configuration",)
|
|
43
|
+
|
|
44
|
+
def __init__(
|
|
45
|
+
self,
|
|
46
|
+
lookup_label=None,
|
|
47
|
+
configuration=None,
|
|
48
|
+
format=None,
|
|
49
|
+
is_configuration_of=None,
|
|
50
|
+
specifies=None,
|
|
51
|
+
id=None,
|
|
52
|
+
data=None,
|
|
53
|
+
space=None,
|
|
54
|
+
release_status=None,
|
|
55
|
+
):
|
|
56
|
+
return KGObject.__init__(
|
|
57
|
+
self,
|
|
58
|
+
id=id,
|
|
59
|
+
space=space,
|
|
60
|
+
release_status=release_status,
|
|
61
|
+
data=data,
|
|
62
|
+
lookup_label=lookup_label,
|
|
63
|
+
configuration=configuration,
|
|
64
|
+
format=format,
|
|
65
|
+
is_configuration_of=is_configuration_of,
|
|
66
|
+
specifies=specifies,
|
|
67
|
+
)
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Structured information about properties of an entity that are not represented in an openMINDS schema.
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
# this file was auto-generated
|
|
6
|
+
|
|
7
|
+
from openminds.properties import Property
|
|
8
|
+
from openminds.v4.core import CustomPropertySet as OMCustomPropertySet
|
|
9
|
+
from fairgraph import EmbeddedMetadata
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class CustomPropertySet(EmbeddedMetadata, OMCustomPropertySet):
|
|
13
|
+
"""
|
|
14
|
+
Structured information about properties of an entity that are not represented in an openMINDS schema.
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
type_ = "https://openminds.om-i.org/types/CustomPropertySet"
|
|
18
|
+
# forward properties are defined in the parent class (in openMINDS-Python)
|
|
19
|
+
reverse_properties = []
|
|
20
|
+
existence_query_properties = ("context", "data_location", "relevant_for")
|
|
21
|
+
|
|
22
|
+
def __init__(
|
|
23
|
+
self, context=None, data_location=None, relevant_for=None, id=None, data=None, space=None, release_status=None
|
|
24
|
+
):
|
|
25
|
+
return EmbeddedMetadata.__init__(
|
|
26
|
+
self, data=data, context=context, data_location=data_location, relevant_for=relevant_for
|
|
27
|
+
)
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Structured information about a property of some entity or process whose value is a number.
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
# this file was auto-generated
|
|
6
|
+
|
|
7
|
+
from openminds.properties import Property
|
|
8
|
+
from openminds.v4.core import NumericalProperty as OMNumericalProperty
|
|
9
|
+
from fairgraph import EmbeddedMetadata
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class NumericalProperty(EmbeddedMetadata, OMNumericalProperty):
|
|
13
|
+
"""
|
|
14
|
+
Structured information about a property of some entity or process whose value is a number.
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
type_ = "https://openminds.om-i.org/types/NumericalProperty"
|
|
18
|
+
# forward properties are defined in the parent class (in openMINDS-Python)
|
|
19
|
+
reverse_properties = []
|
|
20
|
+
existence_query_properties = ("name", "values")
|
|
21
|
+
|
|
22
|
+
def __init__(self, name=None, values=None, id=None, data=None, space=None, release_status=None):
|
|
23
|
+
return EmbeddedMetadata.__init__(self, data=data, name=name, values=values)
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"""
|
|
2
|
+
An identifiable list of property-value pairs.
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
# this file was auto-generated
|
|
6
|
+
|
|
7
|
+
from openminds.properties import Property
|
|
8
|
+
from openminds.v4.core import PropertyValueList as OMPropertyValueList
|
|
9
|
+
from fairgraph import KGObject
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class PropertyValueList(KGObject, OMPropertyValueList):
|
|
13
|
+
"""
|
|
14
|
+
An identifiable list of property-value pairs.
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
type_ = "https://openminds.om-i.org/types/PropertyValueList"
|
|
18
|
+
default_space = "dataset"
|
|
19
|
+
# forward properties are defined in the parent class (in openMINDS-Python)
|
|
20
|
+
reverse_properties = [
|
|
21
|
+
Property(
|
|
22
|
+
"defines_environment_of",
|
|
23
|
+
"openminds.v4.computation.LaunchConfiguration",
|
|
24
|
+
"environmentVariable",
|
|
25
|
+
reverse="environment_variable",
|
|
26
|
+
multiple=True,
|
|
27
|
+
description="reverse of 'environment_variable'",
|
|
28
|
+
),
|
|
29
|
+
Property(
|
|
30
|
+
"is_configuration_of",
|
|
31
|
+
"openminds.v4.computation.ValidationTestVersion",
|
|
32
|
+
"configuration",
|
|
33
|
+
reverse="configuration",
|
|
34
|
+
multiple=True,
|
|
35
|
+
description="reverse of 'configuration'",
|
|
36
|
+
),
|
|
37
|
+
Property(
|
|
38
|
+
"specifies",
|
|
39
|
+
["openminds.v4.sands.CustomAnnotation", "openminds.v4.stimulation.EphysStimulus"],
|
|
40
|
+
"specification",
|
|
41
|
+
reverse="specification",
|
|
42
|
+
multiple=True,
|
|
43
|
+
description="reverse of 'specification'",
|
|
44
|
+
),
|
|
45
|
+
]
|
|
46
|
+
existence_query_properties = ("lookup_label",)
|
|
47
|
+
|
|
48
|
+
def __init__(
|
|
49
|
+
self,
|
|
50
|
+
lookup_label=None,
|
|
51
|
+
defines_environment_of=None,
|
|
52
|
+
is_configuration_of=None,
|
|
53
|
+
property_value_pairs=None,
|
|
54
|
+
specifies=None,
|
|
55
|
+
id=None,
|
|
56
|
+
data=None,
|
|
57
|
+
space=None,
|
|
58
|
+
release_status=None,
|
|
59
|
+
):
|
|
60
|
+
return KGObject.__init__(
|
|
61
|
+
self,
|
|
62
|
+
id=id,
|
|
63
|
+
space=space,
|
|
64
|
+
release_status=release_status,
|
|
65
|
+
data=data,
|
|
66
|
+
lookup_label=lookup_label,
|
|
67
|
+
defines_environment_of=defines_environment_of,
|
|
68
|
+
is_configuration_of=is_configuration_of,
|
|
69
|
+
property_value_pairs=property_value_pairs,
|
|
70
|
+
specifies=specifies,
|
|
71
|
+
)
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Structured information on a research project.
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
# this file was auto-generated
|
|
6
|
+
|
|
7
|
+
from openminds.properties import Property
|
|
8
|
+
from openminds.v4.core import Protocol as OMProtocol
|
|
9
|
+
from fairgraph import KGObject
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class Protocol(KGObject, OMProtocol):
|
|
13
|
+
"""
|
|
14
|
+
Structured information on a research project.
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
type_ = "https://openminds.om-i.org/types/Protocol"
|
|
18
|
+
default_space = "dataset"
|
|
19
|
+
# forward properties are defined in the parent class (in openMINDS-Python)
|
|
20
|
+
reverse_properties = [
|
|
21
|
+
Property(
|
|
22
|
+
"used_in",
|
|
23
|
+
[
|
|
24
|
+
"openminds.v4.core.DatasetVersion",
|
|
25
|
+
"openminds.v4.core.ProtocolExecution",
|
|
26
|
+
"openminds.v4.ephys.CellPatching",
|
|
27
|
+
"openminds.v4.ephys.ElectrodePlacement",
|
|
28
|
+
"openminds.v4.ephys.RecordingActivity",
|
|
29
|
+
"openminds.v4.specimen_prep.CranialWindowPreparation",
|
|
30
|
+
"openminds.v4.specimen_prep.TissueCulturePreparation",
|
|
31
|
+
"openminds.v4.specimen_prep.TissueSampleSlicing",
|
|
32
|
+
"openminds.v4.stimulation.StimulationActivity",
|
|
33
|
+
],
|
|
34
|
+
"protocol",
|
|
35
|
+
reverse="protocols",
|
|
36
|
+
multiple=True,
|
|
37
|
+
description="reverse of 'protocols'",
|
|
38
|
+
),
|
|
39
|
+
]
|
|
40
|
+
existence_query_properties = ("name",)
|
|
41
|
+
|
|
42
|
+
def __init__(
|
|
43
|
+
self,
|
|
44
|
+
name=None,
|
|
45
|
+
described_in=None,
|
|
46
|
+
description=None,
|
|
47
|
+
stimulus_types=None,
|
|
48
|
+
techniques=None,
|
|
49
|
+
used_in=None,
|
|
50
|
+
id=None,
|
|
51
|
+
data=None,
|
|
52
|
+
space=None,
|
|
53
|
+
release_status=None,
|
|
54
|
+
):
|
|
55
|
+
return KGObject.__init__(
|
|
56
|
+
self,
|
|
57
|
+
id=id,
|
|
58
|
+
space=space,
|
|
59
|
+
release_status=release_status,
|
|
60
|
+
data=data,
|
|
61
|
+
name=name,
|
|
62
|
+
described_in=described_in,
|
|
63
|
+
description=description,
|
|
64
|
+
stimulus_types=stimulus_types,
|
|
65
|
+
techniques=techniques,
|
|
66
|
+
used_in=used_in,
|
|
67
|
+
)
|