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,236 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Structured information on a person.
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
# this file was auto-generated
|
|
6
|
+
|
|
7
|
+
from openminds.properties import Property
|
|
8
|
+
from openminds.v4.core import Person as OMPerson
|
|
9
|
+
from fairgraph import KGObject
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class Person(KGObject, OMPerson):
|
|
13
|
+
"""
|
|
14
|
+
Structured information on a person.
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
type_ = "https://openminds.om-i.org/types/Person"
|
|
18
|
+
default_space = "common"
|
|
19
|
+
# forward properties are defined in the parent class (in openMINDS-Python)
|
|
20
|
+
reverse_properties = [
|
|
21
|
+
Property(
|
|
22
|
+
"activities",
|
|
23
|
+
[
|
|
24
|
+
"openminds.v4.core.ProtocolExecution",
|
|
25
|
+
"openminds.v4.ephys.CellPatching",
|
|
26
|
+
"openminds.v4.ephys.ElectrodePlacement",
|
|
27
|
+
"openminds.v4.ephys.RecordingActivity",
|
|
28
|
+
"openminds.v4.specimen_prep.CranialWindowPreparation",
|
|
29
|
+
"openminds.v4.specimen_prep.TissueCulturePreparation",
|
|
30
|
+
"openminds.v4.specimen_prep.TissueSampleSlicing",
|
|
31
|
+
"openminds.v4.stimulation.StimulationActivity",
|
|
32
|
+
],
|
|
33
|
+
"performedBy",
|
|
34
|
+
reverse="performed_by",
|
|
35
|
+
multiple=True,
|
|
36
|
+
description="reverse of 'performed_by'",
|
|
37
|
+
),
|
|
38
|
+
Property(
|
|
39
|
+
"comments",
|
|
40
|
+
"openminds.v4.core.Comment",
|
|
41
|
+
"commenter",
|
|
42
|
+
reverse="commenter",
|
|
43
|
+
multiple=True,
|
|
44
|
+
description="reverse of 'commenter'",
|
|
45
|
+
),
|
|
46
|
+
Property(
|
|
47
|
+
"coordinated_projects",
|
|
48
|
+
"openminds.v4.core.Project",
|
|
49
|
+
"coordinator",
|
|
50
|
+
reverse="coordinators",
|
|
51
|
+
multiple=True,
|
|
52
|
+
description="reverse of 'coordinators'",
|
|
53
|
+
),
|
|
54
|
+
Property(
|
|
55
|
+
"developed",
|
|
56
|
+
[
|
|
57
|
+
"openminds.v4.computation.ValidationTest",
|
|
58
|
+
"openminds.v4.computation.ValidationTestVersion",
|
|
59
|
+
"openminds.v4.computation.WorkflowRecipe",
|
|
60
|
+
"openminds.v4.computation.WorkflowRecipeVersion",
|
|
61
|
+
"openminds.v4.core.MetaDataModel",
|
|
62
|
+
"openminds.v4.core.MetaDataModelVersion",
|
|
63
|
+
"openminds.v4.core.Model",
|
|
64
|
+
"openminds.v4.core.ModelVersion",
|
|
65
|
+
"openminds.v4.core.Software",
|
|
66
|
+
"openminds.v4.core.SoftwareVersion",
|
|
67
|
+
"openminds.v4.core.WebService",
|
|
68
|
+
"openminds.v4.core.WebServiceVersion",
|
|
69
|
+
],
|
|
70
|
+
"developer",
|
|
71
|
+
reverse="developers",
|
|
72
|
+
multiple=True,
|
|
73
|
+
description="reverse of 'developers'",
|
|
74
|
+
),
|
|
75
|
+
Property(
|
|
76
|
+
"funded",
|
|
77
|
+
"openminds.v4.core.Funding",
|
|
78
|
+
"funder",
|
|
79
|
+
reverse="funder",
|
|
80
|
+
multiple=True,
|
|
81
|
+
description="reverse of 'funder'",
|
|
82
|
+
),
|
|
83
|
+
Property(
|
|
84
|
+
"is_custodian_of",
|
|
85
|
+
[
|
|
86
|
+
"openminds.v4.core.Dataset",
|
|
87
|
+
"openminds.v4.core.DatasetVersion",
|
|
88
|
+
"openminds.v4.publications.LivePaper",
|
|
89
|
+
"openminds.v4.publications.LivePaperVersion",
|
|
90
|
+
"openminds.v4.sands.BrainAtlas",
|
|
91
|
+
"openminds.v4.sands.BrainAtlasVersion",
|
|
92
|
+
"openminds.v4.sands.CommonCoordinateSpace",
|
|
93
|
+
"openminds.v4.sands.CommonCoordinateSpaceVersion",
|
|
94
|
+
],
|
|
95
|
+
"custodian",
|
|
96
|
+
reverse="custodians",
|
|
97
|
+
multiple=True,
|
|
98
|
+
description="reverse of 'custodians'",
|
|
99
|
+
),
|
|
100
|
+
Property(
|
|
101
|
+
"is_owner_of",
|
|
102
|
+
[
|
|
103
|
+
"openminds.v4.ephys.Electrode",
|
|
104
|
+
"openminds.v4.ephys.ElectrodeArray",
|
|
105
|
+
"openminds.v4.ephys.Pipette",
|
|
106
|
+
"openminds.v4.specimen_prep.SlicingDevice",
|
|
107
|
+
],
|
|
108
|
+
"owner",
|
|
109
|
+
reverse="owners",
|
|
110
|
+
multiple=True,
|
|
111
|
+
description="reverse of 'owners'",
|
|
112
|
+
),
|
|
113
|
+
Property(
|
|
114
|
+
"is_provider_of",
|
|
115
|
+
"openminds.v4.chemicals.ProductSource",
|
|
116
|
+
"provider",
|
|
117
|
+
reverse="provider",
|
|
118
|
+
multiple=True,
|
|
119
|
+
description="reverse of 'provider'",
|
|
120
|
+
),
|
|
121
|
+
Property(
|
|
122
|
+
"manufactured",
|
|
123
|
+
"openminds.v4.core.Setup",
|
|
124
|
+
"manufacturer",
|
|
125
|
+
reverse="manufacturers",
|
|
126
|
+
multiple=True,
|
|
127
|
+
description="reverse of 'manufacturers'",
|
|
128
|
+
),
|
|
129
|
+
Property(
|
|
130
|
+
"published",
|
|
131
|
+
[
|
|
132
|
+
"openminds.v4.publications.Book",
|
|
133
|
+
"openminds.v4.publications.Chapter",
|
|
134
|
+
"openminds.v4.publications.LearningResource",
|
|
135
|
+
"openminds.v4.publications.ScholarlyArticle",
|
|
136
|
+
],
|
|
137
|
+
"publisher",
|
|
138
|
+
reverse="publisher",
|
|
139
|
+
multiple=True,
|
|
140
|
+
description="reverse of 'publisher'",
|
|
141
|
+
),
|
|
142
|
+
Property(
|
|
143
|
+
"started",
|
|
144
|
+
[
|
|
145
|
+
"openminds.v4.computation.DataAnalysis",
|
|
146
|
+
"openminds.v4.computation.DataCopy",
|
|
147
|
+
"openminds.v4.computation.GenericComputation",
|
|
148
|
+
"openminds.v4.computation.ModelValidation",
|
|
149
|
+
"openminds.v4.computation.Optimization",
|
|
150
|
+
"openminds.v4.computation.Simulation",
|
|
151
|
+
"openminds.v4.computation.Visualization",
|
|
152
|
+
"openminds.v4.computation.WorkflowExecution",
|
|
153
|
+
],
|
|
154
|
+
"startedBy",
|
|
155
|
+
reverse="started_by",
|
|
156
|
+
multiple=True,
|
|
157
|
+
description="reverse of 'started_by'",
|
|
158
|
+
),
|
|
159
|
+
]
|
|
160
|
+
existence_query_properties = ("given_name", "family_name")
|
|
161
|
+
|
|
162
|
+
def __init__(
|
|
163
|
+
self,
|
|
164
|
+
activities=None,
|
|
165
|
+
affiliations=None,
|
|
166
|
+
alternate_names=None,
|
|
167
|
+
associated_accounts=None,
|
|
168
|
+
comments=None,
|
|
169
|
+
contact_information=None,
|
|
170
|
+
coordinated_projects=None,
|
|
171
|
+
developed=None,
|
|
172
|
+
digital_identifiers=None,
|
|
173
|
+
family_name=None,
|
|
174
|
+
funded=None,
|
|
175
|
+
given_name=None,
|
|
176
|
+
is_custodian_of=None,
|
|
177
|
+
is_owner_of=None,
|
|
178
|
+
is_provider_of=None,
|
|
179
|
+
manufactured=None,
|
|
180
|
+
published=None,
|
|
181
|
+
started=None,
|
|
182
|
+
id=None,
|
|
183
|
+
data=None,
|
|
184
|
+
space=None,
|
|
185
|
+
release_status=None,
|
|
186
|
+
):
|
|
187
|
+
return KGObject.__init__(
|
|
188
|
+
self,
|
|
189
|
+
id=id,
|
|
190
|
+
space=space,
|
|
191
|
+
release_status=release_status,
|
|
192
|
+
data=data,
|
|
193
|
+
activities=activities,
|
|
194
|
+
affiliations=affiliations,
|
|
195
|
+
alternate_names=alternate_names,
|
|
196
|
+
associated_accounts=associated_accounts,
|
|
197
|
+
comments=comments,
|
|
198
|
+
contact_information=contact_information,
|
|
199
|
+
coordinated_projects=coordinated_projects,
|
|
200
|
+
developed=developed,
|
|
201
|
+
digital_identifiers=digital_identifiers,
|
|
202
|
+
family_name=family_name,
|
|
203
|
+
funded=funded,
|
|
204
|
+
given_name=given_name,
|
|
205
|
+
is_custodian_of=is_custodian_of,
|
|
206
|
+
is_owner_of=is_owner_of,
|
|
207
|
+
is_provider_of=is_provider_of,
|
|
208
|
+
manufactured=manufactured,
|
|
209
|
+
published=published,
|
|
210
|
+
started=started,
|
|
211
|
+
)
|
|
212
|
+
|
|
213
|
+
@property
|
|
214
|
+
def full_name(self):
|
|
215
|
+
return f"{self.given_name} {self.family_name}"
|
|
216
|
+
|
|
217
|
+
@classmethod
|
|
218
|
+
def me(cls, client, allow_multiple=False, follow_links=None):
|
|
219
|
+
user_info = client.user_info()
|
|
220
|
+
possible_matches = cls.list(
|
|
221
|
+
client,
|
|
222
|
+
release_status="in progress",
|
|
223
|
+
space="common",
|
|
224
|
+
follow_links=follow_links,
|
|
225
|
+
family_name=user_info.family_name,
|
|
226
|
+
given_name=user_info.given_name,
|
|
227
|
+
)
|
|
228
|
+
if len(possible_matches) == 0:
|
|
229
|
+
person = Person(family_name=user_info.family_name, given_name=user_info.given_name)
|
|
230
|
+
elif len(possible_matches) == 1:
|
|
231
|
+
person = possible_matches[0]
|
|
232
|
+
elif allow_multiple:
|
|
233
|
+
person = possible_matches
|
|
234
|
+
else:
|
|
235
|
+
raise Exception("Found multiple matches")
|
|
236
|
+
return person
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from .content_type import ContentType
|
|
2
|
+
from .content_type_pattern import ContentTypePattern
|
|
3
|
+
from .copyright import Copyright
|
|
4
|
+
from .file import File
|
|
5
|
+
from .file_archive import FileArchive
|
|
6
|
+
from .file_bundle import FileBundle
|
|
7
|
+
from .file_path_pattern import FilePathPattern
|
|
8
|
+
from .file_repository import FileRepository
|
|
9
|
+
from .file_repository_structure import FileRepositoryStructure
|
|
10
|
+
from .hash import Hash
|
|
11
|
+
from .license import License
|
|
12
|
+
from .measurement import Measurement
|
|
13
|
+
from .service_link import ServiceLink
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Structured information on the content type of a file instance, bundle or repository.
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
# this file was auto-generated
|
|
6
|
+
|
|
7
|
+
from openminds.properties import Property
|
|
8
|
+
from openminds.v4.core import ContentType as OMContentType
|
|
9
|
+
from fairgraph import KGObject
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
from openminds import IRI
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class ContentType(KGObject, OMContentType):
|
|
16
|
+
"""
|
|
17
|
+
Structured information on the content type of a file instance, bundle or repository.
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
type_ = "https://openminds.om-i.org/types/ContentType"
|
|
21
|
+
default_space = "controlled"
|
|
22
|
+
# forward properties are defined in the parent class (in openMINDS-Python)
|
|
23
|
+
reverse_properties = [
|
|
24
|
+
Property(
|
|
25
|
+
"is_defined_by",
|
|
26
|
+
"openminds.v4.core.ContentTypePattern",
|
|
27
|
+
"contentType",
|
|
28
|
+
reverse="content_type",
|
|
29
|
+
multiple=True,
|
|
30
|
+
description="reverse of 'content_type'",
|
|
31
|
+
),
|
|
32
|
+
Property(
|
|
33
|
+
"is_format_of",
|
|
34
|
+
[
|
|
35
|
+
"openminds.v4.computation.LocalFile",
|
|
36
|
+
"openminds.v4.computation.ValidationTestVersion",
|
|
37
|
+
"openminds.v4.computation.WorkflowRecipeVersion",
|
|
38
|
+
"openminds.v4.core.Configuration",
|
|
39
|
+
"openminds.v4.core.File",
|
|
40
|
+
"openminds.v4.core.FileArchive",
|
|
41
|
+
"openminds.v4.core.FileBundle",
|
|
42
|
+
"openminds.v4.core.FileRepository",
|
|
43
|
+
"openminds.v4.core.ModelVersion",
|
|
44
|
+
"openminds.v4.core.WebResource",
|
|
45
|
+
],
|
|
46
|
+
"format",
|
|
47
|
+
reverse="format",
|
|
48
|
+
multiple=True,
|
|
49
|
+
description="reverse of 'format'",
|
|
50
|
+
),
|
|
51
|
+
Property(
|
|
52
|
+
"is_output_format_of",
|
|
53
|
+
["openminds.v4.core.SoftwareVersion", "openminds.v4.core.WebServiceVersion"],
|
|
54
|
+
"outputFormat",
|
|
55
|
+
reverse="output_formats",
|
|
56
|
+
multiple=True,
|
|
57
|
+
description="reverse of 'output_formats'",
|
|
58
|
+
),
|
|
59
|
+
Property(
|
|
60
|
+
"is_specification_format_of",
|
|
61
|
+
"openminds.v4.core.MetaDataModelVersion",
|
|
62
|
+
"specificationFormat",
|
|
63
|
+
reverse="specification_formats",
|
|
64
|
+
multiple=True,
|
|
65
|
+
description="reverse of 'specification_formats'",
|
|
66
|
+
),
|
|
67
|
+
]
|
|
68
|
+
existence_query_properties = ("name",)
|
|
69
|
+
|
|
70
|
+
def __init__(
|
|
71
|
+
self,
|
|
72
|
+
name=None,
|
|
73
|
+
data_types=None,
|
|
74
|
+
description=None,
|
|
75
|
+
display_label=None,
|
|
76
|
+
file_extensions=None,
|
|
77
|
+
is_defined_by=None,
|
|
78
|
+
is_format_of=None,
|
|
79
|
+
is_output_format_of=None,
|
|
80
|
+
is_specification_format_of=None,
|
|
81
|
+
related_media_type=None,
|
|
82
|
+
specification=None,
|
|
83
|
+
synonyms=None,
|
|
84
|
+
id=None,
|
|
85
|
+
data=None,
|
|
86
|
+
space=None,
|
|
87
|
+
release_status=None,
|
|
88
|
+
):
|
|
89
|
+
return KGObject.__init__(
|
|
90
|
+
self,
|
|
91
|
+
id=id,
|
|
92
|
+
space=space,
|
|
93
|
+
release_status=release_status,
|
|
94
|
+
data=data,
|
|
95
|
+
name=name,
|
|
96
|
+
data_types=data_types,
|
|
97
|
+
description=description,
|
|
98
|
+
display_label=display_label,
|
|
99
|
+
file_extensions=file_extensions,
|
|
100
|
+
is_defined_by=is_defined_by,
|
|
101
|
+
is_format_of=is_format_of,
|
|
102
|
+
is_output_format_of=is_output_format_of,
|
|
103
|
+
is_specification_format_of=is_specification_format_of,
|
|
104
|
+
related_media_type=related_media_type,
|
|
105
|
+
specification=specification,
|
|
106
|
+
synonyms=synonyms,
|
|
107
|
+
)
|
|
@@ -0,0 +1,53 @@
|
|
|
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 ContentTypePattern as OMContentTypePattern
|
|
9
|
+
from fairgraph import KGObject
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class ContentTypePattern(KGObject, OMContentTypePattern):
|
|
13
|
+
"""
|
|
14
|
+
<description not available>
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
type_ = "https://openminds.om-i.org/types/ContentTypePattern"
|
|
18
|
+
default_space = "files"
|
|
19
|
+
# forward properties are defined in the parent class (in openMINDS-Python)
|
|
20
|
+
reverse_properties = [
|
|
21
|
+
Property(
|
|
22
|
+
"identifies_content_of",
|
|
23
|
+
"openminds.v4.core.FileRepository",
|
|
24
|
+
"contentTypePattern",
|
|
25
|
+
reverse="content_type_patterns",
|
|
26
|
+
multiple=True,
|
|
27
|
+
description="reverse of 'content_type_patterns'",
|
|
28
|
+
),
|
|
29
|
+
]
|
|
30
|
+
existence_query_properties = ("lookup_label",)
|
|
31
|
+
|
|
32
|
+
def __init__(
|
|
33
|
+
self,
|
|
34
|
+
lookup_label=None,
|
|
35
|
+
content_type=None,
|
|
36
|
+
identifies_content_of=None,
|
|
37
|
+
regex=None,
|
|
38
|
+
id=None,
|
|
39
|
+
data=None,
|
|
40
|
+
space=None,
|
|
41
|
+
release_status=None,
|
|
42
|
+
):
|
|
43
|
+
return KGObject.__init__(
|
|
44
|
+
self,
|
|
45
|
+
id=id,
|
|
46
|
+
space=space,
|
|
47
|
+
release_status=release_status,
|
|
48
|
+
data=data,
|
|
49
|
+
lookup_label=lookup_label,
|
|
50
|
+
content_type=content_type,
|
|
51
|
+
identifies_content_of=identifies_content_of,
|
|
52
|
+
regex=regex,
|
|
53
|
+
)
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Structured information on the copyright.
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
# this file was auto-generated
|
|
6
|
+
|
|
7
|
+
from openminds.properties import Property
|
|
8
|
+
from openminds.v4.core import Copyright as OMCopyright
|
|
9
|
+
from fairgraph import EmbeddedMetadata
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class Copyright(EmbeddedMetadata, OMCopyright):
|
|
13
|
+
"""
|
|
14
|
+
Structured information on the copyright.
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
type_ = "https://openminds.om-i.org/types/Copyright"
|
|
18
|
+
# forward properties are defined in the parent class (in openMINDS-Python)
|
|
19
|
+
reverse_properties = []
|
|
20
|
+
existence_query_properties = ("holders", "years")
|
|
21
|
+
|
|
22
|
+
def __init__(self, holders=None, years=None, id=None, data=None, space=None, release_status=None):
|
|
23
|
+
return EmbeddedMetadata.__init__(self, data=data, holders=holders, years=years)
|