diff --git a/builder/fairgraph_module_template.py.txt b/builder/fairgraph_module_template.py.txt index a00d6205..2aafeb07 100644 --- a/builder/fairgraph_module_template.py.txt +++ b/builder/fairgraph_module_template.py.txt @@ -19,6 +19,7 @@ class {{ class_name }}({{base_class}}, OM{{ class_name }}): {%- if default_space %} default_space = "{{ default_space }}" {%- endif %} + SORT_PRIORITY = {{ sort_priority }} # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ {% for prop in reverse_properties -%} diff --git a/builder/update_openminds.py b/builder/update_openminds.py index 3e0cb96b..85312033 100644 --- a/builder/update_openminds.py +++ b/builder/update_openminds.py @@ -22,6 +22,24 @@ } +# The order, most preferred first, in which a generated class picks its single sort key. +# The names are the camelCase schema names used as ``QueryProperty.name`` (e.g. the Python +# attribute ``lookup_label`` is the schema name ``lookupLabel``). ``name`` is preferred because +# its values are human-readable and sort meaningfully; ``lookupLabel`` is put first only for the +# classes listed in SORT_PRIORITY_EXCEPTIONS, where it keeps terms from the same atlas/scheme +# together. ``synonyms`` is excluded: it is list-valued and not a sensible sort key. +# The Knowledge Graph API allows ``"sort": true`` on only one property, at the root level, so +# exactly one property is chosen and it is always a top-level property. +DEFAULT_SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") + +# Per-class overrides, most preferred sort property first. The rest of the priority order is +# left unchanged (the full list is emitted into the generated class). +SORT_PRIORITY_EXCEPTIONS = { + "ParcellationEntity": ("lookupLabel", "name", "fullName", "shortName", "familyName", "abbreviation"), + "ParcellationEntityVersion": ("lookupLabel", "name", "fullName", "shortName", "familyName", "abbreviation"), +} + + reverse_name_map = { "RRID": "identifies", "about": { @@ -951,6 +969,7 @@ def get_type(prop): "standard_init_properties": standard_init_properties, "additional_methods": additional_methods, "aliases": aliases, + "sort_priority": SORT_PRIORITY_EXCEPTIONS.get(class_name, DEFAULT_SORT_PRIORITY), "constructor_arguments": sorted( [p["name"] for p in chain(properties, reverse_properties)] + list(aliases.keys()), key=property_name_sort_key, diff --git a/doc/queries.rst b/doc/queries.rst index fb121b36..75526190 100644 --- a/doc/queries.rst +++ b/doc/queries.rst @@ -125,6 +125,35 @@ This returns 10 nodes starting with the 15th. To see how many nodes there are in .. note:: if you consistently retrieve an empty list, it is probably because you do not yet have the necessary permissions. See :doc:`permissions` for more information. +Result ordering +--------------- + +The order in which ``list()`` returns results is only meaningful when the metadata is retrieved +through the query API (i.e. when a filter or ``follow_links`` is used, or when ``api="query"`` +is passed explicitly). In that case fairgraph asks the Knowledge Graph to sort the results by a +single property, in **ascending** order and **case-insensitively** (so, e.g., ``AAL1_brain`` is +placed between ``AAL1_AMYG`` and ``AAL1_CAU``, which is not the order plain Python ``sorted()`` +would produce). + +The Knowledge Graph API allows sorting on exactly one property, at the root level. fairgraph +chooses that property from the class's name-like properties in a fixed priority order: +``name``, then ``full_name``, ``short_name``, ``family_name``, ``abbreviation``, then +``lookup_label``. It picks the first of these that the class actually has, so, for example, +``Dataset`` is sorted by ``full_name`` and ``Person`` by ``family_name``. ``synonyms`` is never +used as a sort key (it is list-valued), and classes with none of these properties are returned in +whatever order the Knowledge Graph supplies. + +A few classes override this default because a different property keeps related results together. +In particular, ``ParcellationEntity`` and ``ParcellationEntityVersion`` are sorted by +``lookup_label`` so that terms from the same atlas stay grouped. + +Results retrieved through the core API (the default for a plain, unfiltered ``list()``) are +returned in an unspecified order. + +.. note:: This ordering of *results* is unrelated to the internal ``ensure_order`` option on a + query property, which only preserves the order of instances within a list-valued + property, not the ordering of the results returned. + Filtering/searching =================== diff --git a/doc/release_notes.rst b/doc/release_notes.rst index d500c33c..07953ba5 100644 --- a/doc/release_notes.rst +++ b/doc/release_notes.rst @@ -41,6 +41,35 @@ Changes in behaviour (the default is ``existence_match="equals"``). With ``recursive=True`` the setting applies to child objects as well. +- Generated queries now carry exactly **one** sort key, chosen deliberately, instead of sorting + by every name-like property. The Knowledge Graph API allows ``"sort": true`` on only a single + root-level property, but fairgraph previously set it on *all* matching name-like root + properties, so classes with both ``name`` and ``lookup_label`` (e.g. ``ParcellationEntity``, + ``Electrode``, ``SlicingDevice``) produced an invalid query with two sort keys. The sortable + set is now aligned with the name-like set used by :meth:`~fairgraph.kgobject.KGObject.by_name`, + and the single sort property is chosen from it in a fixed default priority order: ``name``, + then ``full_name``, ``short_name``, ``family_name``, ``abbreviation``, then ``lookup_label`` + (``synonyms`` is never used). In practice: + + - a class with both ``name`` and ``lookup_label`` is now sorted by ``name`` (previously + ``lookup_label`` won only because it happened to precede it), e.g. ``Electrode``; + - :class:`~fairgraph.openminds.core.Dataset` and + :class:`~fairgraph.openminds.core.DatasetVersion` are sorted by ``full_name``; + - :class:`~fairgraph.openminds.core.Person` gains a ``family_name`` sort key + where it previously had none; + - classes with none of the sortable properties (e.g. ``DOI``) are returned in whatever order + the Knowledge Graph supplies. + + A few classes override the default order via a per-class ``SORT_PRIORITY`` attribute so that a + different property keeps related results together: ``ParcellationEntity`` and + ``ParcellationEntityVersion`` are sorted by ``lookup_label`` so that terms from the same atlas + stay grouped (instead of by ``name``). The override is defined in the builder's + ``SORT_PRIORITY_EXCEPTIONS`` and regenerated into each generated class. + + Results are sorted in ascending, case-insensitive order. This is unrelated to the internal + ``ensure_order`` option on a query property, which only preserves the order of instances within + a list-valued property (`#129 `_). + Bug fixes --------- @@ -51,6 +80,15 @@ Bug fixes Such a link now gives the same existence query as the object it points to (`#145 `_). +Documentation +------------- + +- The order in which :meth:`~fairgraph.kgobject.KGObject.list` returns results is now documented, + in :doc:`queries` and in the :meth:`list` docstring. It covers the single sort key, its priority + order, and the ascending, case-insensitive ordering the Knowledge Graph applies, and it + distinguishes that from the internal ``ensure_order`` option (`#129 `_). + A test against the pre-production Knowledge Graph pins the case-insensitive ordering. + Version 0.15.0 ============== diff --git a/fairgraph/kgobject.py b/fairgraph/kgobject.py index f479b34a..39084644 100644 --- a/fairgraph/kgobject.py +++ b/fairgraph/kgobject.py @@ -39,7 +39,7 @@ from openminds.base import LinkedNodeEmbedding from .utility import expand_uri, as_list, expand_filter, ActivityLog, normalize_data, handle_scope_keyword -from .queries import Query, QueryProperty, Regex +from .queries import Query, QueryProperty, Regex, choose_sort_property, SORT_PRIORITY from .errors import AuthorizationError, ResourceExistsError, CannotBuildExistenceQuery from .caching import object_cache, save_cache, generate_cache_key from .base import ErrorHandling, Releasable, JSONdict @@ -72,6 +72,11 @@ class KGObject(KGNode, Releasable): # many cases be over-ridden. # It assumes that "name" is unique within instances of a given type, # which may often not be the case. + # + # Priority order, most preferred first, in which generate_query picks the single sort key. + # Generated openMINDS classes override this (see the builder's DEFAULT_SORT_PRIORITY / + # SORT_PRIORITY_EXCEPTIONS). If None, generate_query falls back to the default in queries.py. + SORT_PRIORITY = None def __init__( self, @@ -395,6 +400,16 @@ def list( Returns: A list of instances of this class representing the objects returned by the KG query. + Note: + When the query API is used (i.e. a filter or ``follow_links`` is given, or + ``api="query"`` is passed), the results are sorted in ascending, case-insensitive + order by a single name-like property chosen in a fixed priority order + (``name``, ``full_name``, ``short_name``, ``family_name``, ``abbreviation``, + ``lookup_label``; ``synonyms`` is never used). A few classes override this order via + their ``SORT_PRIORITY`` class attribute (e.g. ``ParcellationEntity`` sorts by + ``lookup_label`` so atlas terms stay grouped). Results from the core API are in an + unspecified order. + Raises: ValueError: If invalid arguments are passed to the method. NotImplementedError: If 'follow_links' is used with api='core'. @@ -1183,9 +1198,10 @@ def generate_query( # second pass, we add filters query.properties.extend(cls.generate_query_filter_properties(normalized_filters)) # third pass, we add sorting, which can only happen at the top level - for prop in query.properties: - if prop.name in ("name", "fullName", "lookupLabel"): - prop.sorted = True + sort_priority = getattr(cls, "SORT_PRIORITY", None) or SORT_PRIORITY + sort_property = choose_sort_property(query.properties, sort_priority) + if sort_property is not None: + sort_property.sorted = True # implementation note: the three-pass approach generates queries that are sometimes more verbose # than necessary, but it makes the logic easier to understand. return query.serialize() diff --git a/fairgraph/openminds/v4/chemicals/amount_of_chemical.py b/fairgraph/openminds/v4/chemicals/amount_of_chemical.py index 238aa244..e65da6d1 100644 --- a/fairgraph/openminds/v4/chemicals/amount_of_chemical.py +++ b/fairgraph/openminds/v4/chemicals/amount_of_chemical.py @@ -15,6 +15,7 @@ class AmountOfChemical(KGEmbedded, OMAmountOfChemical): """ type_ = "https://openminds.om-i.org/types/AmountOfChemical" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("chemical_product", "amount") diff --git a/fairgraph/openminds/v4/chemicals/chemical_mixture.py b/fairgraph/openminds/v4/chemicals/chemical_mixture.py index 76921869..711efd9b 100644 --- a/fairgraph/openminds/v4/chemicals/chemical_mixture.py +++ b/fairgraph/openminds/v4/chemicals/chemical_mixture.py @@ -16,6 +16,7 @@ class ChemicalMixture(KGObject, OMChemicalMixture): type_ = "https://openminds.om-i.org/types/ChemicalMixture" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/chemicals/chemical_substance.py b/fairgraph/openminds/v4/chemicals/chemical_substance.py index 63556a9e..3618c551 100644 --- a/fairgraph/openminds/v4/chemicals/chemical_substance.py +++ b/fairgraph/openminds/v4/chemicals/chemical_substance.py @@ -16,6 +16,7 @@ class ChemicalSubstance(KGObject, OMChemicalSubstance): type_ = "https://openminds.om-i.org/types/ChemicalSubstance" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/chemicals/product_source.py b/fairgraph/openminds/v4/chemicals/product_source.py index 4d1e5003..59f7bb21 100644 --- a/fairgraph/openminds/v4/chemicals/product_source.py +++ b/fairgraph/openminds/v4/chemicals/product_source.py @@ -16,6 +16,7 @@ class ProductSource(KGObject, OMProductSource): type_ = "https://openminds.om-i.org/types/ProductSource" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/computation/data_analysis.py b/fairgraph/openminds/v4/computation/data_analysis.py index ae0f659c..7fef0e29 100644 --- a/fairgraph/openminds/v4/computation/data_analysis.py +++ b/fairgraph/openminds/v4/computation/data_analysis.py @@ -19,6 +19,7 @@ class DataAnalysis(KGObject, OMDataAnalysis): type_ = "https://openminds.om-i.org/types/DataAnalysis" default_space = "computation" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/computation/data_copy.py b/fairgraph/openminds/v4/computation/data_copy.py index c9848935..668df3ca 100644 --- a/fairgraph/openminds/v4/computation/data_copy.py +++ b/fairgraph/openminds/v4/computation/data_copy.py @@ -19,6 +19,7 @@ class DataCopy(KGObject, OMDataCopy): type_ = "https://openminds.om-i.org/types/DataCopy" default_space = "computation" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/computation/environment.py b/fairgraph/openminds/v4/computation/environment.py index c7a279e9..558e8f6e 100644 --- a/fairgraph/openminds/v4/computation/environment.py +++ b/fairgraph/openminds/v4/computation/environment.py @@ -16,6 +16,7 @@ class Environment(KGObject, OMEnvironment): type_ = "https://openminds.om-i.org/types/Environment" default_space = "computation" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/computation/generic_computation.py b/fairgraph/openminds/v4/computation/generic_computation.py index 6c816f28..317d9108 100644 --- a/fairgraph/openminds/v4/computation/generic_computation.py +++ b/fairgraph/openminds/v4/computation/generic_computation.py @@ -19,6 +19,7 @@ class GenericComputation(KGObject, OMGenericComputation): type_ = "https://openminds.om-i.org/types/GenericComputation" default_space = "computation" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/computation/hardware_system.py b/fairgraph/openminds/v4/computation/hardware_system.py index 26ade465..2082d76c 100644 --- a/fairgraph/openminds/v4/computation/hardware_system.py +++ b/fairgraph/openminds/v4/computation/hardware_system.py @@ -16,6 +16,7 @@ class HardwareSystem(KGObject, OMHardwareSystem): type_ = "https://openminds.om-i.org/types/HardwareSystem" default_space = "computation" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/computation/launch_configuration.py b/fairgraph/openminds/v4/computation/launch_configuration.py index c06d831c..22c892f0 100644 --- a/fairgraph/openminds/v4/computation/launch_configuration.py +++ b/fairgraph/openminds/v4/computation/launch_configuration.py @@ -16,6 +16,7 @@ class LaunchConfiguration(KGObject, OMLaunchConfiguration): type_ = "https://openminds.om-i.org/types/LaunchConfiguration" default_space = "computation" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/computation/local_file.py b/fairgraph/openminds/v4/computation/local_file.py index f38aed4b..b39d7c42 100644 --- a/fairgraph/openminds/v4/computation/local_file.py +++ b/fairgraph/openminds/v4/computation/local_file.py @@ -16,6 +16,7 @@ class LocalFile(KGObject, OMLocalFile): type_ = "https://openminds.om-i.org/types/LocalFile" default_space = "computation" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/computation/model_validation.py b/fairgraph/openminds/v4/computation/model_validation.py index 9735711e..003f9f5b 100644 --- a/fairgraph/openminds/v4/computation/model_validation.py +++ b/fairgraph/openminds/v4/computation/model_validation.py @@ -20,6 +20,7 @@ class ModelValidation(KGObject, OMModelValidation): type_ = "https://openminds.om-i.org/types/ModelValidation" default_space = "computation" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/computation/optimization.py b/fairgraph/openminds/v4/computation/optimization.py index deb15703..89b62f41 100644 --- a/fairgraph/openminds/v4/computation/optimization.py +++ b/fairgraph/openminds/v4/computation/optimization.py @@ -19,6 +19,7 @@ class Optimization(KGObject, OMOptimization): type_ = "https://openminds.om-i.org/types/Optimization" default_space = "computation" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/computation/simulation.py b/fairgraph/openminds/v4/computation/simulation.py index 5562e89e..354cfb86 100644 --- a/fairgraph/openminds/v4/computation/simulation.py +++ b/fairgraph/openminds/v4/computation/simulation.py @@ -19,6 +19,7 @@ class Simulation(KGObject, OMSimulation): type_ = "https://openminds.om-i.org/types/Simulation" default_space = "computation" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/computation/software_agent.py b/fairgraph/openminds/v4/computation/software_agent.py index fd8b3621..72171f75 100644 --- a/fairgraph/openminds/v4/computation/software_agent.py +++ b/fairgraph/openminds/v4/computation/software_agent.py @@ -16,6 +16,7 @@ class SoftwareAgent(KGObject, OMSoftwareAgent): type_ = "https://openminds.om-i.org/types/SoftwareAgent" default_space = "computation" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/computation/validation_test.py b/fairgraph/openminds/v4/computation/validation_test.py index 72b6438f..69986f27 100644 --- a/fairgraph/openminds/v4/computation/validation_test.py +++ b/fairgraph/openminds/v4/computation/validation_test.py @@ -19,6 +19,7 @@ class ValidationTest(KGObject, OMValidationTest): type_ = "https://openminds.om-i.org/types/ValidationTest" default_space = "computation" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/computation/validation_test_version.py b/fairgraph/openminds/v4/computation/validation_test_version.py index 66f112d9..3046c59e 100644 --- a/fairgraph/openminds/v4/computation/validation_test_version.py +++ b/fairgraph/openminds/v4/computation/validation_test_version.py @@ -20,6 +20,7 @@ class ValidationTestVersion(KGObject, OMValidationTestVersion): type_ = "https://openminds.om-i.org/types/ValidationTestVersion" default_space = "computation" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/computation/visualization.py b/fairgraph/openminds/v4/computation/visualization.py index b9d1e1a0..223ba850 100644 --- a/fairgraph/openminds/v4/computation/visualization.py +++ b/fairgraph/openminds/v4/computation/visualization.py @@ -19,6 +19,7 @@ class Visualization(KGObject, OMVisualization): type_ = "https://openminds.om-i.org/types/Visualization" default_space = "computation" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/computation/workflow_execution.py b/fairgraph/openminds/v4/computation/workflow_execution.py index 437e9376..32789e1d 100644 --- a/fairgraph/openminds/v4/computation/workflow_execution.py +++ b/fairgraph/openminds/v4/computation/workflow_execution.py @@ -16,6 +16,7 @@ class WorkflowExecution(KGObject, OMWorkflowExecution): type_ = "https://openminds.om-i.org/types/WorkflowExecution" default_space = "computation" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("stages",) diff --git a/fairgraph/openminds/v4/computation/workflow_recipe.py b/fairgraph/openminds/v4/computation/workflow_recipe.py index 21e4160d..efa2325f 100644 --- a/fairgraph/openminds/v4/computation/workflow_recipe.py +++ b/fairgraph/openminds/v4/computation/workflow_recipe.py @@ -19,6 +19,7 @@ class WorkflowRecipe(KGObject, OMWorkflowRecipe): type_ = "https://openminds.om-i.org/types/WorkflowRecipe" default_space = "computation" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/computation/workflow_recipe_version.py b/fairgraph/openminds/v4/computation/workflow_recipe_version.py index 542e2ff3..9aa63b59 100644 --- a/fairgraph/openminds/v4/computation/workflow_recipe_version.py +++ b/fairgraph/openminds/v4/computation/workflow_recipe_version.py @@ -20,6 +20,7 @@ class WorkflowRecipeVersion(KGObject, OMWorkflowRecipeVersion): type_ = "https://openminds.om-i.org/types/WorkflowRecipeVersion" default_space = "computation" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/action_status_type.py b/fairgraph/openminds/v4/controlled_terms/action_status_type.py index b05ee0b0..33a4c62b 100644 --- a/fairgraph/openminds/v4/controlled_terms/action_status_type.py +++ b/fairgraph/openminds/v4/controlled_terms/action_status_type.py @@ -19,6 +19,7 @@ class ActionStatusType(KGObject, OMActionStatusType): type_ = "https://openminds.om-i.org/types/ActionStatusType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/age_category.py b/fairgraph/openminds/v4/controlled_terms/age_category.py index f3041a70..f444aaa6 100644 --- a/fairgraph/openminds/v4/controlled_terms/age_category.py +++ b/fairgraph/openminds/v4/controlled_terms/age_category.py @@ -19,6 +19,7 @@ class AgeCategory(KGObject, OMAgeCategory): type_ = "https://openminds.om-i.org/types/AgeCategory" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/analysis_technique.py b/fairgraph/openminds/v4/controlled_terms/analysis_technique.py index b32d95a4..a84486fe 100644 --- a/fairgraph/openminds/v4/controlled_terms/analysis_technique.py +++ b/fairgraph/openminds/v4/controlled_terms/analysis_technique.py @@ -19,6 +19,7 @@ class AnalysisTechnique(KGObject, OMAnalysisTechnique): type_ = "https://openminds.om-i.org/types/AnalysisTechnique" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/anatomical_axes_orientation.py b/fairgraph/openminds/v4/controlled_terms/anatomical_axes_orientation.py index a23acfbd..90002df6 100644 --- a/fairgraph/openminds/v4/controlled_terms/anatomical_axes_orientation.py +++ b/fairgraph/openminds/v4/controlled_terms/anatomical_axes_orientation.py @@ -19,6 +19,7 @@ class AnatomicalAxesOrientation(KGObject, OMAnatomicalAxesOrientation): type_ = "https://openminds.om-i.org/types/AnatomicalAxesOrientation" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/anatomical_identification_type.py b/fairgraph/openminds/v4/controlled_terms/anatomical_identification_type.py index 27a054f3..31864363 100644 --- a/fairgraph/openminds/v4/controlled_terms/anatomical_identification_type.py +++ b/fairgraph/openminds/v4/controlled_terms/anatomical_identification_type.py @@ -19,6 +19,7 @@ class AnatomicalIdentificationType(KGObject, OMAnatomicalIdentificationType): type_ = "https://openminds.om-i.org/types/AnatomicalIdentificationType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/anatomical_plane.py b/fairgraph/openminds/v4/controlled_terms/anatomical_plane.py index 13a02915..84425d64 100644 --- a/fairgraph/openminds/v4/controlled_terms/anatomical_plane.py +++ b/fairgraph/openminds/v4/controlled_terms/anatomical_plane.py @@ -19,6 +19,7 @@ class AnatomicalPlane(KGObject, OMAnatomicalPlane): type_ = "https://openminds.om-i.org/types/AnatomicalPlane" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/annotation_criteria_type.py b/fairgraph/openminds/v4/controlled_terms/annotation_criteria_type.py index e80a9435..03cce7c5 100644 --- a/fairgraph/openminds/v4/controlled_terms/annotation_criteria_type.py +++ b/fairgraph/openminds/v4/controlled_terms/annotation_criteria_type.py @@ -19,6 +19,7 @@ class AnnotationCriteriaType(KGObject, OMAnnotationCriteriaType): type_ = "https://openminds.om-i.org/types/AnnotationCriteriaType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/annotation_type.py b/fairgraph/openminds/v4/controlled_terms/annotation_type.py index 6fc9faa6..9d752f28 100644 --- a/fairgraph/openminds/v4/controlled_terms/annotation_type.py +++ b/fairgraph/openminds/v4/controlled_terms/annotation_type.py @@ -19,6 +19,7 @@ class AnnotationType(KGObject, OMAnnotationType): type_ = "https://openminds.om-i.org/types/AnnotationType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/atlas_type.py b/fairgraph/openminds/v4/controlled_terms/atlas_type.py index 5a85f6ea..48b8ee6e 100644 --- a/fairgraph/openminds/v4/controlled_terms/atlas_type.py +++ b/fairgraph/openminds/v4/controlled_terms/atlas_type.py @@ -19,6 +19,7 @@ class AtlasType(KGObject, OMAtlasType): type_ = "https://openminds.om-i.org/types/AtlasType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/auditory_stimulus_type.py b/fairgraph/openminds/v4/controlled_terms/auditory_stimulus_type.py index dc3cb813..b174795c 100644 --- a/fairgraph/openminds/v4/controlled_terms/auditory_stimulus_type.py +++ b/fairgraph/openminds/v4/controlled_terms/auditory_stimulus_type.py @@ -19,6 +19,7 @@ class AuditoryStimulusType(KGObject, OMAuditoryStimulusType): type_ = "https://openminds.om-i.org/types/AuditoryStimulusType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/biological_order.py b/fairgraph/openminds/v4/controlled_terms/biological_order.py index 11b60969..fbb283a0 100644 --- a/fairgraph/openminds/v4/controlled_terms/biological_order.py +++ b/fairgraph/openminds/v4/controlled_terms/biological_order.py @@ -19,6 +19,7 @@ class BiologicalOrder(KGObject, OMBiologicalOrder): type_ = "https://openminds.om-i.org/types/BiologicalOrder" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/biological_process.py b/fairgraph/openminds/v4/controlled_terms/biological_process.py index fa51d332..6aeda105 100644 --- a/fairgraph/openminds/v4/controlled_terms/biological_process.py +++ b/fairgraph/openminds/v4/controlled_terms/biological_process.py @@ -19,6 +19,7 @@ class BiologicalProcess(KGObject, OMBiologicalProcess): type_ = "https://openminds.om-i.org/types/BiologicalProcess" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/biological_sex.py b/fairgraph/openminds/v4/controlled_terms/biological_sex.py index 9f201df9..78addedb 100644 --- a/fairgraph/openminds/v4/controlled_terms/biological_sex.py +++ b/fairgraph/openminds/v4/controlled_terms/biological_sex.py @@ -19,6 +19,7 @@ class BiologicalSex(KGObject, OMBiologicalSex): type_ = "https://openminds.om-i.org/types/BiologicalSex" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/breeding_type.py b/fairgraph/openminds/v4/controlled_terms/breeding_type.py index 59619ee3..a5ccaeb4 100644 --- a/fairgraph/openminds/v4/controlled_terms/breeding_type.py +++ b/fairgraph/openminds/v4/controlled_terms/breeding_type.py @@ -19,6 +19,7 @@ class BreedingType(KGObject, OMBreedingType): type_ = "https://openminds.om-i.org/types/BreedingType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/cell_culture_type.py b/fairgraph/openminds/v4/controlled_terms/cell_culture_type.py index de8c5ce5..062618cc 100644 --- a/fairgraph/openminds/v4/controlled_terms/cell_culture_type.py +++ b/fairgraph/openminds/v4/controlled_terms/cell_culture_type.py @@ -19,6 +19,7 @@ class CellCultureType(KGObject, OMCellCultureType): type_ = "https://openminds.om-i.org/types/CellCultureType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/cell_type.py b/fairgraph/openminds/v4/controlled_terms/cell_type.py index fcfc8aa9..59dd0f95 100644 --- a/fairgraph/openminds/v4/controlled_terms/cell_type.py +++ b/fairgraph/openminds/v4/controlled_terms/cell_type.py @@ -19,6 +19,7 @@ class CellType(KGObject, OMCellType): type_ = "https://openminds.om-i.org/types/CellType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/chemical_mixture_type.py b/fairgraph/openminds/v4/controlled_terms/chemical_mixture_type.py index ae8c857d..db827df3 100644 --- a/fairgraph/openminds/v4/controlled_terms/chemical_mixture_type.py +++ b/fairgraph/openminds/v4/controlled_terms/chemical_mixture_type.py @@ -19,6 +19,7 @@ class ChemicalMixtureType(KGObject, OMChemicalMixtureType): type_ = "https://openminds.om-i.org/types/ChemicalMixtureType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/colormap.py b/fairgraph/openminds/v4/controlled_terms/colormap.py index 96eaef14..7e719659 100644 --- a/fairgraph/openminds/v4/controlled_terms/colormap.py +++ b/fairgraph/openminds/v4/controlled_terms/colormap.py @@ -19,6 +19,7 @@ class Colormap(KGObject, OMColormap): type_ = "https://openminds.om-i.org/types/Colormap" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/contribution_type.py b/fairgraph/openminds/v4/controlled_terms/contribution_type.py index 999a3d19..51cce91a 100644 --- a/fairgraph/openminds/v4/controlled_terms/contribution_type.py +++ b/fairgraph/openminds/v4/controlled_terms/contribution_type.py @@ -19,6 +19,7 @@ class ContributionType(KGObject, OMContributionType): type_ = "https://openminds.om-i.org/types/ContributionType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/cranial_window_construction_type.py b/fairgraph/openminds/v4/controlled_terms/cranial_window_construction_type.py index b3797597..de4ee8aa 100644 --- a/fairgraph/openminds/v4/controlled_terms/cranial_window_construction_type.py +++ b/fairgraph/openminds/v4/controlled_terms/cranial_window_construction_type.py @@ -19,6 +19,7 @@ class CranialWindowConstructionType(KGObject, OMCranialWindowConstructionType): type_ = "https://openminds.om-i.org/types/CranialWindowConstructionType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/cranial_window_reinforcement_type.py b/fairgraph/openminds/v4/controlled_terms/cranial_window_reinforcement_type.py index bc651abb..2a2cd342 100644 --- a/fairgraph/openminds/v4/controlled_terms/cranial_window_reinforcement_type.py +++ b/fairgraph/openminds/v4/controlled_terms/cranial_window_reinforcement_type.py @@ -19,6 +19,7 @@ class CranialWindowReinforcementType(KGObject, OMCranialWindowReinforcementType) type_ = "https://openminds.om-i.org/types/CranialWindowReinforcementType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/criteria_quality_type.py b/fairgraph/openminds/v4/controlled_terms/criteria_quality_type.py index 25d7988a..9a93d33d 100644 --- a/fairgraph/openminds/v4/controlled_terms/criteria_quality_type.py +++ b/fairgraph/openminds/v4/controlled_terms/criteria_quality_type.py @@ -19,6 +19,7 @@ class CriteriaQualityType(KGObject, OMCriteriaQualityType): type_ = "https://openminds.om-i.org/types/CriteriaQualityType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/data_type.py b/fairgraph/openminds/v4/controlled_terms/data_type.py index 7ce79715..a0117a9f 100644 --- a/fairgraph/openminds/v4/controlled_terms/data_type.py +++ b/fairgraph/openminds/v4/controlled_terms/data_type.py @@ -19,6 +19,7 @@ class DataType(KGObject, OMDataType): type_ = "https://openminds.om-i.org/types/DataType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/device_type.py b/fairgraph/openminds/v4/controlled_terms/device_type.py index b0a24d06..117b7cc1 100644 --- a/fairgraph/openminds/v4/controlled_terms/device_type.py +++ b/fairgraph/openminds/v4/controlled_terms/device_type.py @@ -19,6 +19,7 @@ class DeviceType(KGObject, OMDeviceType): type_ = "https://openminds.om-i.org/types/DeviceType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/difference_measure.py b/fairgraph/openminds/v4/controlled_terms/difference_measure.py index afcb03cd..e8ae4cdf 100644 --- a/fairgraph/openminds/v4/controlled_terms/difference_measure.py +++ b/fairgraph/openminds/v4/controlled_terms/difference_measure.py @@ -19,6 +19,7 @@ class DifferenceMeasure(KGObject, OMDifferenceMeasure): type_ = "https://openminds.om-i.org/types/DifferenceMeasure" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/disease.py b/fairgraph/openminds/v4/controlled_terms/disease.py index eeb2b105..ec54b1c1 100644 --- a/fairgraph/openminds/v4/controlled_terms/disease.py +++ b/fairgraph/openminds/v4/controlled_terms/disease.py @@ -19,6 +19,7 @@ class Disease(KGObject, OMDisease): type_ = "https://openminds.om-i.org/types/Disease" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/disease_model.py b/fairgraph/openminds/v4/controlled_terms/disease_model.py index 391753f7..3d926dc3 100644 --- a/fairgraph/openminds/v4/controlled_terms/disease_model.py +++ b/fairgraph/openminds/v4/controlled_terms/disease_model.py @@ -19,6 +19,7 @@ class DiseaseModel(KGObject, OMDiseaseModel): type_ = "https://openminds.om-i.org/types/DiseaseModel" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/educational_level.py b/fairgraph/openminds/v4/controlled_terms/educational_level.py index f9769a2d..b8afa1e8 100644 --- a/fairgraph/openminds/v4/controlled_terms/educational_level.py +++ b/fairgraph/openminds/v4/controlled_terms/educational_level.py @@ -19,6 +19,7 @@ class EducationalLevel(KGObject, OMEducationalLevel): type_ = "https://openminds.om-i.org/types/EducationalLevel" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/electrical_stimulus_type.py b/fairgraph/openminds/v4/controlled_terms/electrical_stimulus_type.py index 67a2e4bf..ea455dd6 100644 --- a/fairgraph/openminds/v4/controlled_terms/electrical_stimulus_type.py +++ b/fairgraph/openminds/v4/controlled_terms/electrical_stimulus_type.py @@ -19,6 +19,7 @@ class ElectricalStimulusType(KGObject, OMElectricalStimulusType): type_ = "https://openminds.om-i.org/types/ElectricalStimulusType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/ethics_assessment.py b/fairgraph/openminds/v4/controlled_terms/ethics_assessment.py index fe12b1f9..9e87644f 100644 --- a/fairgraph/openminds/v4/controlled_terms/ethics_assessment.py +++ b/fairgraph/openminds/v4/controlled_terms/ethics_assessment.py @@ -19,6 +19,7 @@ class EthicsAssessment(KGObject, OMEthicsAssessment): type_ = "https://openminds.om-i.org/types/EthicsAssessment" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/experimental_approach.py b/fairgraph/openminds/v4/controlled_terms/experimental_approach.py index 1c649b42..25d612cd 100644 --- a/fairgraph/openminds/v4/controlled_terms/experimental_approach.py +++ b/fairgraph/openminds/v4/controlled_terms/experimental_approach.py @@ -19,6 +19,7 @@ class ExperimentalApproach(KGObject, OMExperimentalApproach): type_ = "https://openminds.om-i.org/types/ExperimentalApproach" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/file_bundle_grouping.py b/fairgraph/openminds/v4/controlled_terms/file_bundle_grouping.py index 5a19c745..ee4f542f 100644 --- a/fairgraph/openminds/v4/controlled_terms/file_bundle_grouping.py +++ b/fairgraph/openminds/v4/controlled_terms/file_bundle_grouping.py @@ -19,6 +19,7 @@ class FileBundleGrouping(KGObject, OMFileBundleGrouping): type_ = "https://openminds.om-i.org/types/FileBundleGrouping" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/file_repository_type.py b/fairgraph/openminds/v4/controlled_terms/file_repository_type.py index f84569da..7ea9754b 100644 --- a/fairgraph/openminds/v4/controlled_terms/file_repository_type.py +++ b/fairgraph/openminds/v4/controlled_terms/file_repository_type.py @@ -19,6 +19,7 @@ class FileRepositoryType(KGObject, OMFileRepositoryType): type_ = "https://openminds.om-i.org/types/FileRepositoryType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/file_usage_role.py b/fairgraph/openminds/v4/controlled_terms/file_usage_role.py index 826cc9f6..01cf9827 100644 --- a/fairgraph/openminds/v4/controlled_terms/file_usage_role.py +++ b/fairgraph/openminds/v4/controlled_terms/file_usage_role.py @@ -19,6 +19,7 @@ class FileUsageRole(KGObject, OMFileUsageRole): type_ = "https://openminds.om-i.org/types/FileUsageRole" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/genetic_strain_type.py b/fairgraph/openminds/v4/controlled_terms/genetic_strain_type.py index 5fcd8794..8866119a 100644 --- a/fairgraph/openminds/v4/controlled_terms/genetic_strain_type.py +++ b/fairgraph/openminds/v4/controlled_terms/genetic_strain_type.py @@ -19,6 +19,7 @@ class GeneticStrainType(KGObject, OMGeneticStrainType): type_ = "https://openminds.om-i.org/types/GeneticStrainType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/gustatory_stimulus_type.py b/fairgraph/openminds/v4/controlled_terms/gustatory_stimulus_type.py index 26f784fd..471ef62d 100644 --- a/fairgraph/openminds/v4/controlled_terms/gustatory_stimulus_type.py +++ b/fairgraph/openminds/v4/controlled_terms/gustatory_stimulus_type.py @@ -19,6 +19,7 @@ class GustatoryStimulusType(KGObject, OMGustatoryStimulusType): type_ = "https://openminds.om-i.org/types/GustatoryStimulusType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/handedness.py b/fairgraph/openminds/v4/controlled_terms/handedness.py index 83398ce7..203a6052 100644 --- a/fairgraph/openminds/v4/controlled_terms/handedness.py +++ b/fairgraph/openminds/v4/controlled_terms/handedness.py @@ -19,6 +19,7 @@ class Handedness(KGObject, OMHandedness): type_ = "https://openminds.om-i.org/types/Handedness" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/language.py b/fairgraph/openminds/v4/controlled_terms/language.py index 3758eb4b..5e25cfc9 100644 --- a/fairgraph/openminds/v4/controlled_terms/language.py +++ b/fairgraph/openminds/v4/controlled_terms/language.py @@ -19,6 +19,7 @@ class Language(KGObject, OMLanguage): type_ = "https://openminds.om-i.org/types/Language" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/laterality.py b/fairgraph/openminds/v4/controlled_terms/laterality.py index 8e480cad..92042f43 100644 --- a/fairgraph/openminds/v4/controlled_terms/laterality.py +++ b/fairgraph/openminds/v4/controlled_terms/laterality.py @@ -19,6 +19,7 @@ class Laterality(KGObject, OMLaterality): type_ = "https://openminds.om-i.org/types/Laterality" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/learning_resource_type.py b/fairgraph/openminds/v4/controlled_terms/learning_resource_type.py index 0d79d343..ea8d629e 100644 --- a/fairgraph/openminds/v4/controlled_terms/learning_resource_type.py +++ b/fairgraph/openminds/v4/controlled_terms/learning_resource_type.py @@ -19,6 +19,7 @@ class LearningResourceType(KGObject, OMLearningResourceType): type_ = "https://openminds.om-i.org/types/LearningResourceType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/measured_quantity.py b/fairgraph/openminds/v4/controlled_terms/measured_quantity.py index 88aff737..e239e413 100644 --- a/fairgraph/openminds/v4/controlled_terms/measured_quantity.py +++ b/fairgraph/openminds/v4/controlled_terms/measured_quantity.py @@ -19,6 +19,7 @@ class MeasuredQuantity(KGObject, OMMeasuredQuantity): type_ = "https://openminds.om-i.org/types/MeasuredQuantity" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/measured_signal_type.py b/fairgraph/openminds/v4/controlled_terms/measured_signal_type.py index e55ac4fe..d3d3b2ec 100644 --- a/fairgraph/openminds/v4/controlled_terms/measured_signal_type.py +++ b/fairgraph/openminds/v4/controlled_terms/measured_signal_type.py @@ -19,6 +19,7 @@ class MeasuredSignalType(KGObject, OMMeasuredSignalType): type_ = "https://openminds.om-i.org/types/MeasuredSignalType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/meta_data_model_type.py b/fairgraph/openminds/v4/controlled_terms/meta_data_model_type.py index ebd74308..6a3c7748 100644 --- a/fairgraph/openminds/v4/controlled_terms/meta_data_model_type.py +++ b/fairgraph/openminds/v4/controlled_terms/meta_data_model_type.py @@ -19,6 +19,7 @@ class MetaDataModelType(KGObject, OMMetaDataModelType): type_ = "https://openminds.om-i.org/types/MetaDataModelType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/model_abstraction_level.py b/fairgraph/openminds/v4/controlled_terms/model_abstraction_level.py index d5a732e6..f37a0623 100644 --- a/fairgraph/openminds/v4/controlled_terms/model_abstraction_level.py +++ b/fairgraph/openminds/v4/controlled_terms/model_abstraction_level.py @@ -19,6 +19,7 @@ class ModelAbstractionLevel(KGObject, OMModelAbstractionLevel): type_ = "https://openminds.om-i.org/types/ModelAbstractionLevel" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/model_scope.py b/fairgraph/openminds/v4/controlled_terms/model_scope.py index fb4b21af..228972ea 100644 --- a/fairgraph/openminds/v4/controlled_terms/model_scope.py +++ b/fairgraph/openminds/v4/controlled_terms/model_scope.py @@ -19,6 +19,7 @@ class ModelScope(KGObject, OMModelScope): type_ = "https://openminds.om-i.org/types/ModelScope" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/molecular_entity.py b/fairgraph/openminds/v4/controlled_terms/molecular_entity.py index 2fe40a1b..1d9aa3cc 100644 --- a/fairgraph/openminds/v4/controlled_terms/molecular_entity.py +++ b/fairgraph/openminds/v4/controlled_terms/molecular_entity.py @@ -19,6 +19,7 @@ class MolecularEntity(KGObject, OMMolecularEntity): type_ = "https://openminds.om-i.org/types/MolecularEntity" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/mri_pulse_sequence.py b/fairgraph/openminds/v4/controlled_terms/mri_pulse_sequence.py index 971e7872..f3edb0a4 100644 --- a/fairgraph/openminds/v4/controlled_terms/mri_pulse_sequence.py +++ b/fairgraph/openminds/v4/controlled_terms/mri_pulse_sequence.py @@ -19,6 +19,7 @@ class MRIPulseSequence(KGObject, OMMRIPulseSequence): type_ = "https://openminds.om-i.org/types/MRIPulseSequence" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/mri_weighting.py b/fairgraph/openminds/v4/controlled_terms/mri_weighting.py index 5fcb8dc0..841d307f 100644 --- a/fairgraph/openminds/v4/controlled_terms/mri_weighting.py +++ b/fairgraph/openminds/v4/controlled_terms/mri_weighting.py @@ -19,6 +19,7 @@ class MRIWeighting(KGObject, OMMRIWeighting): type_ = "https://openminds.om-i.org/types/MRIWeighting" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/olfactory_stimulus_type.py b/fairgraph/openminds/v4/controlled_terms/olfactory_stimulus_type.py index 6e039052..43f5b422 100644 --- a/fairgraph/openminds/v4/controlled_terms/olfactory_stimulus_type.py +++ b/fairgraph/openminds/v4/controlled_terms/olfactory_stimulus_type.py @@ -19,6 +19,7 @@ class OlfactoryStimulusType(KGObject, OMOlfactoryStimulusType): type_ = "https://openminds.om-i.org/types/OlfactoryStimulusType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/operating_device.py b/fairgraph/openminds/v4/controlled_terms/operating_device.py index b23ab67f..0daa58e1 100644 --- a/fairgraph/openminds/v4/controlled_terms/operating_device.py +++ b/fairgraph/openminds/v4/controlled_terms/operating_device.py @@ -19,6 +19,7 @@ class OperatingDevice(KGObject, OMOperatingDevice): type_ = "https://openminds.om-i.org/types/OperatingDevice" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/operating_system.py b/fairgraph/openminds/v4/controlled_terms/operating_system.py index d6271ca0..6bfc3c83 100644 --- a/fairgraph/openminds/v4/controlled_terms/operating_system.py +++ b/fairgraph/openminds/v4/controlled_terms/operating_system.py @@ -19,6 +19,7 @@ class OperatingSystem(KGObject, OMOperatingSystem): type_ = "https://openminds.om-i.org/types/OperatingSystem" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/optical_stimulus_type.py b/fairgraph/openminds/v4/controlled_terms/optical_stimulus_type.py index 85fde1dc..0ed9427e 100644 --- a/fairgraph/openminds/v4/controlled_terms/optical_stimulus_type.py +++ b/fairgraph/openminds/v4/controlled_terms/optical_stimulus_type.py @@ -19,6 +19,7 @@ class OpticalStimulusType(KGObject, OMOpticalStimulusType): type_ = "https://openminds.om-i.org/types/OpticalStimulusType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/organ.py b/fairgraph/openminds/v4/controlled_terms/organ.py index 5af3cfc9..cc29a40b 100644 --- a/fairgraph/openminds/v4/controlled_terms/organ.py +++ b/fairgraph/openminds/v4/controlled_terms/organ.py @@ -19,6 +19,7 @@ class Organ(KGObject, OMOrgan): type_ = "https://openminds.om-i.org/types/Organ" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/organism_substance.py b/fairgraph/openminds/v4/controlled_terms/organism_substance.py index 0aeb94c2..afe6a1eb 100644 --- a/fairgraph/openminds/v4/controlled_terms/organism_substance.py +++ b/fairgraph/openminds/v4/controlled_terms/organism_substance.py @@ -19,6 +19,7 @@ class OrganismSubstance(KGObject, OMOrganismSubstance): type_ = "https://openminds.om-i.org/types/OrganismSubstance" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/organism_system.py b/fairgraph/openminds/v4/controlled_terms/organism_system.py index 5c993465..e6db4ebc 100644 --- a/fairgraph/openminds/v4/controlled_terms/organism_system.py +++ b/fairgraph/openminds/v4/controlled_terms/organism_system.py @@ -19,6 +19,7 @@ class OrganismSystem(KGObject, OMOrganismSystem): type_ = "https://openminds.om-i.org/types/OrganismSystem" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/patch_clamp_variation.py b/fairgraph/openminds/v4/controlled_terms/patch_clamp_variation.py index ec0959e7..da4104b6 100644 --- a/fairgraph/openminds/v4/controlled_terms/patch_clamp_variation.py +++ b/fairgraph/openminds/v4/controlled_terms/patch_clamp_variation.py @@ -19,6 +19,7 @@ class PatchClampVariation(KGObject, OMPatchClampVariation): type_ = "https://openminds.om-i.org/types/PatchClampVariation" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/preparation_type.py b/fairgraph/openminds/v4/controlled_terms/preparation_type.py index 7bad5a3a..a77e5d9e 100644 --- a/fairgraph/openminds/v4/controlled_terms/preparation_type.py +++ b/fairgraph/openminds/v4/controlled_terms/preparation_type.py @@ -19,6 +19,7 @@ class PreparationType(KGObject, OMPreparationType): type_ = "https://openminds.om-i.org/types/PreparationType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/product_accessibility.py b/fairgraph/openminds/v4/controlled_terms/product_accessibility.py index c4c03090..8a644ac0 100644 --- a/fairgraph/openminds/v4/controlled_terms/product_accessibility.py +++ b/fairgraph/openminds/v4/controlled_terms/product_accessibility.py @@ -19,6 +19,7 @@ class ProductAccessibility(KGObject, OMProductAccessibility): type_ = "https://openminds.om-i.org/types/ProductAccessibility" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/programming_language.py b/fairgraph/openminds/v4/controlled_terms/programming_language.py index ebc975b6..736f10d4 100644 --- a/fairgraph/openminds/v4/controlled_terms/programming_language.py +++ b/fairgraph/openminds/v4/controlled_terms/programming_language.py @@ -19,6 +19,7 @@ class ProgrammingLanguage(KGObject, OMProgrammingLanguage): type_ = "https://openminds.om-i.org/types/ProgrammingLanguage" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/qualitative_overlap.py b/fairgraph/openminds/v4/controlled_terms/qualitative_overlap.py index 5a04c0a3..272c93ce 100644 --- a/fairgraph/openminds/v4/controlled_terms/qualitative_overlap.py +++ b/fairgraph/openminds/v4/controlled_terms/qualitative_overlap.py @@ -19,6 +19,7 @@ class QualitativeOverlap(KGObject, OMQualitativeOverlap): type_ = "https://openminds.om-i.org/types/QualitativeOverlap" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/semantic_data_type.py b/fairgraph/openminds/v4/controlled_terms/semantic_data_type.py index 19648add..fe89f6ca 100644 --- a/fairgraph/openminds/v4/controlled_terms/semantic_data_type.py +++ b/fairgraph/openminds/v4/controlled_terms/semantic_data_type.py @@ -19,6 +19,7 @@ class SemanticDataType(KGObject, OMSemanticDataType): type_ = "https://openminds.om-i.org/types/SemanticDataType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/service.py b/fairgraph/openminds/v4/controlled_terms/service.py index 9180fd13..c0ab106f 100644 --- a/fairgraph/openminds/v4/controlled_terms/service.py +++ b/fairgraph/openminds/v4/controlled_terms/service.py @@ -19,6 +19,7 @@ class Service(KGObject, OMService): type_ = "https://openminds.om-i.org/types/Service" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/setup_type.py b/fairgraph/openminds/v4/controlled_terms/setup_type.py index 7a350ffb..ee4bfa26 100644 --- a/fairgraph/openminds/v4/controlled_terms/setup_type.py +++ b/fairgraph/openminds/v4/controlled_terms/setup_type.py @@ -19,6 +19,7 @@ class SetupType(KGObject, OMSetupType): type_ = "https://openminds.om-i.org/types/SetupType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/software_application_category.py b/fairgraph/openminds/v4/controlled_terms/software_application_category.py index 496320de..7c2feb84 100644 --- a/fairgraph/openminds/v4/controlled_terms/software_application_category.py +++ b/fairgraph/openminds/v4/controlled_terms/software_application_category.py @@ -19,6 +19,7 @@ class SoftwareApplicationCategory(KGObject, OMSoftwareApplicationCategory): type_ = "https://openminds.om-i.org/types/SoftwareApplicationCategory" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/software_feature.py b/fairgraph/openminds/v4/controlled_terms/software_feature.py index 78f700c7..2a63f593 100644 --- a/fairgraph/openminds/v4/controlled_terms/software_feature.py +++ b/fairgraph/openminds/v4/controlled_terms/software_feature.py @@ -19,6 +19,7 @@ class SoftwareFeature(KGObject, OMSoftwareFeature): type_ = "https://openminds.om-i.org/types/SoftwareFeature" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/species.py b/fairgraph/openminds/v4/controlled_terms/species.py index 85330c6c..dfd40377 100644 --- a/fairgraph/openminds/v4/controlled_terms/species.py +++ b/fairgraph/openminds/v4/controlled_terms/species.py @@ -19,6 +19,7 @@ class Species(KGObject, OMSpecies): type_ = "https://openminds.om-i.org/types/Species" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/stimulation_approach.py b/fairgraph/openminds/v4/controlled_terms/stimulation_approach.py index 73cedf0d..526e58e0 100644 --- a/fairgraph/openminds/v4/controlled_terms/stimulation_approach.py +++ b/fairgraph/openminds/v4/controlled_terms/stimulation_approach.py @@ -19,6 +19,7 @@ class StimulationApproach(KGObject, OMStimulationApproach): type_ = "https://openminds.om-i.org/types/StimulationApproach" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/stimulation_technique.py b/fairgraph/openminds/v4/controlled_terms/stimulation_technique.py index 78a9aabb..e5fc2cfc 100644 --- a/fairgraph/openminds/v4/controlled_terms/stimulation_technique.py +++ b/fairgraph/openminds/v4/controlled_terms/stimulation_technique.py @@ -19,6 +19,7 @@ class StimulationTechnique(KGObject, OMStimulationTechnique): type_ = "https://openminds.om-i.org/types/StimulationTechnique" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/subcellular_entity.py b/fairgraph/openminds/v4/controlled_terms/subcellular_entity.py index 3245a0fe..645009dc 100644 --- a/fairgraph/openminds/v4/controlled_terms/subcellular_entity.py +++ b/fairgraph/openminds/v4/controlled_terms/subcellular_entity.py @@ -19,6 +19,7 @@ class SubcellularEntity(KGObject, OMSubcellularEntity): type_ = "https://openminds.om-i.org/types/SubcellularEntity" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/subject_attribute.py b/fairgraph/openminds/v4/controlled_terms/subject_attribute.py index 75c1887d..762bb9cc 100644 --- a/fairgraph/openminds/v4/controlled_terms/subject_attribute.py +++ b/fairgraph/openminds/v4/controlled_terms/subject_attribute.py @@ -19,6 +19,7 @@ class SubjectAttribute(KGObject, OMSubjectAttribute): type_ = "https://openminds.om-i.org/types/SubjectAttribute" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/tactile_stimulus_type.py b/fairgraph/openminds/v4/controlled_terms/tactile_stimulus_type.py index d5173678..1af92b5a 100644 --- a/fairgraph/openminds/v4/controlled_terms/tactile_stimulus_type.py +++ b/fairgraph/openminds/v4/controlled_terms/tactile_stimulus_type.py @@ -19,6 +19,7 @@ class TactileStimulusType(KGObject, OMTactileStimulusType): type_ = "https://openminds.om-i.org/types/TactileStimulusType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/technique.py b/fairgraph/openminds/v4/controlled_terms/technique.py index 7b9a6825..78935a3f 100644 --- a/fairgraph/openminds/v4/controlled_terms/technique.py +++ b/fairgraph/openminds/v4/controlled_terms/technique.py @@ -19,6 +19,7 @@ class Technique(KGObject, OMTechnique): type_ = "https://openminds.om-i.org/types/Technique" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/term_suggestion.py b/fairgraph/openminds/v4/controlled_terms/term_suggestion.py index 53d7a532..bfcce47f 100644 --- a/fairgraph/openminds/v4/controlled_terms/term_suggestion.py +++ b/fairgraph/openminds/v4/controlled_terms/term_suggestion.py @@ -19,6 +19,7 @@ class TermSuggestion(KGObject, OMTermSuggestion): type_ = "https://openminds.om-i.org/types/TermSuggestion" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/terminology.py b/fairgraph/openminds/v4/controlled_terms/terminology.py index a274374f..e9156b01 100644 --- a/fairgraph/openminds/v4/controlled_terms/terminology.py +++ b/fairgraph/openminds/v4/controlled_terms/terminology.py @@ -19,6 +19,7 @@ class Terminology(KGObject, OMTerminology): type_ = "https://openminds.om-i.org/types/Terminology" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/tissue_sample_attribute.py b/fairgraph/openminds/v4/controlled_terms/tissue_sample_attribute.py index b671fd08..a91ece67 100644 --- a/fairgraph/openminds/v4/controlled_terms/tissue_sample_attribute.py +++ b/fairgraph/openminds/v4/controlled_terms/tissue_sample_attribute.py @@ -19,6 +19,7 @@ class TissueSampleAttribute(KGObject, OMTissueSampleAttribute): type_ = "https://openminds.om-i.org/types/TissueSampleAttribute" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/tissue_sample_type.py b/fairgraph/openminds/v4/controlled_terms/tissue_sample_type.py index 4eda40e9..e98c6512 100644 --- a/fairgraph/openminds/v4/controlled_terms/tissue_sample_type.py +++ b/fairgraph/openminds/v4/controlled_terms/tissue_sample_type.py @@ -19,6 +19,7 @@ class TissueSampleType(KGObject, OMTissueSampleType): type_ = "https://openminds.om-i.org/types/TissueSampleType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/type_of_uncertainty.py b/fairgraph/openminds/v4/controlled_terms/type_of_uncertainty.py index 8bd3658b..c6ff955e 100644 --- a/fairgraph/openminds/v4/controlled_terms/type_of_uncertainty.py +++ b/fairgraph/openminds/v4/controlled_terms/type_of_uncertainty.py @@ -19,6 +19,7 @@ class TypeOfUncertainty(KGObject, OMTypeOfUncertainty): type_ = "https://openminds.om-i.org/types/TypeOfUncertainty" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/uberon_parcellation.py b/fairgraph/openminds/v4/controlled_terms/uberon_parcellation.py index aa5a5962..a637f756 100644 --- a/fairgraph/openminds/v4/controlled_terms/uberon_parcellation.py +++ b/fairgraph/openminds/v4/controlled_terms/uberon_parcellation.py @@ -19,6 +19,7 @@ class UBERONParcellation(KGObject, OMUBERONParcellation): type_ = "https://openminds.om-i.org/types/UBERONParcellation" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/unit_of_measurement.py b/fairgraph/openminds/v4/controlled_terms/unit_of_measurement.py index a497902c..75507cf4 100644 --- a/fairgraph/openminds/v4/controlled_terms/unit_of_measurement.py +++ b/fairgraph/openminds/v4/controlled_terms/unit_of_measurement.py @@ -19,6 +19,7 @@ class UnitOfMeasurement(KGObject, OMUnitOfMeasurement): type_ = "https://openminds.om-i.org/types/UnitOfMeasurement" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/controlled_terms/visual_stimulus_type.py b/fairgraph/openminds/v4/controlled_terms/visual_stimulus_type.py index b3c0646a..1170cb69 100644 --- a/fairgraph/openminds/v4/controlled_terms/visual_stimulus_type.py +++ b/fairgraph/openminds/v4/controlled_terms/visual_stimulus_type.py @@ -19,6 +19,7 @@ class VisualStimulusType(KGObject, OMVisualStimulusType): type_ = "https://openminds.om-i.org/types/VisualStimulusType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/actors/account_information.py b/fairgraph/openminds/v4/core/actors/account_information.py index 34ea4d7a..083d9994 100644 --- a/fairgraph/openminds/v4/core/actors/account_information.py +++ b/fairgraph/openminds/v4/core/actors/account_information.py @@ -16,6 +16,7 @@ class AccountInformation(KGObject, OMAccountInformation): type_ = "https://openminds.om-i.org/types/AccountInformation" default_space = "common" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/actors/affiliation.py b/fairgraph/openminds/v4/core/actors/affiliation.py index 2a6539fc..4493e69a 100644 --- a/fairgraph/openminds/v4/core/actors/affiliation.py +++ b/fairgraph/openminds/v4/core/actors/affiliation.py @@ -18,6 +18,7 @@ class Affiliation(KGEmbedded, OMAffiliation): """ type_ = "https://openminds.om-i.org/types/Affiliation" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("member_of",) diff --git a/fairgraph/openminds/v4/core/actors/consortium.py b/fairgraph/openminds/v4/core/actors/consortium.py index 2a6164f8..95ffa048 100644 --- a/fairgraph/openminds/v4/core/actors/consortium.py +++ b/fairgraph/openminds/v4/core/actors/consortium.py @@ -19,6 +19,7 @@ class Consortium(KGObject, OMConsortium): type_ = "https://openminds.om-i.org/types/Consortium" default_space = "common" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/actors/contact_information.py b/fairgraph/openminds/v4/core/actors/contact_information.py index 167389e8..f9a8606e 100644 --- a/fairgraph/openminds/v4/core/actors/contact_information.py +++ b/fairgraph/openminds/v4/core/actors/contact_information.py @@ -16,6 +16,7 @@ class ContactInformation(KGObject, OMContactInformation): type_ = "https://openminds.om-i.org/types/ContactInformation" default_space = "restricted" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/actors/contribution.py b/fairgraph/openminds/v4/core/actors/contribution.py index 71d9c3d5..7fc138d4 100644 --- a/fairgraph/openminds/v4/core/actors/contribution.py +++ b/fairgraph/openminds/v4/core/actors/contribution.py @@ -15,6 +15,7 @@ class Contribution(KGEmbedded, OMContribution): """ type_ = "https://openminds.om-i.org/types/Contribution" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("contributor", "types") diff --git a/fairgraph/openminds/v4/core/actors/organization.py b/fairgraph/openminds/v4/core/actors/organization.py index 6cd6d54a..de2d2103 100644 --- a/fairgraph/openminds/v4/core/actors/organization.py +++ b/fairgraph/openminds/v4/core/actors/organization.py @@ -19,6 +19,7 @@ class Organization(KGObject, OMOrganization): type_ = "https://openminds.om-i.org/types/Organization" default_space = "common" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/actors/person.py b/fairgraph/openminds/v4/core/actors/person.py index 2e1f0689..ad49a565 100644 --- a/fairgraph/openminds/v4/core/actors/person.py +++ b/fairgraph/openminds/v4/core/actors/person.py @@ -16,6 +16,7 @@ class Person(KGObject, OMPerson): type_ = "https://openminds.om-i.org/types/Person" default_space = "common" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/data/content_type.py b/fairgraph/openminds/v4/core/data/content_type.py index 6d50b874..827218db 100644 --- a/fairgraph/openminds/v4/core/data/content_type.py +++ b/fairgraph/openminds/v4/core/data/content_type.py @@ -19,6 +19,7 @@ class ContentType(KGObject, OMContentType): type_ = "https://openminds.om-i.org/types/ContentType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/data/content_type_pattern.py b/fairgraph/openminds/v4/core/data/content_type_pattern.py index 0f650049..f38f253d 100644 --- a/fairgraph/openminds/v4/core/data/content_type_pattern.py +++ b/fairgraph/openminds/v4/core/data/content_type_pattern.py @@ -16,6 +16,7 @@ class ContentTypePattern(KGObject, OMContentTypePattern): type_ = "https://openminds.om-i.org/types/ContentTypePattern" default_space = "files" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/data/copyright.py b/fairgraph/openminds/v4/core/data/copyright.py index fdf8a422..f45f4036 100644 --- a/fairgraph/openminds/v4/core/data/copyright.py +++ b/fairgraph/openminds/v4/core/data/copyright.py @@ -15,6 +15,7 @@ class Copyright(KGEmbedded, OMCopyright): """ type_ = "https://openminds.om-i.org/types/Copyright" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("holders", "years") diff --git a/fairgraph/openminds/v4/core/data/file.py b/fairgraph/openminds/v4/core/data/file.py index 41f1a59a..ad6e34e6 100644 --- a/fairgraph/openminds/v4/core/data/file.py +++ b/fairgraph/openminds/v4/core/data/file.py @@ -30,6 +30,7 @@ class File(KGObject, OMFile): type_ = "https://openminds.om-i.org/types/File" default_space = "files" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/data/file_archive.py b/fairgraph/openminds/v4/core/data/file_archive.py index e3813231..e8fdb633 100644 --- a/fairgraph/openminds/v4/core/data/file_archive.py +++ b/fairgraph/openminds/v4/core/data/file_archive.py @@ -19,6 +19,7 @@ class FileArchive(KGObject, OMFileArchive): type_ = "https://openminds.om-i.org/types/FileArchive" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/data/file_bundle.py b/fairgraph/openminds/v4/core/data/file_bundle.py index 8924c7c3..0a3ae7b1 100644 --- a/fairgraph/openminds/v4/core/data/file_bundle.py +++ b/fairgraph/openminds/v4/core/data/file_bundle.py @@ -16,6 +16,7 @@ class FileBundle(KGObject, OMFileBundle): type_ = "https://openminds.om-i.org/types/FileBundle" default_space = "files" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/data/file_path_pattern.py b/fairgraph/openminds/v4/core/data/file_path_pattern.py index 3f975109..54dea488 100644 --- a/fairgraph/openminds/v4/core/data/file_path_pattern.py +++ b/fairgraph/openminds/v4/core/data/file_path_pattern.py @@ -15,6 +15,7 @@ class FilePathPattern(KGEmbedded, OMFilePathPattern): """ type_ = "https://openminds.om-i.org/types/FilePathPattern" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("grouping_types", "regex") diff --git a/fairgraph/openminds/v4/core/data/file_repository.py b/fairgraph/openminds/v4/core/data/file_repository.py index 64c6bca1..57d9610f 100644 --- a/fairgraph/openminds/v4/core/data/file_repository.py +++ b/fairgraph/openminds/v4/core/data/file_repository.py @@ -19,6 +19,7 @@ class FileRepository(KGObject, OMFileRepository): type_ = "https://openminds.om-i.org/types/FileRepository" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/data/file_repository_structure.py b/fairgraph/openminds/v4/core/data/file_repository_structure.py index 2cfa2863..4d559f5b 100644 --- a/fairgraph/openminds/v4/core/data/file_repository_structure.py +++ b/fairgraph/openminds/v4/core/data/file_repository_structure.py @@ -16,6 +16,7 @@ class FileRepositoryStructure(KGObject, OMFileRepositoryStructure): type_ = "https://openminds.om-i.org/types/FileRepositoryStructure" default_space = "files" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/data/hash.py b/fairgraph/openminds/v4/core/data/hash.py index 3c00bb69..7dfae731 100644 --- a/fairgraph/openminds/v4/core/data/hash.py +++ b/fairgraph/openminds/v4/core/data/hash.py @@ -15,6 +15,7 @@ class Hash(KGEmbedded, OMHash): """ type_ = "https://openminds.om-i.org/types/Hash" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("algorithm", "digest") diff --git a/fairgraph/openminds/v4/core/data/license.py b/fairgraph/openminds/v4/core/data/license.py index 92260414..c2286746 100644 --- a/fairgraph/openminds/v4/core/data/license.py +++ b/fairgraph/openminds/v4/core/data/license.py @@ -19,6 +19,7 @@ class License(KGObject, OMLicense): type_ = "https://openminds.om-i.org/types/License" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/data/measurement.py b/fairgraph/openminds/v4/core/data/measurement.py index dcccb8ad..0781bb5f 100644 --- a/fairgraph/openminds/v4/core/data/measurement.py +++ b/fairgraph/openminds/v4/core/data/measurement.py @@ -18,6 +18,7 @@ class Measurement(KGEmbedded, OMMeasurement): """ type_ = "https://openminds.om-i.org/types/Measurement" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("measured_quantity", "values") diff --git a/fairgraph/openminds/v4/core/data/service_link.py b/fairgraph/openminds/v4/core/data/service_link.py index 9328cc33..2a39928d 100644 --- a/fairgraph/openminds/v4/core/data/service_link.py +++ b/fairgraph/openminds/v4/core/data/service_link.py @@ -19,6 +19,7 @@ class ServiceLink(KGObject, OMServiceLink): type_ = "https://openminds.om-i.org/types/ServiceLink" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("data_location", "open_data_in", "service") diff --git a/fairgraph/openminds/v4/core/digital_identifier/doi.py b/fairgraph/openminds/v4/core/digital_identifier/doi.py index 94801165..a6136643 100644 --- a/fairgraph/openminds/v4/core/digital_identifier/doi.py +++ b/fairgraph/openminds/v4/core/digital_identifier/doi.py @@ -16,6 +16,7 @@ class DOI(KGObject, OMDOI): type_ = "https://openminds.om-i.org/types/DOI" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/digital_identifier/gridid.py b/fairgraph/openminds/v4/core/digital_identifier/gridid.py index 70e5ffc0..7c771ed2 100644 --- a/fairgraph/openminds/v4/core/digital_identifier/gridid.py +++ b/fairgraph/openminds/v4/core/digital_identifier/gridid.py @@ -16,6 +16,7 @@ class GRIDID(KGObject, OMGRIDID): type_ = "https://openminds.om-i.org/types/GRIDID" default_space = "common" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/digital_identifier/handle.py b/fairgraph/openminds/v4/core/digital_identifier/handle.py index b0cdf9f3..54b56513 100644 --- a/fairgraph/openminds/v4/core/digital_identifier/handle.py +++ b/fairgraph/openminds/v4/core/digital_identifier/handle.py @@ -16,6 +16,7 @@ class HANDLE(KGObject, OMHANDLE): type_ = "https://openminds.om-i.org/types/HANDLE" default_space = "common" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/digital_identifier/identifiers_dot_org_id.py b/fairgraph/openminds/v4/core/digital_identifier/identifiers_dot_org_id.py index 16e3d42e..2a8f449f 100644 --- a/fairgraph/openminds/v4/core/digital_identifier/identifiers_dot_org_id.py +++ b/fairgraph/openminds/v4/core/digital_identifier/identifiers_dot_org_id.py @@ -16,6 +16,7 @@ class IdentifiersDotOrgID(KGObject, OMIdentifiersDotOrgID): type_ = "https://openminds.om-i.org/types/IdentifiersDotOrgID" default_space = "common" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/digital_identifier/isbn.py b/fairgraph/openminds/v4/core/digital_identifier/isbn.py index 1dfb2bfd..27f804a1 100644 --- a/fairgraph/openminds/v4/core/digital_identifier/isbn.py +++ b/fairgraph/openminds/v4/core/digital_identifier/isbn.py @@ -16,6 +16,7 @@ class ISBN(KGObject, OMISBN): type_ = "https://openminds.om-i.org/types/ISBN" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/digital_identifier/issn.py b/fairgraph/openminds/v4/core/digital_identifier/issn.py index 817e411c..921e0f28 100644 --- a/fairgraph/openminds/v4/core/digital_identifier/issn.py +++ b/fairgraph/openminds/v4/core/digital_identifier/issn.py @@ -16,6 +16,7 @@ class ISSN(KGObject, OMISSN): type_ = "https://openminds.om-i.org/types/ISSN" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/digital_identifier/orcid.py b/fairgraph/openminds/v4/core/digital_identifier/orcid.py index 7acfe098..2ba39695 100644 --- a/fairgraph/openminds/v4/core/digital_identifier/orcid.py +++ b/fairgraph/openminds/v4/core/digital_identifier/orcid.py @@ -16,6 +16,7 @@ class ORCID(KGObject, OMORCID): type_ = "https://openminds.om-i.org/types/ORCID" default_space = "common" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/digital_identifier/rorid.py b/fairgraph/openminds/v4/core/digital_identifier/rorid.py index b299bcba..23a601e5 100644 --- a/fairgraph/openminds/v4/core/digital_identifier/rorid.py +++ b/fairgraph/openminds/v4/core/digital_identifier/rorid.py @@ -16,6 +16,7 @@ class RORID(KGObject, OMRORID): type_ = "https://openminds.om-i.org/types/RORID" default_space = "common" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/digital_identifier/rrid.py b/fairgraph/openminds/v4/core/digital_identifier/rrid.py index 2b143627..d42af1b1 100644 --- a/fairgraph/openminds/v4/core/digital_identifier/rrid.py +++ b/fairgraph/openminds/v4/core/digital_identifier/rrid.py @@ -16,6 +16,7 @@ class RRID(KGObject, OMRRID): type_ = "https://openminds.om-i.org/types/RRID" default_space = "common" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/digital_identifier/stock_number.py b/fairgraph/openminds/v4/core/digital_identifier/stock_number.py index f3ffeca5..9dd30042 100644 --- a/fairgraph/openminds/v4/core/digital_identifier/stock_number.py +++ b/fairgraph/openminds/v4/core/digital_identifier/stock_number.py @@ -15,6 +15,7 @@ class StockNumber(KGEmbedded, OMStockNumber): """ type_ = "https://openminds.om-i.org/types/StockNumber" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("identifier", "vendor") diff --git a/fairgraph/openminds/v4/core/digital_identifier/swhid.py b/fairgraph/openminds/v4/core/digital_identifier/swhid.py index d0a6367f..e15c7525 100644 --- a/fairgraph/openminds/v4/core/digital_identifier/swhid.py +++ b/fairgraph/openminds/v4/core/digital_identifier/swhid.py @@ -16,6 +16,7 @@ class SWHID(KGObject, OMSWHID): type_ = "https://openminds.om-i.org/types/SWHID" default_space = "software" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/miscellaneous/comment.py b/fairgraph/openminds/v4/core/miscellaneous/comment.py index b59b7d24..adbfad2b 100644 --- a/fairgraph/openminds/v4/core/miscellaneous/comment.py +++ b/fairgraph/openminds/v4/core/miscellaneous/comment.py @@ -19,6 +19,7 @@ class Comment(KGObject, OMComment): type_ = "https://openminds.om-i.org/types/Comment" default_space = "common" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("about", "comment", "commenter", "timestamp") diff --git a/fairgraph/openminds/v4/core/miscellaneous/funding.py b/fairgraph/openminds/v4/core/miscellaneous/funding.py index 90306d4f..8e41e03a 100644 --- a/fairgraph/openminds/v4/core/miscellaneous/funding.py +++ b/fairgraph/openminds/v4/core/miscellaneous/funding.py @@ -16,6 +16,7 @@ class Funding(KGObject, OMFunding): type_ = "https://openminds.om-i.org/types/Funding" default_space = "common" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/miscellaneous/quantitative_value.py b/fairgraph/openminds/v4/core/miscellaneous/quantitative_value.py index 68df565e..5520d7b2 100644 --- a/fairgraph/openminds/v4/core/miscellaneous/quantitative_value.py +++ b/fairgraph/openminds/v4/core/miscellaneous/quantitative_value.py @@ -18,6 +18,7 @@ class QuantitativeValue(KGEmbedded, OMQuantitativeValue): """ type_ = "https://openminds.om-i.org/types/QuantitativeValue" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("value", "unit", "uncertainties") diff --git a/fairgraph/openminds/v4/core/miscellaneous/quantitative_value_array.py b/fairgraph/openminds/v4/core/miscellaneous/quantitative_value_array.py index 1fb30269..8aa3fa8a 100644 --- a/fairgraph/openminds/v4/core/miscellaneous/quantitative_value_array.py +++ b/fairgraph/openminds/v4/core/miscellaneous/quantitative_value_array.py @@ -19,6 +19,7 @@ class QuantitativeValueArray(KGObject, OMQuantitativeValueArray): type_ = "https://openminds.om-i.org/types/QuantitativeValueArray" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("values",) diff --git a/fairgraph/openminds/v4/core/miscellaneous/quantitative_value_range.py b/fairgraph/openminds/v4/core/miscellaneous/quantitative_value_range.py index c8d8b713..c95bd914 100644 --- a/fairgraph/openminds/v4/core/miscellaneous/quantitative_value_range.py +++ b/fairgraph/openminds/v4/core/miscellaneous/quantitative_value_range.py @@ -18,6 +18,7 @@ class QuantitativeValueRange(KGEmbedded, OMQuantitativeValueRange): """ type_ = "https://openminds.om-i.org/types/QuantitativeValueRange" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("max_value", "min_value") diff --git a/fairgraph/openminds/v4/core/miscellaneous/research_product_group.py b/fairgraph/openminds/v4/core/miscellaneous/research_product_group.py index e6f66eba..9866980d 100644 --- a/fairgraph/openminds/v4/core/miscellaneous/research_product_group.py +++ b/fairgraph/openminds/v4/core/miscellaneous/research_product_group.py @@ -16,6 +16,7 @@ class ResearchProductGroup(KGObject, OMResearchProductGroup): type_ = "https://openminds.om-i.org/types/ResearchProductGroup" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("context", "has_parts") diff --git a/fairgraph/openminds/v4/core/miscellaneous/web_resource.py b/fairgraph/openminds/v4/core/miscellaneous/web_resource.py index a2c2cb36..d421036a 100644 --- a/fairgraph/openminds/v4/core/miscellaneous/web_resource.py +++ b/fairgraph/openminds/v4/core/miscellaneous/web_resource.py @@ -19,6 +19,7 @@ class WebResource(KGObject, OMWebResource): type_ = "https://openminds.om-i.org/types/WebResource" default_space = "common" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/products/dataset.py b/fairgraph/openminds/v4/core/products/dataset.py index 6e2e9cff..12060d91 100644 --- a/fairgraph/openminds/v4/core/products/dataset.py +++ b/fairgraph/openminds/v4/core/products/dataset.py @@ -19,6 +19,7 @@ class Dataset(KGObject, OMDataset): type_ = "https://openminds.om-i.org/types/Dataset" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/products/dataset_version.py b/fairgraph/openminds/v4/core/products/dataset_version.py index ec138ba6..4ae10ada 100644 --- a/fairgraph/openminds/v4/core/products/dataset_version.py +++ b/fairgraph/openminds/v4/core/products/dataset_version.py @@ -22,6 +22,7 @@ class DatasetVersion(KGObject, OMDatasetVersion): type_ = "https://openminds.om-i.org/types/DatasetVersion" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/products/meta_data_model.py b/fairgraph/openminds/v4/core/products/meta_data_model.py index f74d4d06..bb8932c6 100644 --- a/fairgraph/openminds/v4/core/products/meta_data_model.py +++ b/fairgraph/openminds/v4/core/products/meta_data_model.py @@ -19,6 +19,7 @@ class MetaDataModel(KGObject, OMMetaDataModel): type_ = "https://openminds.om-i.org/types/MetaDataModel" default_space = "metadatamodel" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/products/meta_data_model_version.py b/fairgraph/openminds/v4/core/products/meta_data_model_version.py index 5694ad12..a443d2d7 100644 --- a/fairgraph/openminds/v4/core/products/meta_data_model_version.py +++ b/fairgraph/openminds/v4/core/products/meta_data_model_version.py @@ -20,6 +20,7 @@ class MetaDataModelVersion(KGObject, OMMetaDataModelVersion): type_ = "https://openminds.om-i.org/types/MetaDataModelVersion" default_space = "metadatamodel" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/products/model.py b/fairgraph/openminds/v4/core/products/model.py index 0de92b51..4898f934 100644 --- a/fairgraph/openminds/v4/core/products/model.py +++ b/fairgraph/openminds/v4/core/products/model.py @@ -19,6 +19,7 @@ class Model(KGObject, OMModel): type_ = "https://openminds.om-i.org/types/Model" default_space = "model" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/products/model_version.py b/fairgraph/openminds/v4/core/products/model_version.py index 15658696..74d4a377 100644 --- a/fairgraph/openminds/v4/core/products/model_version.py +++ b/fairgraph/openminds/v4/core/products/model_version.py @@ -22,6 +22,7 @@ class ModelVersion(KGObject, OMModelVersion): type_ = "https://openminds.om-i.org/types/ModelVersion" default_space = "model" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/products/project.py b/fairgraph/openminds/v4/core/products/project.py index afb7c6bf..381973d7 100644 --- a/fairgraph/openminds/v4/core/products/project.py +++ b/fairgraph/openminds/v4/core/products/project.py @@ -19,6 +19,7 @@ class Project(KGObject, OMProject): type_ = "https://openminds.om-i.org/types/Project" default_space = "common" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] aliases = {"name": "full_name", "alias": "short_name"} diff --git a/fairgraph/openminds/v4/core/products/setup.py b/fairgraph/openminds/v4/core/products/setup.py index 818aff7b..003e4500 100644 --- a/fairgraph/openminds/v4/core/products/setup.py +++ b/fairgraph/openminds/v4/core/products/setup.py @@ -16,6 +16,7 @@ class Setup(KGObject, OMSetup): type_ = "https://openminds.om-i.org/types/Setup" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/products/software.py b/fairgraph/openminds/v4/core/products/software.py index 05d4292b..23591f4f 100644 --- a/fairgraph/openminds/v4/core/products/software.py +++ b/fairgraph/openminds/v4/core/products/software.py @@ -19,6 +19,7 @@ class Software(KGObject, OMSoftware): type_ = "https://openminds.om-i.org/types/Software" default_space = "software" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/products/software_version.py b/fairgraph/openminds/v4/core/products/software_version.py index aecf10e8..73e4f5d8 100644 --- a/fairgraph/openminds/v4/core/products/software_version.py +++ b/fairgraph/openminds/v4/core/products/software_version.py @@ -20,6 +20,7 @@ class SoftwareVersion(KGObject, OMSoftwareVersion): type_ = "https://openminds.om-i.org/types/SoftwareVersion" default_space = "software" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/products/web_service.py b/fairgraph/openminds/v4/core/products/web_service.py index 0af04b68..f7cfbba0 100644 --- a/fairgraph/openminds/v4/core/products/web_service.py +++ b/fairgraph/openminds/v4/core/products/web_service.py @@ -19,6 +19,7 @@ class WebService(KGObject, OMWebService): type_ = "https://openminds.om-i.org/types/WebService" default_space = "webservice" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/products/web_service_version.py b/fairgraph/openminds/v4/core/products/web_service_version.py index 7f720dfa..0e2d9477 100644 --- a/fairgraph/openminds/v4/core/products/web_service_version.py +++ b/fairgraph/openminds/v4/core/products/web_service_version.py @@ -20,6 +20,7 @@ class WebServiceVersion(KGObject, OMWebServiceVersion): type_ = "https://openminds.om-i.org/types/WebServiceVersion" default_space = "webservice" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/research/behavioral_protocol.py b/fairgraph/openminds/v4/core/research/behavioral_protocol.py index 4b20aad6..f4ae9c49 100644 --- a/fairgraph/openminds/v4/core/research/behavioral_protocol.py +++ b/fairgraph/openminds/v4/core/research/behavioral_protocol.py @@ -16,6 +16,7 @@ class BehavioralProtocol(KGObject, OMBehavioralProtocol): type_ = "https://openminds.om-i.org/types/BehavioralProtocol" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/research/configuration.py b/fairgraph/openminds/v4/core/research/configuration.py index b1978a72..8a29579c 100644 --- a/fairgraph/openminds/v4/core/research/configuration.py +++ b/fairgraph/openminds/v4/core/research/configuration.py @@ -16,6 +16,7 @@ class Configuration(KGObject, OMConfiguration): type_ = "https://openminds.om-i.org/types/Configuration" default_space = "common" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/research/custom_property_set.py b/fairgraph/openminds/v4/core/research/custom_property_set.py index a9bf1bd3..a01cca90 100644 --- a/fairgraph/openminds/v4/core/research/custom_property_set.py +++ b/fairgraph/openminds/v4/core/research/custom_property_set.py @@ -15,6 +15,7 @@ class CustomPropertySet(KGEmbedded, OMCustomPropertySet): """ type_ = "https://openminds.om-i.org/types/CustomPropertySet" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("context", "data_location", "relevant_for") diff --git a/fairgraph/openminds/v4/core/research/numerical_property.py b/fairgraph/openminds/v4/core/research/numerical_property.py index 9ecb6ce3..32fea439 100644 --- a/fairgraph/openminds/v4/core/research/numerical_property.py +++ b/fairgraph/openminds/v4/core/research/numerical_property.py @@ -15,6 +15,7 @@ class NumericalProperty(KGEmbedded, OMNumericalProperty): """ type_ = "https://openminds.om-i.org/types/NumericalProperty" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("name", "values") diff --git a/fairgraph/openminds/v4/core/research/property_value_list.py b/fairgraph/openminds/v4/core/research/property_value_list.py index c2587f1a..b3b6b8dd 100644 --- a/fairgraph/openminds/v4/core/research/property_value_list.py +++ b/fairgraph/openminds/v4/core/research/property_value_list.py @@ -16,6 +16,7 @@ class PropertyValueList(KGObject, OMPropertyValueList): type_ = "https://openminds.om-i.org/types/PropertyValueList" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/research/protocol.py b/fairgraph/openminds/v4/core/research/protocol.py index d6f4f185..604914ff 100644 --- a/fairgraph/openminds/v4/core/research/protocol.py +++ b/fairgraph/openminds/v4/core/research/protocol.py @@ -16,6 +16,7 @@ class Protocol(KGObject, OMProtocol): type_ = "https://openminds.om-i.org/types/Protocol" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/research/protocol_execution.py b/fairgraph/openminds/v4/core/research/protocol_execution.py index 9b6a7112..af230986 100644 --- a/fairgraph/openminds/v4/core/research/protocol_execution.py +++ b/fairgraph/openminds/v4/core/research/protocol_execution.py @@ -19,6 +19,7 @@ class ProtocolExecution(KGObject, OMProtocolExecution): type_ = "https://openminds.om-i.org/types/ProtocolExecution" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/research/strain.py b/fairgraph/openminds/v4/core/research/strain.py index d896aa13..745ed197 100644 --- a/fairgraph/openminds/v4/core/research/strain.py +++ b/fairgraph/openminds/v4/core/research/strain.py @@ -16,6 +16,7 @@ class Strain(KGObject, OMStrain): type_ = "https://openminds.om-i.org/types/Strain" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/research/string_property.py b/fairgraph/openminds/v4/core/research/string_property.py index 5f23ad4a..d5108a0b 100644 --- a/fairgraph/openminds/v4/core/research/string_property.py +++ b/fairgraph/openminds/v4/core/research/string_property.py @@ -15,6 +15,7 @@ class StringProperty(KGEmbedded, OMStringProperty): """ type_ = "https://openminds.om-i.org/types/StringProperty" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("name", "value") diff --git a/fairgraph/openminds/v4/core/research/subject.py b/fairgraph/openminds/v4/core/research/subject.py index 54798eb7..d6fbc3b1 100644 --- a/fairgraph/openminds/v4/core/research/subject.py +++ b/fairgraph/openminds/v4/core/research/subject.py @@ -16,6 +16,7 @@ class Subject(KGObject, OMSubject): type_ = "https://openminds.om-i.org/types/Subject" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/research/subject_group.py b/fairgraph/openminds/v4/core/research/subject_group.py index 15117cd4..fae46c98 100644 --- a/fairgraph/openminds/v4/core/research/subject_group.py +++ b/fairgraph/openminds/v4/core/research/subject_group.py @@ -16,6 +16,7 @@ class SubjectGroup(KGObject, OMSubjectGroup): type_ = "https://openminds.om-i.org/types/SubjectGroup" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/research/subject_group_state.py b/fairgraph/openminds/v4/core/research/subject_group_state.py index 236ba4f5..8f857ebd 100644 --- a/fairgraph/openminds/v4/core/research/subject_group_state.py +++ b/fairgraph/openminds/v4/core/research/subject_group_state.py @@ -16,6 +16,7 @@ class SubjectGroupState(KGObject, OMSubjectGroupState): type_ = "https://openminds.om-i.org/types/SubjectGroupState" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/research/subject_state.py b/fairgraph/openminds/v4/core/research/subject_state.py index f16c63b5..1bf3d82c 100644 --- a/fairgraph/openminds/v4/core/research/subject_state.py +++ b/fairgraph/openminds/v4/core/research/subject_state.py @@ -16,6 +16,7 @@ class SubjectState(KGObject, OMSubjectState): type_ = "https://openminds.om-i.org/types/SubjectState" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/research/tissue_sample.py b/fairgraph/openminds/v4/core/research/tissue_sample.py index 65213f5a..2679feb5 100644 --- a/fairgraph/openminds/v4/core/research/tissue_sample.py +++ b/fairgraph/openminds/v4/core/research/tissue_sample.py @@ -16,6 +16,7 @@ class TissueSample(KGObject, OMTissueSample): type_ = "https://openminds.om-i.org/types/TissueSample" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/research/tissue_sample_collection.py b/fairgraph/openminds/v4/core/research/tissue_sample_collection.py index ed2fb390..ddd61d7b 100644 --- a/fairgraph/openminds/v4/core/research/tissue_sample_collection.py +++ b/fairgraph/openminds/v4/core/research/tissue_sample_collection.py @@ -16,6 +16,7 @@ class TissueSampleCollection(KGObject, OMTissueSampleCollection): type_ = "https://openminds.om-i.org/types/TissueSampleCollection" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/research/tissue_sample_collection_state.py b/fairgraph/openminds/v4/core/research/tissue_sample_collection_state.py index 86636360..9ee2c2c6 100644 --- a/fairgraph/openminds/v4/core/research/tissue_sample_collection_state.py +++ b/fairgraph/openminds/v4/core/research/tissue_sample_collection_state.py @@ -16,6 +16,7 @@ class TissueSampleCollectionState(KGObject, OMTissueSampleCollectionState): type_ = "https://openminds.om-i.org/types/TissueSampleCollectionState" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/core/research/tissue_sample_state.py b/fairgraph/openminds/v4/core/research/tissue_sample_state.py index a57b74af..7cddafcc 100644 --- a/fairgraph/openminds/v4/core/research/tissue_sample_state.py +++ b/fairgraph/openminds/v4/core/research/tissue_sample_state.py @@ -16,6 +16,7 @@ class TissueSampleState(KGObject, OMTissueSampleState): type_ = "https://openminds.om-i.org/types/TissueSampleState" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/ephys/activity/cell_patching.py b/fairgraph/openminds/v4/ephys/activity/cell_patching.py index 0a18fc99..aace696d 100644 --- a/fairgraph/openminds/v4/ephys/activity/cell_patching.py +++ b/fairgraph/openminds/v4/ephys/activity/cell_patching.py @@ -19,6 +19,7 @@ class CellPatching(KGObject, OMCellPatching): type_ = "https://openminds.om-i.org/types/CellPatching" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("lookup_label",) diff --git a/fairgraph/openminds/v4/ephys/activity/electrode_placement.py b/fairgraph/openminds/v4/ephys/activity/electrode_placement.py index dc42bb1b..fb0cc38f 100644 --- a/fairgraph/openminds/v4/ephys/activity/electrode_placement.py +++ b/fairgraph/openminds/v4/ephys/activity/electrode_placement.py @@ -19,6 +19,7 @@ class ElectrodePlacement(KGObject, OMElectrodePlacement): type_ = "https://openminds.om-i.org/types/ElectrodePlacement" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("lookup_label",) diff --git a/fairgraph/openminds/v4/ephys/activity/recording_activity.py b/fairgraph/openminds/v4/ephys/activity/recording_activity.py index 3450c8e8..0d48e97f 100644 --- a/fairgraph/openminds/v4/ephys/activity/recording_activity.py +++ b/fairgraph/openminds/v4/ephys/activity/recording_activity.py @@ -19,6 +19,7 @@ class RecordingActivity(KGObject, OMRecordingActivity): type_ = "https://openminds.om-i.org/types/RecordingActivity" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("lookup_label",) diff --git a/fairgraph/openminds/v4/ephys/device/electrode.py b/fairgraph/openminds/v4/ephys/device/electrode.py index c829d5f5..444e531d 100644 --- a/fairgraph/openminds/v4/ephys/device/electrode.py +++ b/fairgraph/openminds/v4/ephys/device/electrode.py @@ -16,6 +16,7 @@ class Electrode(KGObject, OMElectrode): type_ = "https://openminds.om-i.org/types/Electrode" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/ephys/device/electrode_array.py b/fairgraph/openminds/v4/ephys/device/electrode_array.py index fb4ba15b..22af9e6c 100644 --- a/fairgraph/openminds/v4/ephys/device/electrode_array.py +++ b/fairgraph/openminds/v4/ephys/device/electrode_array.py @@ -16,6 +16,7 @@ class ElectrodeArray(KGObject, OMElectrodeArray): type_ = "https://openminds.om-i.org/types/ElectrodeArray" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/ephys/device/electrode_array_usage.py b/fairgraph/openminds/v4/ephys/device/electrode_array_usage.py index 4b3fad86..36bbd986 100644 --- a/fairgraph/openminds/v4/ephys/device/electrode_array_usage.py +++ b/fairgraph/openminds/v4/ephys/device/electrode_array_usage.py @@ -16,6 +16,7 @@ class ElectrodeArrayUsage(KGObject, OMElectrodeArrayUsage): type_ = "https://openminds.om-i.org/types/ElectrodeArrayUsage" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/ephys/device/electrode_usage.py b/fairgraph/openminds/v4/ephys/device/electrode_usage.py index 155ab676..2abeb816 100644 --- a/fairgraph/openminds/v4/ephys/device/electrode_usage.py +++ b/fairgraph/openminds/v4/ephys/device/electrode_usage.py @@ -16,6 +16,7 @@ class ElectrodeUsage(KGObject, OMElectrodeUsage): type_ = "https://openminds.om-i.org/types/ElectrodeUsage" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/ephys/device/pipette.py b/fairgraph/openminds/v4/ephys/device/pipette.py index d79e9549..a7238170 100644 --- a/fairgraph/openminds/v4/ephys/device/pipette.py +++ b/fairgraph/openminds/v4/ephys/device/pipette.py @@ -16,6 +16,7 @@ class Pipette(KGObject, OMPipette): type_ = "https://openminds.om-i.org/types/Pipette" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/ephys/device/pipette_usage.py b/fairgraph/openminds/v4/ephys/device/pipette_usage.py index 3c024aea..9f3690c7 100644 --- a/fairgraph/openminds/v4/ephys/device/pipette_usage.py +++ b/fairgraph/openminds/v4/ephys/device/pipette_usage.py @@ -16,6 +16,7 @@ class PipetteUsage(KGObject, OMPipetteUsage): type_ = "https://openminds.om-i.org/types/PipetteUsage" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/ephys/entity/channel.py b/fairgraph/openminds/v4/ephys/entity/channel.py index e2ac8ee4..78ea7c55 100644 --- a/fairgraph/openminds/v4/ephys/entity/channel.py +++ b/fairgraph/openminds/v4/ephys/entity/channel.py @@ -15,6 +15,7 @@ class Channel(KGEmbedded, OMChannel): """ type_ = "https://openminds.om-i.org/types/Channel" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("internal_identifier", "unit") diff --git a/fairgraph/openminds/v4/ephys/entity/recording.py b/fairgraph/openminds/v4/ephys/entity/recording.py index 5fd1b46c..a0ee731f 100644 --- a/fairgraph/openminds/v4/ephys/entity/recording.py +++ b/fairgraph/openminds/v4/ephys/entity/recording.py @@ -16,6 +16,7 @@ class Recording(KGObject, OMRecording): type_ = "https://openminds.om-i.org/types/Recording" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/publications/book.py b/fairgraph/openminds/v4/publications/book.py index 247259c5..0af49f9f 100644 --- a/fairgraph/openminds/v4/publications/book.py +++ b/fairgraph/openminds/v4/publications/book.py @@ -20,6 +20,7 @@ class Book(KGObject, OMBook): type_ = "https://openminds.om-i.org/types/Book" default_space = "livepapers" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/publications/chapter.py b/fairgraph/openminds/v4/publications/chapter.py index 1fdfa626..86e13d20 100644 --- a/fairgraph/openminds/v4/publications/chapter.py +++ b/fairgraph/openminds/v4/publications/chapter.py @@ -20,6 +20,7 @@ class Chapter(KGObject, OMChapter): type_ = "https://openminds.om-i.org/types/Chapter" default_space = "livepapers" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/publications/learning_resource.py b/fairgraph/openminds/v4/publications/learning_resource.py index 146958fd..bbf73354 100644 --- a/fairgraph/openminds/v4/publications/learning_resource.py +++ b/fairgraph/openminds/v4/publications/learning_resource.py @@ -20,6 +20,7 @@ class LearningResource(KGObject, OMLearningResource): type_ = "https://openminds.om-i.org/types/LearningResource" default_space = "livepapers" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("about", "name", "publication_date") diff --git a/fairgraph/openminds/v4/publications/live_paper.py b/fairgraph/openminds/v4/publications/live_paper.py index f763959f..918f59ae 100644 --- a/fairgraph/openminds/v4/publications/live_paper.py +++ b/fairgraph/openminds/v4/publications/live_paper.py @@ -19,6 +19,7 @@ class LivePaper(KGObject, OMLivePaper): type_ = "https://openminds.om-i.org/types/LivePaper" default_space = "livepapers" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/publications/live_paper_resource_item.py b/fairgraph/openminds/v4/publications/live_paper_resource_item.py index 5f8e5b2e..ce79e258 100644 --- a/fairgraph/openminds/v4/publications/live_paper_resource_item.py +++ b/fairgraph/openminds/v4/publications/live_paper_resource_item.py @@ -19,6 +19,7 @@ class LivePaperResourceItem(KGObject, OMLivePaperResourceItem): type_ = "https://openminds.om-i.org/types/LivePaperResourceItem" default_space = "livepapers" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/publications/live_paper_section.py b/fairgraph/openminds/v4/publications/live_paper_section.py index 3ad2434a..56928baa 100644 --- a/fairgraph/openminds/v4/publications/live_paper_section.py +++ b/fairgraph/openminds/v4/publications/live_paper_section.py @@ -16,6 +16,7 @@ class LivePaperSection(KGObject, OMLivePaperSection): type_ = "https://openminds.om-i.org/types/LivePaperSection" default_space = "livepapers" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/publications/live_paper_version.py b/fairgraph/openminds/v4/publications/live_paper_version.py index 1ed786a6..2f8274fc 100644 --- a/fairgraph/openminds/v4/publications/live_paper_version.py +++ b/fairgraph/openminds/v4/publications/live_paper_version.py @@ -21,6 +21,7 @@ class LivePaperVersion(KGObject, OMLivePaperVersion): type_ = "https://openminds.om-i.org/types/LivePaperVersion" default_space = "livepapers" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/publications/periodical.py b/fairgraph/openminds/v4/publications/periodical.py index 5e8d3b43..5c86d21a 100644 --- a/fairgraph/openminds/v4/publications/periodical.py +++ b/fairgraph/openminds/v4/publications/periodical.py @@ -16,6 +16,7 @@ class Periodical(KGObject, OMPeriodical): type_ = "https://openminds.om-i.org/types/Periodical" default_space = "livepapers" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/publications/publication_issue.py b/fairgraph/openminds/v4/publications/publication_issue.py index 8e5c3784..e70da972 100644 --- a/fairgraph/openminds/v4/publications/publication_issue.py +++ b/fairgraph/openminds/v4/publications/publication_issue.py @@ -16,6 +16,7 @@ class PublicationIssue(KGObject, OMPublicationIssue): type_ = "https://openminds.om-i.org/types/PublicationIssue" default_space = "livepapers" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/publications/publication_volume.py b/fairgraph/openminds/v4/publications/publication_volume.py index 59940985..267b429b 100644 --- a/fairgraph/openminds/v4/publications/publication_volume.py +++ b/fairgraph/openminds/v4/publications/publication_volume.py @@ -16,6 +16,7 @@ class PublicationVolume(KGObject, OMPublicationVolume): type_ = "https://openminds.om-i.org/types/PublicationVolume" default_space = "livepapers" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/publications/scholarly_article.py b/fairgraph/openminds/v4/publications/scholarly_article.py index e34549dc..4c0edc42 100644 --- a/fairgraph/openminds/v4/publications/scholarly_article.py +++ b/fairgraph/openminds/v4/publications/scholarly_article.py @@ -22,6 +22,7 @@ class ScholarlyArticle(KGObject, OMScholarlyArticle): type_ = "https://openminds.om-i.org/types/ScholarlyArticle" default_space = "livepapers" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/sands/atlas/atlas_annotation.py b/fairgraph/openminds/v4/sands/atlas/atlas_annotation.py index a63e44d6..5cf16202 100644 --- a/fairgraph/openminds/v4/sands/atlas/atlas_annotation.py +++ b/fairgraph/openminds/v4/sands/atlas/atlas_annotation.py @@ -15,6 +15,7 @@ class AtlasAnnotation(KGEmbedded, OMAtlasAnnotation): """ type_ = "https://openminds.om-i.org/types/AtlasAnnotation" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("criteria_quality_type", "criteria_type", "type") diff --git a/fairgraph/openminds/v4/sands/atlas/brain_atlas.py b/fairgraph/openminds/v4/sands/atlas/brain_atlas.py index 6d8a260b..65ee465e 100644 --- a/fairgraph/openminds/v4/sands/atlas/brain_atlas.py +++ b/fairgraph/openminds/v4/sands/atlas/brain_atlas.py @@ -19,6 +19,7 @@ class BrainAtlas(KGObject, OMBrainAtlas): type_ = "https://openminds.om-i.org/types/BrainAtlas" default_space = "atlas" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/sands/atlas/brain_atlas_version.py b/fairgraph/openminds/v4/sands/atlas/brain_atlas_version.py index c3015c8a..b885fa84 100644 --- a/fairgraph/openminds/v4/sands/atlas/brain_atlas_version.py +++ b/fairgraph/openminds/v4/sands/atlas/brain_atlas_version.py @@ -22,6 +22,7 @@ class BrainAtlasVersion(KGObject, OMBrainAtlasVersion): type_ = "https://openminds.om-i.org/types/BrainAtlasVersion" default_space = "atlas" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/sands/atlas/common_coordinate_space.py b/fairgraph/openminds/v4/sands/atlas/common_coordinate_space.py index 75a2fbac..af7b7bdc 100644 --- a/fairgraph/openminds/v4/sands/atlas/common_coordinate_space.py +++ b/fairgraph/openminds/v4/sands/atlas/common_coordinate_space.py @@ -19,6 +19,7 @@ class CommonCoordinateSpace(KGObject, OMCommonCoordinateSpace): type_ = "https://openminds.om-i.org/types/CommonCoordinateSpace" default_space = "atlas" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/sands/atlas/common_coordinate_space_version.py b/fairgraph/openminds/v4/sands/atlas/common_coordinate_space_version.py index e5f798a0..5f0b4548 100644 --- a/fairgraph/openminds/v4/sands/atlas/common_coordinate_space_version.py +++ b/fairgraph/openminds/v4/sands/atlas/common_coordinate_space_version.py @@ -22,6 +22,7 @@ class CommonCoordinateSpaceVersion(KGObject, OMCommonCoordinateSpaceVersion): type_ = "https://openminds.om-i.org/types/CommonCoordinateSpaceVersion" default_space = "atlas" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/sands/atlas/parcellation_entity.py b/fairgraph/openminds/v4/sands/atlas/parcellation_entity.py index b24c3754..853c98fc 100644 --- a/fairgraph/openminds/v4/sands/atlas/parcellation_entity.py +++ b/fairgraph/openminds/v4/sands/atlas/parcellation_entity.py @@ -16,6 +16,7 @@ class ParcellationEntity(KGObject, OMParcellationEntity): type_ = "https://openminds.om-i.org/types/ParcellationEntity" default_space = "atlas" + SORT_PRIORITY = ("lookupLabel", "name", "fullName", "shortName", "familyName", "abbreviation") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/sands/atlas/parcellation_entity_version.py b/fairgraph/openminds/v4/sands/atlas/parcellation_entity_version.py index 450e5db5..fd218573 100644 --- a/fairgraph/openminds/v4/sands/atlas/parcellation_entity_version.py +++ b/fairgraph/openminds/v4/sands/atlas/parcellation_entity_version.py @@ -16,6 +16,7 @@ class ParcellationEntityVersion(KGObject, OMParcellationEntityVersion): type_ = "https://openminds.om-i.org/types/ParcellationEntityVersion" default_space = "atlas" + SORT_PRIORITY = ("lookupLabel", "name", "fullName", "shortName", "familyName", "abbreviation") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/sands/atlas/parcellation_terminology.py b/fairgraph/openminds/v4/sands/atlas/parcellation_terminology.py index bfe9386e..cad08d50 100644 --- a/fairgraph/openminds/v4/sands/atlas/parcellation_terminology.py +++ b/fairgraph/openminds/v4/sands/atlas/parcellation_terminology.py @@ -15,6 +15,7 @@ class ParcellationTerminology(KGEmbedded, OMParcellationTerminology): """ type_ = "https://openminds.om-i.org/types/ParcellationTerminology" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("has_entities",) diff --git a/fairgraph/openminds/v4/sands/atlas/parcellation_terminology_version.py b/fairgraph/openminds/v4/sands/atlas/parcellation_terminology_version.py index 51c7e656..9f1cbf21 100644 --- a/fairgraph/openminds/v4/sands/atlas/parcellation_terminology_version.py +++ b/fairgraph/openminds/v4/sands/atlas/parcellation_terminology_version.py @@ -15,6 +15,7 @@ class ParcellationTerminologyVersion(KGEmbedded, OMParcellationTerminologyVersio """ type_ = "https://openminds.om-i.org/types/ParcellationTerminologyVersion" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("short_name", "version_identifier") diff --git a/fairgraph/openminds/v4/sands/mathematical_shapes/circle.py b/fairgraph/openminds/v4/sands/mathematical_shapes/circle.py index 73fb4369..92355a0e 100644 --- a/fairgraph/openminds/v4/sands/mathematical_shapes/circle.py +++ b/fairgraph/openminds/v4/sands/mathematical_shapes/circle.py @@ -15,6 +15,7 @@ class Circle(KGEmbedded, OMCircle): """ type_ = "https://openminds.om-i.org/types/Circle" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("radius",) diff --git a/fairgraph/openminds/v4/sands/mathematical_shapes/ellipse.py b/fairgraph/openminds/v4/sands/mathematical_shapes/ellipse.py index 82aaa3ef..0eb58e51 100644 --- a/fairgraph/openminds/v4/sands/mathematical_shapes/ellipse.py +++ b/fairgraph/openminds/v4/sands/mathematical_shapes/ellipse.py @@ -15,6 +15,7 @@ class Ellipse(KGEmbedded, OMEllipse): """ type_ = "https://openminds.om-i.org/types/Ellipse" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("semi_major_axis", "semi_minor_axis") diff --git a/fairgraph/openminds/v4/sands/mathematical_shapes/rectangle.py b/fairgraph/openminds/v4/sands/mathematical_shapes/rectangle.py index 68412375..576971e9 100644 --- a/fairgraph/openminds/v4/sands/mathematical_shapes/rectangle.py +++ b/fairgraph/openminds/v4/sands/mathematical_shapes/rectangle.py @@ -15,6 +15,7 @@ class Rectangle(KGEmbedded, OMRectangle): """ type_ = "https://openminds.om-i.org/types/Rectangle" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("length", "width") diff --git a/fairgraph/openminds/v4/sands/miscellaneous/anatomical_target_position.py b/fairgraph/openminds/v4/sands/miscellaneous/anatomical_target_position.py index ed917158..ecfc8048 100644 --- a/fairgraph/openminds/v4/sands/miscellaneous/anatomical_target_position.py +++ b/fairgraph/openminds/v4/sands/miscellaneous/anatomical_target_position.py @@ -15,6 +15,7 @@ class AnatomicalTargetPosition(KGEmbedded, OMAnatomicalTargetPosition): """ type_ = "https://openminds.om-i.org/types/AnatomicalTargetPosition" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("anatomical_targets", "target_identification_type") diff --git a/fairgraph/openminds/v4/sands/miscellaneous/coordinate_point.py b/fairgraph/openminds/v4/sands/miscellaneous/coordinate_point.py index c4afd79b..49bbf903 100644 --- a/fairgraph/openminds/v4/sands/miscellaneous/coordinate_point.py +++ b/fairgraph/openminds/v4/sands/miscellaneous/coordinate_point.py @@ -15,6 +15,7 @@ class CoordinatePoint(KGEmbedded, OMCoordinatePoint): """ type_ = "https://openminds.om-i.org/types/CoordinatePoint" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("coordinate_space", "coordinates") diff --git a/fairgraph/openminds/v4/sands/miscellaneous/qualitative_relation_assessment.py b/fairgraph/openminds/v4/sands/miscellaneous/qualitative_relation_assessment.py index 695411ca..121ebe40 100644 --- a/fairgraph/openminds/v4/sands/miscellaneous/qualitative_relation_assessment.py +++ b/fairgraph/openminds/v4/sands/miscellaneous/qualitative_relation_assessment.py @@ -15,6 +15,7 @@ class QualitativeRelationAssessment(KGEmbedded, OMQualitativeRelationAssessment) """ type_ = "https://openminds.om-i.org/types/QualitativeRelationAssessment" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("in_relation_to", "qualitative_overlap") diff --git a/fairgraph/openminds/v4/sands/miscellaneous/quantitative_relation_assessment.py b/fairgraph/openminds/v4/sands/miscellaneous/quantitative_relation_assessment.py index 820c837e..3db2bf10 100644 --- a/fairgraph/openminds/v4/sands/miscellaneous/quantitative_relation_assessment.py +++ b/fairgraph/openminds/v4/sands/miscellaneous/quantitative_relation_assessment.py @@ -15,6 +15,7 @@ class QuantitativeRelationAssessment(KGEmbedded, OMQuantitativeRelationAssessmen """ type_ = "https://openminds.om-i.org/types/QuantitativeRelationAssessment" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("in_relation_to", "quantitative_overlap") diff --git a/fairgraph/openminds/v4/sands/miscellaneous/single_color.py b/fairgraph/openminds/v4/sands/miscellaneous/single_color.py index 9bd817d1..acb1c855 100644 --- a/fairgraph/openminds/v4/sands/miscellaneous/single_color.py +++ b/fairgraph/openminds/v4/sands/miscellaneous/single_color.py @@ -16,6 +16,7 @@ class SingleColor(KGObject, OMSingleColor): type_ = "https://openminds.om-i.org/types/SingleColor" default_space = "atlas" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("value",) diff --git a/fairgraph/openminds/v4/sands/miscellaneous/viewer_specification.py b/fairgraph/openminds/v4/sands/miscellaneous/viewer_specification.py index a686c474..5047124e 100644 --- a/fairgraph/openminds/v4/sands/miscellaneous/viewer_specification.py +++ b/fairgraph/openminds/v4/sands/miscellaneous/viewer_specification.py @@ -15,6 +15,7 @@ class ViewerSpecification(KGEmbedded, OMViewerSpecification): """ type_ = "https://openminds.om-i.org/types/ViewerSpecification" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("anchor_points",) diff --git a/fairgraph/openminds/v4/sands/non_atlas/custom_anatomical_entity.py b/fairgraph/openminds/v4/sands/non_atlas/custom_anatomical_entity.py index 397b7dd0..778cde08 100644 --- a/fairgraph/openminds/v4/sands/non_atlas/custom_anatomical_entity.py +++ b/fairgraph/openminds/v4/sands/non_atlas/custom_anatomical_entity.py @@ -16,6 +16,7 @@ class CustomAnatomicalEntity(KGObject, OMCustomAnatomicalEntity): type_ = "https://openminds.om-i.org/types/CustomAnatomicalEntity" default_space = "spatial" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/sands/non_atlas/custom_annotation.py b/fairgraph/openminds/v4/sands/non_atlas/custom_annotation.py index 57295849..421674c4 100644 --- a/fairgraph/openminds/v4/sands/non_atlas/custom_annotation.py +++ b/fairgraph/openminds/v4/sands/non_atlas/custom_annotation.py @@ -15,6 +15,7 @@ class CustomAnnotation(KGEmbedded, OMCustomAnnotation): """ type_ = "https://openminds.om-i.org/types/CustomAnnotation" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("coordinate_space", "criteria_quality_type", "criteria_type", "type") diff --git a/fairgraph/openminds/v4/sands/non_atlas/custom_coordinate_space.py b/fairgraph/openminds/v4/sands/non_atlas/custom_coordinate_space.py index 16a374c4..addef528 100644 --- a/fairgraph/openminds/v4/sands/non_atlas/custom_coordinate_space.py +++ b/fairgraph/openminds/v4/sands/non_atlas/custom_coordinate_space.py @@ -16,6 +16,7 @@ class CustomCoordinateSpace(KGObject, OMCustomCoordinateSpace): type_ = "https://openminds.om-i.org/types/CustomCoordinateSpace" default_space = "spatial" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/specimen_prep/activity/cranial_window_preparation.py b/fairgraph/openminds/v4/specimen_prep/activity/cranial_window_preparation.py index c584c7bb..ba5f4306 100644 --- a/fairgraph/openminds/v4/specimen_prep/activity/cranial_window_preparation.py +++ b/fairgraph/openminds/v4/specimen_prep/activity/cranial_window_preparation.py @@ -19,6 +19,7 @@ class CranialWindowPreparation(KGObject, OMCranialWindowPreparation): type_ = "https://openminds.om-i.org/types/CranialWindowPreparation" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("lookup_label",) diff --git a/fairgraph/openminds/v4/specimen_prep/activity/tissue_culture_preparation.py b/fairgraph/openminds/v4/specimen_prep/activity/tissue_culture_preparation.py index f5e53a8b..eed7cb01 100644 --- a/fairgraph/openminds/v4/specimen_prep/activity/tissue_culture_preparation.py +++ b/fairgraph/openminds/v4/specimen_prep/activity/tissue_culture_preparation.py @@ -19,6 +19,7 @@ class TissueCulturePreparation(KGObject, OMTissueCulturePreparation): type_ = "https://openminds.om-i.org/types/TissueCulturePreparation" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("lookup_label",) diff --git a/fairgraph/openminds/v4/specimen_prep/activity/tissue_sample_slicing.py b/fairgraph/openminds/v4/specimen_prep/activity/tissue_sample_slicing.py index 89af937d..d7dc5afa 100644 --- a/fairgraph/openminds/v4/specimen_prep/activity/tissue_sample_slicing.py +++ b/fairgraph/openminds/v4/specimen_prep/activity/tissue_sample_slicing.py @@ -19,6 +19,7 @@ class TissueSampleSlicing(KGObject, OMTissueSampleSlicing): type_ = "https://openminds.om-i.org/types/TissueSampleSlicing" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("lookup_label",) diff --git a/fairgraph/openminds/v4/specimen_prep/device/slicing_device.py b/fairgraph/openminds/v4/specimen_prep/device/slicing_device.py index fae6585d..7ab20961 100644 --- a/fairgraph/openminds/v4/specimen_prep/device/slicing_device.py +++ b/fairgraph/openminds/v4/specimen_prep/device/slicing_device.py @@ -16,6 +16,7 @@ class SlicingDevice(KGObject, OMSlicingDevice): type_ = "https://openminds.om-i.org/types/SlicingDevice" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/specimen_prep/device/slicing_device_usage.py b/fairgraph/openminds/v4/specimen_prep/device/slicing_device_usage.py index a3e69067..1e73cbf0 100644 --- a/fairgraph/openminds/v4/specimen_prep/device/slicing_device_usage.py +++ b/fairgraph/openminds/v4/specimen_prep/device/slicing_device_usage.py @@ -16,6 +16,7 @@ class SlicingDeviceUsage(KGObject, OMSlicingDeviceUsage): type_ = "https://openminds.om-i.org/types/SlicingDeviceUsage" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v4/stimulation/activity/stimulation_activity.py b/fairgraph/openminds/v4/stimulation/activity/stimulation_activity.py index 3d55cf3b..bc781634 100644 --- a/fairgraph/openminds/v4/stimulation/activity/stimulation_activity.py +++ b/fairgraph/openminds/v4/stimulation/activity/stimulation_activity.py @@ -19,6 +19,7 @@ class StimulationActivity(KGObject, OMStimulationActivity): type_ = "https://openminds.om-i.org/types/StimulationActivity" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("lookup_label",) diff --git a/fairgraph/openminds/v4/stimulation/stimulus/ephys_stimulus.py b/fairgraph/openminds/v4/stimulation/stimulus/ephys_stimulus.py index ad70d154..4022e41d 100644 --- a/fairgraph/openminds/v4/stimulation/stimulus/ephys_stimulus.py +++ b/fairgraph/openminds/v4/stimulation/stimulus/ephys_stimulus.py @@ -16,6 +16,7 @@ class EphysStimulus(KGObject, OMEphysStimulus): type_ = "https://openminds.om-i.org/types/EphysStimulus" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/chemicals/amount_of_chemical.py b/fairgraph/openminds/v5/chemicals/amount_of_chemical.py index ef962ded..0e4ee25b 100644 --- a/fairgraph/openminds/v5/chemicals/amount_of_chemical.py +++ b/fairgraph/openminds/v5/chemicals/amount_of_chemical.py @@ -15,6 +15,7 @@ class AmountOfChemical(KGEmbedded, OMAmountOfChemical): """ type_ = "https://openminds.om-i.org/types/AmountOfChemical" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("chemical_product", "amount") diff --git a/fairgraph/openminds/v5/chemicals/chemical_mixture.py b/fairgraph/openminds/v5/chemicals/chemical_mixture.py index 11da07c4..ee5162d9 100644 --- a/fairgraph/openminds/v5/chemicals/chemical_mixture.py +++ b/fairgraph/openminds/v5/chemicals/chemical_mixture.py @@ -16,6 +16,7 @@ class ChemicalMixture(KGObject, OMChemicalMixture): type_ = "https://openminds.om-i.org/types/ChemicalMixture" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/chemicals/chemical_substance.py b/fairgraph/openminds/v5/chemicals/chemical_substance.py index bd40ae9b..ae6d4cf7 100644 --- a/fairgraph/openminds/v5/chemicals/chemical_substance.py +++ b/fairgraph/openminds/v5/chemicals/chemical_substance.py @@ -16,6 +16,7 @@ class ChemicalSubstance(KGObject, OMChemicalSubstance): type_ = "https://openminds.om-i.org/types/ChemicalSubstance" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/chemicals/product_source.py b/fairgraph/openminds/v5/chemicals/product_source.py index 3f48cc3e..779b687e 100644 --- a/fairgraph/openminds/v5/chemicals/product_source.py +++ b/fairgraph/openminds/v5/chemicals/product_source.py @@ -16,6 +16,7 @@ class ProductSource(KGObject, OMProductSource): type_ = "https://openminds.om-i.org/types/ProductSource" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/computation/data_analysis.py b/fairgraph/openminds/v5/computation/data_analysis.py index a144b355..e0a99eb7 100644 --- a/fairgraph/openminds/v5/computation/data_analysis.py +++ b/fairgraph/openminds/v5/computation/data_analysis.py @@ -19,6 +19,7 @@ class DataAnalysis(KGObject, OMDataAnalysis): type_ = "https://openminds.om-i.org/types/DataAnalysis" default_space = "computation" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/computation/data_copy.py b/fairgraph/openminds/v5/computation/data_copy.py index cce549e1..2135b21f 100644 --- a/fairgraph/openminds/v5/computation/data_copy.py +++ b/fairgraph/openminds/v5/computation/data_copy.py @@ -19,6 +19,7 @@ class DataCopy(KGObject, OMDataCopy): type_ = "https://openminds.om-i.org/types/DataCopy" default_space = "computation" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/computation/deployed_interface.py b/fairgraph/openminds/v5/computation/deployed_interface.py index c02a4be0..0db6bb99 100644 --- a/fairgraph/openminds/v5/computation/deployed_interface.py +++ b/fairgraph/openminds/v5/computation/deployed_interface.py @@ -15,6 +15,7 @@ class DeployedInterface(KGEmbedded, OMDeployedInterface): """ type_ = "https://openminds.om-i.org/types/DeployedInterface" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("accessibility", "entry_point", "interface") diff --git a/fairgraph/openminds/v5/computation/environment.py b/fairgraph/openminds/v5/computation/environment.py index 8a548b00..950a0c5b 100644 --- a/fairgraph/openminds/v5/computation/environment.py +++ b/fairgraph/openminds/v5/computation/environment.py @@ -16,6 +16,7 @@ class Environment(KGObject, OMEnvironment): type_ = "https://openminds.om-i.org/types/Environment" default_space = "computation" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/computation/generic_computation.py b/fairgraph/openminds/v5/computation/generic_computation.py index 03492fd3..e7ccce53 100644 --- a/fairgraph/openminds/v5/computation/generic_computation.py +++ b/fairgraph/openminds/v5/computation/generic_computation.py @@ -19,6 +19,7 @@ class GenericComputation(KGObject, OMGenericComputation): type_ = "https://openminds.om-i.org/types/GenericComputation" default_space = "computation" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/computation/hardware_system.py b/fairgraph/openminds/v5/computation/hardware_system.py index edf4cedb..7ffe55a8 100644 --- a/fairgraph/openminds/v5/computation/hardware_system.py +++ b/fairgraph/openminds/v5/computation/hardware_system.py @@ -16,6 +16,7 @@ class HardwareSystem(KGObject, OMHardwareSystem): type_ = "https://openminds.om-i.org/types/HardwareSystem" default_space = "computation" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/computation/launch_configuration.py b/fairgraph/openminds/v5/computation/launch_configuration.py index 69b61fcf..078fa248 100644 --- a/fairgraph/openminds/v5/computation/launch_configuration.py +++ b/fairgraph/openminds/v5/computation/launch_configuration.py @@ -16,6 +16,7 @@ class LaunchConfiguration(KGObject, OMLaunchConfiguration): type_ = "https://openminds.om-i.org/types/LaunchConfiguration" default_space = "computation" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/computation/model_validation.py b/fairgraph/openminds/v5/computation/model_validation.py index e760fed0..ba96d9b3 100644 --- a/fairgraph/openminds/v5/computation/model_validation.py +++ b/fairgraph/openminds/v5/computation/model_validation.py @@ -20,6 +20,7 @@ class ModelValidation(KGObject, OMModelValidation): type_ = "https://openminds.om-i.org/types/ModelValidation" default_space = "computation" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/computation/optimization.py b/fairgraph/openminds/v5/computation/optimization.py index e676687f..6e7afd55 100644 --- a/fairgraph/openminds/v5/computation/optimization.py +++ b/fairgraph/openminds/v5/computation/optimization.py @@ -19,6 +19,7 @@ class Optimization(KGObject, OMOptimization): type_ = "https://openminds.om-i.org/types/Optimization" default_space = "computation" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/computation/service_deployment.py b/fairgraph/openminds/v5/computation/service_deployment.py index 41616b27..d222d5a5 100644 --- a/fairgraph/openminds/v5/computation/service_deployment.py +++ b/fairgraph/openminds/v5/computation/service_deployment.py @@ -19,6 +19,7 @@ class ServiceDeployment(KGObject, OMServiceDeployment): type_ = "https://openminds.om-i.org/types/ServiceDeployment" default_space = "computation" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("name", "provides", "service", "start_time") diff --git a/fairgraph/openminds/v5/computation/simulation.py b/fairgraph/openminds/v5/computation/simulation.py index d33c71f5..40b36086 100644 --- a/fairgraph/openminds/v5/computation/simulation.py +++ b/fairgraph/openminds/v5/computation/simulation.py @@ -19,6 +19,7 @@ class Simulation(KGObject, OMSimulation): type_ = "https://openminds.om-i.org/types/Simulation" default_space = "computation" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/computation/software_agent.py b/fairgraph/openminds/v5/computation/software_agent.py index 37e22dbc..be203082 100644 --- a/fairgraph/openminds/v5/computation/software_agent.py +++ b/fairgraph/openminds/v5/computation/software_agent.py @@ -16,6 +16,7 @@ class SoftwareAgent(KGObject, OMSoftwareAgent): type_ = "https://openminds.om-i.org/types/SoftwareAgent" default_space = "computation" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/computation/validation_test.py b/fairgraph/openminds/v5/computation/validation_test.py index ea96fb68..f3669f72 100644 --- a/fairgraph/openminds/v5/computation/validation_test.py +++ b/fairgraph/openminds/v5/computation/validation_test.py @@ -19,6 +19,7 @@ class ValidationTest(KGObject, OMValidationTest): type_ = "https://openminds.om-i.org/types/ValidationTest" default_space = "computation" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/computation/validation_test_version.py b/fairgraph/openminds/v5/computation/validation_test_version.py index 1121d8d8..d08b521e 100644 --- a/fairgraph/openminds/v5/computation/validation_test_version.py +++ b/fairgraph/openminds/v5/computation/validation_test_version.py @@ -20,6 +20,7 @@ class ValidationTestVersion(KGObject, OMValidationTestVersion): type_ = "https://openminds.om-i.org/types/ValidationTestVersion" default_space = "computation" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/computation/visualization.py b/fairgraph/openminds/v5/computation/visualization.py index 66a07bfa..1fed027c 100644 --- a/fairgraph/openminds/v5/computation/visualization.py +++ b/fairgraph/openminds/v5/computation/visualization.py @@ -19,6 +19,7 @@ class Visualization(KGObject, OMVisualization): type_ = "https://openminds.om-i.org/types/Visualization" default_space = "computation" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/computation/workflow_execution.py b/fairgraph/openminds/v5/computation/workflow_execution.py index 96af24c9..a574cc25 100644 --- a/fairgraph/openminds/v5/computation/workflow_execution.py +++ b/fairgraph/openminds/v5/computation/workflow_execution.py @@ -16,6 +16,7 @@ class WorkflowExecution(KGObject, OMWorkflowExecution): type_ = "https://openminds.om-i.org/types/WorkflowExecution" default_space = "computation" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("stages",) diff --git a/fairgraph/openminds/v5/computation/workflow_recipe.py b/fairgraph/openminds/v5/computation/workflow_recipe.py index d7a8fd79..a1308f42 100644 --- a/fairgraph/openminds/v5/computation/workflow_recipe.py +++ b/fairgraph/openminds/v5/computation/workflow_recipe.py @@ -19,6 +19,7 @@ class WorkflowRecipe(KGObject, OMWorkflowRecipe): type_ = "https://openminds.om-i.org/types/WorkflowRecipe" default_space = "computation" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/computation/workflow_recipe_version.py b/fairgraph/openminds/v5/computation/workflow_recipe_version.py index bf7b0bb2..77066831 100644 --- a/fairgraph/openminds/v5/computation/workflow_recipe_version.py +++ b/fairgraph/openminds/v5/computation/workflow_recipe_version.py @@ -20,6 +20,7 @@ class WorkflowRecipeVersion(KGObject, OMWorkflowRecipeVersion): type_ = "https://openminds.om-i.org/types/WorkflowRecipeVersion" default_space = "computation" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/access_channel.py b/fairgraph/openminds/v5/controlled_terms/access_channel.py index 761b0ddd..ff444932 100644 --- a/fairgraph/openminds/v5/controlled_terms/access_channel.py +++ b/fairgraph/openminds/v5/controlled_terms/access_channel.py @@ -19,6 +19,7 @@ class AccessChannel(KGObject, OMAccessChannel): type_ = "https://openminds.om-i.org/types/AccessChannel" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/access_eligibility_type.py b/fairgraph/openminds/v5/controlled_terms/access_eligibility_type.py index 78e1e7fb..8fc05ff1 100644 --- a/fairgraph/openminds/v5/controlled_terms/access_eligibility_type.py +++ b/fairgraph/openminds/v5/controlled_terms/access_eligibility_type.py @@ -19,6 +19,7 @@ class AccessEligibilityType(KGObject, OMAccessEligibilityType): type_ = "https://openminds.om-i.org/types/AccessEligibilityType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/access_form.py b/fairgraph/openminds/v5/controlled_terms/access_form.py index f1c2d91f..4237a2f5 100644 --- a/fairgraph/openminds/v5/controlled_terms/access_form.py +++ b/fairgraph/openminds/v5/controlled_terms/access_form.py @@ -19,6 +19,7 @@ class AccessForm(KGObject, OMAccessForm): type_ = "https://openminds.om-i.org/types/AccessForm" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/access_process_type.py b/fairgraph/openminds/v5/controlled_terms/access_process_type.py index 830428e1..d90cdfe0 100644 --- a/fairgraph/openminds/v5/controlled_terms/access_process_type.py +++ b/fairgraph/openminds/v5/controlled_terms/access_process_type.py @@ -19,6 +19,7 @@ class AccessProcessType(KGObject, OMAccessProcessType): type_ = "https://openminds.om-i.org/types/AccessProcessType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/action_status_type.py b/fairgraph/openminds/v5/controlled_terms/action_status_type.py index 8eb74ed2..9f3ca47e 100644 --- a/fairgraph/openminds/v5/controlled_terms/action_status_type.py +++ b/fairgraph/openminds/v5/controlled_terms/action_status_type.py @@ -19,6 +19,7 @@ class ActionStatusType(KGObject, OMActionStatusType): type_ = "https://openminds.om-i.org/types/ActionStatusType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/age_category.py b/fairgraph/openminds/v5/controlled_terms/age_category.py index 7b8993da..1448f8e5 100644 --- a/fairgraph/openminds/v5/controlled_terms/age_category.py +++ b/fairgraph/openminds/v5/controlled_terms/age_category.py @@ -19,6 +19,7 @@ class AgeCategory(KGObject, OMAgeCategory): type_ = "https://openminds.om-i.org/types/AgeCategory" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/age_reference.py b/fairgraph/openminds/v5/controlled_terms/age_reference.py index 8641e2c6..049722e1 100644 --- a/fairgraph/openminds/v5/controlled_terms/age_reference.py +++ b/fairgraph/openminds/v5/controlled_terms/age_reference.py @@ -19,6 +19,7 @@ class AgeReference(KGObject, OMAgeReference): type_ = "https://openminds.om-i.org/types/AgeReference" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/analysis_technique.py b/fairgraph/openminds/v5/controlled_terms/analysis_technique.py index 0b5c52de..5977ca89 100644 --- a/fairgraph/openminds/v5/controlled_terms/analysis_technique.py +++ b/fairgraph/openminds/v5/controlled_terms/analysis_technique.py @@ -19,6 +19,7 @@ class AnalysisTechnique(KGObject, OMAnalysisTechnique): type_ = "https://openminds.om-i.org/types/AnalysisTechnique" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/anatomical_axes_orientation.py b/fairgraph/openminds/v5/controlled_terms/anatomical_axes_orientation.py index 7816c526..558505b6 100644 --- a/fairgraph/openminds/v5/controlled_terms/anatomical_axes_orientation.py +++ b/fairgraph/openminds/v5/controlled_terms/anatomical_axes_orientation.py @@ -19,6 +19,7 @@ class AnatomicalAxesOrientation(KGObject, OMAnatomicalAxesOrientation): type_ = "https://openminds.om-i.org/types/AnatomicalAxesOrientation" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/anatomical_cavity.py b/fairgraph/openminds/v5/controlled_terms/anatomical_cavity.py index d3d206e2..dadf62bf 100644 --- a/fairgraph/openminds/v5/controlled_terms/anatomical_cavity.py +++ b/fairgraph/openminds/v5/controlled_terms/anatomical_cavity.py @@ -19,6 +19,7 @@ class AnatomicalCavity(KGObject, OMAnatomicalCavity): type_ = "https://openminds.om-i.org/types/AnatomicalCavity" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/anatomical_identification_type.py b/fairgraph/openminds/v5/controlled_terms/anatomical_identification_type.py index b90f4708..1933f1cb 100644 --- a/fairgraph/openminds/v5/controlled_terms/anatomical_identification_type.py +++ b/fairgraph/openminds/v5/controlled_terms/anatomical_identification_type.py @@ -19,6 +19,7 @@ class AnatomicalIdentificationType(KGObject, OMAnatomicalIdentificationType): type_ = "https://openminds.om-i.org/types/AnatomicalIdentificationType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/anatomical_plane.py b/fairgraph/openminds/v5/controlled_terms/anatomical_plane.py index 7ac44a17..c3b417a5 100644 --- a/fairgraph/openminds/v5/controlled_terms/anatomical_plane.py +++ b/fairgraph/openminds/v5/controlled_terms/anatomical_plane.py @@ -19,6 +19,7 @@ class AnatomicalPlane(KGObject, OMAnatomicalPlane): type_ = "https://openminds.om-i.org/types/AnatomicalPlane" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/annotation_criteria_type.py b/fairgraph/openminds/v5/controlled_terms/annotation_criteria_type.py index 6307ef80..2fcd24d0 100644 --- a/fairgraph/openminds/v5/controlled_terms/annotation_criteria_type.py +++ b/fairgraph/openminds/v5/controlled_terms/annotation_criteria_type.py @@ -19,6 +19,7 @@ class AnnotationCriteriaType(KGObject, OMAnnotationCriteriaType): type_ = "https://openminds.om-i.org/types/AnnotationCriteriaType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/annotation_type.py b/fairgraph/openminds/v5/controlled_terms/annotation_type.py index 39b97d6c..5b475223 100644 --- a/fairgraph/openminds/v5/controlled_terms/annotation_type.py +++ b/fairgraph/openminds/v5/controlled_terms/annotation_type.py @@ -19,6 +19,7 @@ class AnnotationType(KGObject, OMAnnotationType): type_ = "https://openminds.om-i.org/types/AnnotationType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/atlas_type.py b/fairgraph/openminds/v5/controlled_terms/atlas_type.py index c6d91e81..931780ff 100644 --- a/fairgraph/openminds/v5/controlled_terms/atlas_type.py +++ b/fairgraph/openminds/v5/controlled_terms/atlas_type.py @@ -19,6 +19,7 @@ class AtlasType(KGObject, OMAtlasType): type_ = "https://openminds.om-i.org/types/AtlasType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/auditory_stimulus_type.py b/fairgraph/openminds/v5/controlled_terms/auditory_stimulus_type.py index b33c7cb6..ac78c59e 100644 --- a/fairgraph/openminds/v5/controlled_terms/auditory_stimulus_type.py +++ b/fairgraph/openminds/v5/controlled_terms/auditory_stimulus_type.py @@ -19,6 +19,7 @@ class AuditoryStimulusType(KGObject, OMAuditoryStimulusType): type_ = "https://openminds.om-i.org/types/AuditoryStimulusType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/biological_order.py b/fairgraph/openminds/v5/controlled_terms/biological_order.py index bcedd249..76545c8b 100644 --- a/fairgraph/openminds/v5/controlled_terms/biological_order.py +++ b/fairgraph/openminds/v5/controlled_terms/biological_order.py @@ -19,6 +19,7 @@ class BiologicalOrder(KGObject, OMBiologicalOrder): type_ = "https://openminds.om-i.org/types/BiologicalOrder" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/biological_process.py b/fairgraph/openminds/v5/controlled_terms/biological_process.py index af1f8a18..a9a0d475 100644 --- a/fairgraph/openminds/v5/controlled_terms/biological_process.py +++ b/fairgraph/openminds/v5/controlled_terms/biological_process.py @@ -19,6 +19,7 @@ class BiologicalProcess(KGObject, OMBiologicalProcess): type_ = "https://openminds.om-i.org/types/BiologicalProcess" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/biological_sex.py b/fairgraph/openminds/v5/controlled_terms/biological_sex.py index 9a621534..a56141bb 100644 --- a/fairgraph/openminds/v5/controlled_terms/biological_sex.py +++ b/fairgraph/openminds/v5/controlled_terms/biological_sex.py @@ -19,6 +19,7 @@ class BiologicalSex(KGObject, OMBiologicalSex): type_ = "https://openminds.om-i.org/types/BiologicalSex" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/breeding_type.py b/fairgraph/openminds/v5/controlled_terms/breeding_type.py index 3740b486..f868231c 100644 --- a/fairgraph/openminds/v5/controlled_terms/breeding_type.py +++ b/fairgraph/openminds/v5/controlled_terms/breeding_type.py @@ -19,6 +19,7 @@ class BreedingType(KGObject, OMBreedingType): type_ = "https://openminds.om-i.org/types/BreedingType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/cell_culture_type.py b/fairgraph/openminds/v5/controlled_terms/cell_culture_type.py index 556041eb..41bea6dd 100644 --- a/fairgraph/openminds/v5/controlled_terms/cell_culture_type.py +++ b/fairgraph/openminds/v5/controlled_terms/cell_culture_type.py @@ -19,6 +19,7 @@ class CellCultureType(KGObject, OMCellCultureType): type_ = "https://openminds.om-i.org/types/CellCultureType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/cell_type.py b/fairgraph/openminds/v5/controlled_terms/cell_type.py index 93f67916..84c371ce 100644 --- a/fairgraph/openminds/v5/controlled_terms/cell_type.py +++ b/fairgraph/openminds/v5/controlled_terms/cell_type.py @@ -19,6 +19,7 @@ class CellType(KGObject, OMCellType): type_ = "https://openminds.om-i.org/types/CellType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/chemical_mixture_type.py b/fairgraph/openminds/v5/controlled_terms/chemical_mixture_type.py index 234ed851..c85b0b8b 100644 --- a/fairgraph/openminds/v5/controlled_terms/chemical_mixture_type.py +++ b/fairgraph/openminds/v5/controlled_terms/chemical_mixture_type.py @@ -19,6 +19,7 @@ class ChemicalMixtureType(KGObject, OMChemicalMixtureType): type_ = "https://openminds.om-i.org/types/ChemicalMixtureType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/colormap.py b/fairgraph/openminds/v5/controlled_terms/colormap.py index 9341813b..4dda3d82 100644 --- a/fairgraph/openminds/v5/controlled_terms/colormap.py +++ b/fairgraph/openminds/v5/controlled_terms/colormap.py @@ -19,6 +19,7 @@ class Colormap(KGObject, OMColormap): type_ = "https://openminds.om-i.org/types/Colormap" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/communication_interface_type.py b/fairgraph/openminds/v5/controlled_terms/communication_interface_type.py index 804e51fc..9b562777 100644 --- a/fairgraph/openminds/v5/controlled_terms/communication_interface_type.py +++ b/fairgraph/openminds/v5/controlled_terms/communication_interface_type.py @@ -19,6 +19,7 @@ class CommunicationInterfaceType(KGObject, OMCommunicationInterfaceType): type_ = "https://openminds.om-i.org/types/CommunicationInterfaceType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/communication_protocol.py b/fairgraph/openminds/v5/controlled_terms/communication_protocol.py index 64676e0d..8a2343fc 100644 --- a/fairgraph/openminds/v5/controlled_terms/communication_protocol.py +++ b/fairgraph/openminds/v5/controlled_terms/communication_protocol.py @@ -19,6 +19,7 @@ class CommunicationProtocol(KGObject, OMCommunicationProtocol): type_ = "https://openminds.om-i.org/types/CommunicationProtocol" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/contribution_type.py b/fairgraph/openminds/v5/controlled_terms/contribution_type.py index 1443516d..a16235b8 100644 --- a/fairgraph/openminds/v5/controlled_terms/contribution_type.py +++ b/fairgraph/openminds/v5/controlled_terms/contribution_type.py @@ -19,6 +19,7 @@ class ContributionType(KGObject, OMContributionType): type_ = "https://openminds.om-i.org/types/ContributionType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/cranial_window_construction_type.py b/fairgraph/openminds/v5/controlled_terms/cranial_window_construction_type.py index ca3ea29e..9368d8b8 100644 --- a/fairgraph/openminds/v5/controlled_terms/cranial_window_construction_type.py +++ b/fairgraph/openminds/v5/controlled_terms/cranial_window_construction_type.py @@ -19,6 +19,7 @@ class CranialWindowConstructionType(KGObject, OMCranialWindowConstructionType): type_ = "https://openminds.om-i.org/types/CranialWindowConstructionType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/cranial_window_reinforcement_type.py b/fairgraph/openminds/v5/controlled_terms/cranial_window_reinforcement_type.py index 5969ec64..033e591c 100644 --- a/fairgraph/openminds/v5/controlled_terms/cranial_window_reinforcement_type.py +++ b/fairgraph/openminds/v5/controlled_terms/cranial_window_reinforcement_type.py @@ -19,6 +19,7 @@ class CranialWindowReinforcementType(KGObject, OMCranialWindowReinforcementType) type_ = "https://openminds.om-i.org/types/CranialWindowReinforcementType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/criteria_quality_type.py b/fairgraph/openminds/v5/controlled_terms/criteria_quality_type.py index 9bc9accd..5451de04 100644 --- a/fairgraph/openminds/v5/controlled_terms/criteria_quality_type.py +++ b/fairgraph/openminds/v5/controlled_terms/criteria_quality_type.py @@ -19,6 +19,7 @@ class CriteriaQualityType(KGObject, OMCriteriaQualityType): type_ = "https://openminds.om-i.org/types/CriteriaQualityType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/data_type.py b/fairgraph/openminds/v5/controlled_terms/data_type.py index fa827b2d..8bbfe66f 100644 --- a/fairgraph/openminds/v5/controlled_terms/data_type.py +++ b/fairgraph/openminds/v5/controlled_terms/data_type.py @@ -19,6 +19,7 @@ class DataType(KGObject, OMDataType): type_ = "https://openminds.om-i.org/types/DataType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/dependency_impact.py b/fairgraph/openminds/v5/controlled_terms/dependency_impact.py index 549f62b3..3625a044 100644 --- a/fairgraph/openminds/v5/controlled_terms/dependency_impact.py +++ b/fairgraph/openminds/v5/controlled_terms/dependency_impact.py @@ -19,6 +19,7 @@ class DependencyImpact(KGObject, OMDependencyImpact): type_ = "https://openminds.om-i.org/types/DependencyImpact" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/deployment_environment_type.py b/fairgraph/openminds/v5/controlled_terms/deployment_environment_type.py index f8d8cb65..4eb39d14 100644 --- a/fairgraph/openminds/v5/controlled_terms/deployment_environment_type.py +++ b/fairgraph/openminds/v5/controlled_terms/deployment_environment_type.py @@ -19,6 +19,7 @@ class DeploymentEnvironmentType(KGObject, OMDeploymentEnvironmentType): type_ = "https://openminds.om-i.org/types/DeploymentEnvironmentType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/device_mounting_type.py b/fairgraph/openminds/v5/controlled_terms/device_mounting_type.py index eb8d8d68..44b8a6cf 100644 --- a/fairgraph/openminds/v5/controlled_terms/device_mounting_type.py +++ b/fairgraph/openminds/v5/controlled_terms/device_mounting_type.py @@ -19,6 +19,7 @@ class DeviceMountingType(KGObject, OMDeviceMountingType): type_ = "https://openminds.om-i.org/types/DeviceMountingType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/device_type.py b/fairgraph/openminds/v5/controlled_terms/device_type.py index 5a487ec1..aa55ffd0 100644 --- a/fairgraph/openminds/v5/controlled_terms/device_type.py +++ b/fairgraph/openminds/v5/controlled_terms/device_type.py @@ -19,6 +19,7 @@ class DeviceType(KGObject, OMDeviceType): type_ = "https://openminds.om-i.org/types/DeviceType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/difference_measure.py b/fairgraph/openminds/v5/controlled_terms/difference_measure.py index 05dbfce6..ca8f6bc3 100644 --- a/fairgraph/openminds/v5/controlled_terms/difference_measure.py +++ b/fairgraph/openminds/v5/controlled_terms/difference_measure.py @@ -19,6 +19,7 @@ class DifferenceMeasure(KGObject, OMDifferenceMeasure): type_ = "https://openminds.om-i.org/types/DifferenceMeasure" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/disease.py b/fairgraph/openminds/v5/controlled_terms/disease.py index 813f95d2..c118fb0b 100644 --- a/fairgraph/openminds/v5/controlled_terms/disease.py +++ b/fairgraph/openminds/v5/controlled_terms/disease.py @@ -19,6 +19,7 @@ class Disease(KGObject, OMDisease): type_ = "https://openminds.om-i.org/types/Disease" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/disease_model.py b/fairgraph/openminds/v5/controlled_terms/disease_model.py index 3181dfa5..f1751394 100644 --- a/fairgraph/openminds/v5/controlled_terms/disease_model.py +++ b/fairgraph/openminds/v5/controlled_terms/disease_model.py @@ -19,6 +19,7 @@ class DiseaseModel(KGObject, OMDiseaseModel): type_ = "https://openminds.om-i.org/types/DiseaseModel" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/educational_level.py b/fairgraph/openminds/v5/controlled_terms/educational_level.py index eb19f4c4..2b96330b 100644 --- a/fairgraph/openminds/v5/controlled_terms/educational_level.py +++ b/fairgraph/openminds/v5/controlled_terms/educational_level.py @@ -19,6 +19,7 @@ class EducationalLevel(KGObject, OMEducationalLevel): type_ = "https://openminds.om-i.org/types/EducationalLevel" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/electrical_stimulus_type.py b/fairgraph/openminds/v5/controlled_terms/electrical_stimulus_type.py index 52daf553..e840d46e 100644 --- a/fairgraph/openminds/v5/controlled_terms/electrical_stimulus_type.py +++ b/fairgraph/openminds/v5/controlled_terms/electrical_stimulus_type.py @@ -19,6 +19,7 @@ class ElectricalStimulusType(KGObject, OMElectricalStimulusType): type_ = "https://openminds.om-i.org/types/ElectricalStimulusType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/experimental_approach.py b/fairgraph/openminds/v5/controlled_terms/experimental_approach.py index e85a29e9..85bc08b3 100644 --- a/fairgraph/openminds/v5/controlled_terms/experimental_approach.py +++ b/fairgraph/openminds/v5/controlled_terms/experimental_approach.py @@ -19,6 +19,7 @@ class ExperimentalApproach(KGObject, OMExperimentalApproach): type_ = "https://openminds.om-i.org/types/ExperimentalApproach" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/external_body_region.py b/fairgraph/openminds/v5/controlled_terms/external_body_region.py index c4dae152..52ff0776 100644 --- a/fairgraph/openminds/v5/controlled_terms/external_body_region.py +++ b/fairgraph/openminds/v5/controlled_terms/external_body_region.py @@ -19,6 +19,7 @@ class ExternalBodyRegion(KGObject, OMExternalBodyRegion): type_ = "https://openminds.om-i.org/types/ExternalBodyRegion" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/file_bundle_grouping.py b/fairgraph/openminds/v5/controlled_terms/file_bundle_grouping.py index 4c22ff2d..04a90a90 100644 --- a/fairgraph/openminds/v5/controlled_terms/file_bundle_grouping.py +++ b/fairgraph/openminds/v5/controlled_terms/file_bundle_grouping.py @@ -19,6 +19,7 @@ class FileBundleGrouping(KGObject, OMFileBundleGrouping): type_ = "https://openminds.om-i.org/types/FileBundleGrouping" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/file_repository_type.py b/fairgraph/openminds/v5/controlled_terms/file_repository_type.py index 2371298a..f54998be 100644 --- a/fairgraph/openminds/v5/controlled_terms/file_repository_type.py +++ b/fairgraph/openminds/v5/controlled_terms/file_repository_type.py @@ -19,6 +19,7 @@ class FileRepositoryType(KGObject, OMFileRepositoryType): type_ = "https://openminds.om-i.org/types/FileRepositoryType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/file_usage_role.py b/fairgraph/openminds/v5/controlled_terms/file_usage_role.py index e87edb3b..5c3ef745 100644 --- a/fairgraph/openminds/v5/controlled_terms/file_usage_role.py +++ b/fairgraph/openminds/v5/controlled_terms/file_usage_role.py @@ -19,6 +19,7 @@ class FileUsageRole(KGObject, OMFileUsageRole): type_ = "https://openminds.om-i.org/types/FileUsageRole" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/genetic_strain_type.py b/fairgraph/openminds/v5/controlled_terms/genetic_strain_type.py index 5c3e4db4..7f4ee505 100644 --- a/fairgraph/openminds/v5/controlled_terms/genetic_strain_type.py +++ b/fairgraph/openminds/v5/controlled_terms/genetic_strain_type.py @@ -19,6 +19,7 @@ class GeneticStrainType(KGObject, OMGeneticStrainType): type_ = "https://openminds.om-i.org/types/GeneticStrainType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/gustatory_stimulus_type.py b/fairgraph/openminds/v5/controlled_terms/gustatory_stimulus_type.py index a98eb653..38063aaa 100644 --- a/fairgraph/openminds/v5/controlled_terms/gustatory_stimulus_type.py +++ b/fairgraph/openminds/v5/controlled_terms/gustatory_stimulus_type.py @@ -19,6 +19,7 @@ class GustatoryStimulusType(KGObject, OMGustatoryStimulusType): type_ = "https://openminds.om-i.org/types/GustatoryStimulusType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/handedness.py b/fairgraph/openminds/v5/controlled_terms/handedness.py index a102c65f..a4cbef89 100644 --- a/fairgraph/openminds/v5/controlled_terms/handedness.py +++ b/fairgraph/openminds/v5/controlled_terms/handedness.py @@ -19,6 +19,7 @@ class Handedness(KGObject, OMHandedness): type_ = "https://openminds.om-i.org/types/Handedness" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/language.py b/fairgraph/openminds/v5/controlled_terms/language.py index 8fc51fa5..55f75716 100644 --- a/fairgraph/openminds/v5/controlled_terms/language.py +++ b/fairgraph/openminds/v5/controlled_terms/language.py @@ -19,6 +19,7 @@ class Language(KGObject, OMLanguage): type_ = "https://openminds.om-i.org/types/Language" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/laterality.py b/fairgraph/openminds/v5/controlled_terms/laterality.py index f185960a..9bb018ef 100644 --- a/fairgraph/openminds/v5/controlled_terms/laterality.py +++ b/fairgraph/openminds/v5/controlled_terms/laterality.py @@ -19,6 +19,7 @@ class Laterality(KGObject, OMLaterality): type_ = "https://openminds.om-i.org/types/Laterality" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/learning_resource_type.py b/fairgraph/openminds/v5/controlled_terms/learning_resource_type.py index af8ac2b4..91b463b7 100644 --- a/fairgraph/openminds/v5/controlled_terms/learning_resource_type.py +++ b/fairgraph/openminds/v5/controlled_terms/learning_resource_type.py @@ -19,6 +19,7 @@ class LearningResourceType(KGObject, OMLearningResourceType): type_ = "https://openminds.om-i.org/types/LearningResourceType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/measured_quantity.py b/fairgraph/openminds/v5/controlled_terms/measured_quantity.py index 3cbbdb4d..f07bea96 100644 --- a/fairgraph/openminds/v5/controlled_terms/measured_quantity.py +++ b/fairgraph/openminds/v5/controlled_terms/measured_quantity.py @@ -19,6 +19,7 @@ class MeasuredQuantity(KGObject, OMMeasuredQuantity): type_ = "https://openminds.om-i.org/types/MeasuredQuantity" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/measured_signal_type.py b/fairgraph/openminds/v5/controlled_terms/measured_signal_type.py index 27136412..52eee79c 100644 --- a/fairgraph/openminds/v5/controlled_terms/measured_signal_type.py +++ b/fairgraph/openminds/v5/controlled_terms/measured_signal_type.py @@ -19,6 +19,7 @@ class MeasuredSignalType(KGObject, OMMeasuredSignalType): type_ = "https://openminds.om-i.org/types/MeasuredSignalType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/meta_data_model_type.py b/fairgraph/openminds/v5/controlled_terms/meta_data_model_type.py index 253c4135..6c46c6ba 100644 --- a/fairgraph/openminds/v5/controlled_terms/meta_data_model_type.py +++ b/fairgraph/openminds/v5/controlled_terms/meta_data_model_type.py @@ -19,6 +19,7 @@ class MetaDataModelType(KGObject, OMMetaDataModelType): type_ = "https://openminds.om-i.org/types/MetaDataModelType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/model_abstraction_level.py b/fairgraph/openminds/v5/controlled_terms/model_abstraction_level.py index 7d0a079b..ca362e0b 100644 --- a/fairgraph/openminds/v5/controlled_terms/model_abstraction_level.py +++ b/fairgraph/openminds/v5/controlled_terms/model_abstraction_level.py @@ -19,6 +19,7 @@ class ModelAbstractionLevel(KGObject, OMModelAbstractionLevel): type_ = "https://openminds.om-i.org/types/ModelAbstractionLevel" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/model_scope.py b/fairgraph/openminds/v5/controlled_terms/model_scope.py index e71479cf..5175052f 100644 --- a/fairgraph/openminds/v5/controlled_terms/model_scope.py +++ b/fairgraph/openminds/v5/controlled_terms/model_scope.py @@ -19,6 +19,7 @@ class ModelScope(KGObject, OMModelScope): type_ = "https://openminds.om-i.org/types/ModelScope" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/modification_consent_requirement.py b/fairgraph/openminds/v5/controlled_terms/modification_consent_requirement.py index 79929f3f..2d05355f 100644 --- a/fairgraph/openminds/v5/controlled_terms/modification_consent_requirement.py +++ b/fairgraph/openminds/v5/controlled_terms/modification_consent_requirement.py @@ -19,6 +19,7 @@ class ModificationConsentRequirement(KGObject, OMModificationConsentRequirement) type_ = "https://openminds.om-i.org/types/ModificationConsentRequirement" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/modification_constraint.py b/fairgraph/openminds/v5/controlled_terms/modification_constraint.py index 493f5580..b8e7819e 100644 --- a/fairgraph/openminds/v5/controlled_terms/modification_constraint.py +++ b/fairgraph/openminds/v5/controlled_terms/modification_constraint.py @@ -19,6 +19,7 @@ class ModificationConstraint(KGObject, OMModificationConstraint): type_ = "https://openminds.om-i.org/types/ModificationConstraint" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/modification_form.py b/fairgraph/openminds/v5/controlled_terms/modification_form.py index 1e5e085a..a824e7bc 100644 --- a/fairgraph/openminds/v5/controlled_terms/modification_form.py +++ b/fairgraph/openminds/v5/controlled_terms/modification_form.py @@ -19,6 +19,7 @@ class ModificationForm(KGObject, OMModificationForm): type_ = "https://openminds.om-i.org/types/ModificationForm" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/modification_scope.py b/fairgraph/openminds/v5/controlled_terms/modification_scope.py index 66e648d1..de28f174 100644 --- a/fairgraph/openminds/v5/controlled_terms/modification_scope.py +++ b/fairgraph/openminds/v5/controlled_terms/modification_scope.py @@ -19,6 +19,7 @@ class ModificationScope(KGObject, OMModificationScope): type_ = "https://openminds.om-i.org/types/ModificationScope" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/molecular_entity.py b/fairgraph/openminds/v5/controlled_terms/molecular_entity.py index 13dd193c..da537484 100644 --- a/fairgraph/openminds/v5/controlled_terms/molecular_entity.py +++ b/fairgraph/openminds/v5/controlled_terms/molecular_entity.py @@ -19,6 +19,7 @@ class MolecularEntity(KGObject, OMMolecularEntity): type_ = "https://openminds.om-i.org/types/MolecularEntity" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/mri_fat_suppression_technique.py b/fairgraph/openminds/v5/controlled_terms/mri_fat_suppression_technique.py index b1b30677..e5ee41c5 100644 --- a/fairgraph/openminds/v5/controlled_terms/mri_fat_suppression_technique.py +++ b/fairgraph/openminds/v5/controlled_terms/mri_fat_suppression_technique.py @@ -19,6 +19,7 @@ class MRIFatSuppressionTechnique(KGObject, OMMRIFatSuppressionTechnique): type_ = "https://openminds.om-i.org/types/MRIFatSuppressionTechnique" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/mri_parallel_acquisition_technique.py b/fairgraph/openminds/v5/controlled_terms/mri_parallel_acquisition_technique.py index 0985bec0..065050c3 100644 --- a/fairgraph/openminds/v5/controlled_terms/mri_parallel_acquisition_technique.py +++ b/fairgraph/openminds/v5/controlled_terms/mri_parallel_acquisition_technique.py @@ -19,6 +19,7 @@ class MRIParallelAcquisitionTechnique(KGObject, OMMRIParallelAcquisitionTechniqu type_ = "https://openminds.om-i.org/types/MRIParallelAcquisitionTechnique" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/mri_pulse_sequence.py b/fairgraph/openminds/v5/controlled_terms/mri_pulse_sequence.py index 3a743793..bf7a9c2d 100644 --- a/fairgraph/openminds/v5/controlled_terms/mri_pulse_sequence.py +++ b/fairgraph/openminds/v5/controlled_terms/mri_pulse_sequence.py @@ -19,6 +19,7 @@ class MRIPulseSequence(KGObject, OMMRIPulseSequence): type_ = "https://openminds.om-i.org/types/MRIPulseSequence" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/mri_spoiling_technique.py b/fairgraph/openminds/v5/controlled_terms/mri_spoiling_technique.py index 110c5584..a0db3e88 100644 --- a/fairgraph/openminds/v5/controlled_terms/mri_spoiling_technique.py +++ b/fairgraph/openminds/v5/controlled_terms/mri_spoiling_technique.py @@ -19,6 +19,7 @@ class MRISpoilingTechnique(KGObject, OMMRISpoilingTechnique): type_ = "https://openminds.om-i.org/types/MRISpoilingTechnique" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/mri_weighting.py b/fairgraph/openminds/v5/controlled_terms/mri_weighting.py index 46032e3b..96fcc89c 100644 --- a/fairgraph/openminds/v5/controlled_terms/mri_weighting.py +++ b/fairgraph/openminds/v5/controlled_terms/mri_weighting.py @@ -19,6 +19,7 @@ class MRIWeighting(KGObject, OMMRIWeighting): type_ = "https://openminds.om-i.org/types/MRIWeighting" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/muscular_structure.py b/fairgraph/openminds/v5/controlled_terms/muscular_structure.py index 60b246c7..d67f3d77 100644 --- a/fairgraph/openminds/v5/controlled_terms/muscular_structure.py +++ b/fairgraph/openminds/v5/controlled_terms/muscular_structure.py @@ -19,6 +19,7 @@ class MuscularStructure(KGObject, OMMuscularStructure): type_ = "https://openminds.om-i.org/types/MuscularStructure" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/nervous_system_structure.py b/fairgraph/openminds/v5/controlled_terms/nervous_system_structure.py index 7e9b8515..7fd75ead 100644 --- a/fairgraph/openminds/v5/controlled_terms/nervous_system_structure.py +++ b/fairgraph/openminds/v5/controlled_terms/nervous_system_structure.py @@ -19,6 +19,7 @@ class NervousSystemStructure(KGObject, OMNervousSystemStructure): type_ = "https://openminds.om-i.org/types/NervousSystemStructure" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/olfactory_stimulus_type.py b/fairgraph/openminds/v5/controlled_terms/olfactory_stimulus_type.py index 182b44e2..d0d43eec 100644 --- a/fairgraph/openminds/v5/controlled_terms/olfactory_stimulus_type.py +++ b/fairgraph/openminds/v5/controlled_terms/olfactory_stimulus_type.py @@ -19,6 +19,7 @@ class OlfactoryStimulusType(KGObject, OMOlfactoryStimulusType): type_ = "https://openminds.om-i.org/types/OlfactoryStimulusType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/operating_device.py b/fairgraph/openminds/v5/controlled_terms/operating_device.py index cd9b00f4..58f57cd7 100644 --- a/fairgraph/openminds/v5/controlled_terms/operating_device.py +++ b/fairgraph/openminds/v5/controlled_terms/operating_device.py @@ -19,6 +19,7 @@ class OperatingDevice(KGObject, OMOperatingDevice): type_ = "https://openminds.om-i.org/types/OperatingDevice" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/operating_system.py b/fairgraph/openminds/v5/controlled_terms/operating_system.py index 4d53579e..ec8e1309 100644 --- a/fairgraph/openminds/v5/controlled_terms/operating_system.py +++ b/fairgraph/openminds/v5/controlled_terms/operating_system.py @@ -19,6 +19,7 @@ class OperatingSystem(KGObject, OMOperatingSystem): type_ = "https://openminds.om-i.org/types/OperatingSystem" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/operational_approach.py b/fairgraph/openminds/v5/controlled_terms/operational_approach.py index 326113de..db88e110 100644 --- a/fairgraph/openminds/v5/controlled_terms/operational_approach.py +++ b/fairgraph/openminds/v5/controlled_terms/operational_approach.py @@ -19,6 +19,7 @@ class OperationalApproach(KGObject, OMOperationalApproach): type_ = "https://openminds.om-i.org/types/OperationalApproach" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/optical_stimulus_type.py b/fairgraph/openminds/v5/controlled_terms/optical_stimulus_type.py index 1c9907c2..8deb7c7b 100644 --- a/fairgraph/openminds/v5/controlled_terms/optical_stimulus_type.py +++ b/fairgraph/openminds/v5/controlled_terms/optical_stimulus_type.py @@ -19,6 +19,7 @@ class OpticalStimulusType(KGObject, OMOpticalStimulusType): type_ = "https://openminds.om-i.org/types/OpticalStimulusType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/organ.py b/fairgraph/openminds/v5/controlled_terms/organ.py index aa463e91..3ffb0a75 100644 --- a/fairgraph/openminds/v5/controlled_terms/organ.py +++ b/fairgraph/openminds/v5/controlled_terms/organ.py @@ -19,6 +19,7 @@ class Organ(KGObject, OMOrgan): type_ = "https://openminds.om-i.org/types/Organ" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/organ_system_structure.py b/fairgraph/openminds/v5/controlled_terms/organ_system_structure.py index 9b5e7f58..ad615df6 100644 --- a/fairgraph/openminds/v5/controlled_terms/organ_system_structure.py +++ b/fairgraph/openminds/v5/controlled_terms/organ_system_structure.py @@ -19,6 +19,7 @@ class OrganSystemStructure(KGObject, OMOrganSystemStructure): type_ = "https://openminds.om-i.org/types/OrganSystemStructure" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/organism_substance.py b/fairgraph/openminds/v5/controlled_terms/organism_substance.py index d7bacc45..f19f1f10 100644 --- a/fairgraph/openminds/v5/controlled_terms/organism_substance.py +++ b/fairgraph/openminds/v5/controlled_terms/organism_substance.py @@ -19,6 +19,7 @@ class OrganismSubstance(KGObject, OMOrganismSubstance): type_ = "https://openminds.om-i.org/types/OrganismSubstance" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/organism_system.py b/fairgraph/openminds/v5/controlled_terms/organism_system.py index 70ba40b5..6b745299 100644 --- a/fairgraph/openminds/v5/controlled_terms/organism_system.py +++ b/fairgraph/openminds/v5/controlled_terms/organism_system.py @@ -19,6 +19,7 @@ class OrganismSystem(KGObject, OMOrganismSystem): type_ = "https://openminds.om-i.org/types/OrganismSystem" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/organization_type.py b/fairgraph/openminds/v5/controlled_terms/organization_type.py index cf15948c..8cd45ff2 100644 --- a/fairgraph/openminds/v5/controlled_terms/organization_type.py +++ b/fairgraph/openminds/v5/controlled_terms/organization_type.py @@ -19,6 +19,7 @@ class OrganizationType(KGObject, OMOrganizationType): type_ = "https://openminds.om-i.org/types/OrganizationType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/patch_clamp_variation.py b/fairgraph/openminds/v5/controlled_terms/patch_clamp_variation.py index 4353e3cf..2b039320 100644 --- a/fairgraph/openminds/v5/controlled_terms/patch_clamp_variation.py +++ b/fairgraph/openminds/v5/controlled_terms/patch_clamp_variation.py @@ -19,6 +19,7 @@ class PatchClampVariation(KGObject, OMPatchClampVariation): type_ = "https://openminds.om-i.org/types/PatchClampVariation" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/payment_model_type.py b/fairgraph/openminds/v5/controlled_terms/payment_model_type.py index 3aabb06b..32c00921 100644 --- a/fairgraph/openminds/v5/controlled_terms/payment_model_type.py +++ b/fairgraph/openminds/v5/controlled_terms/payment_model_type.py @@ -19,6 +19,7 @@ class PaymentModelType(KGObject, OMPaymentModelType): type_ = "https://openminds.om-i.org/types/PaymentModelType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/preparation_type.py b/fairgraph/openminds/v5/controlled_terms/preparation_type.py index 0053a162..72f0a86e 100644 --- a/fairgraph/openminds/v5/controlled_terms/preparation_type.py +++ b/fairgraph/openminds/v5/controlled_terms/preparation_type.py @@ -19,6 +19,7 @@ class PreparationType(KGObject, OMPreparationType): type_ = "https://openminds.om-i.org/types/PreparationType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/programming_language.py b/fairgraph/openminds/v5/controlled_terms/programming_language.py index ba352c36..f976d4fc 100644 --- a/fairgraph/openminds/v5/controlled_terms/programming_language.py +++ b/fairgraph/openminds/v5/controlled_terms/programming_language.py @@ -19,6 +19,7 @@ class ProgrammingLanguage(KGObject, OMProgrammingLanguage): type_ = "https://openminds.om-i.org/types/ProgrammingLanguage" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/project_type.py b/fairgraph/openminds/v5/controlled_terms/project_type.py index 3e6f9b17..93442ff3 100644 --- a/fairgraph/openminds/v5/controlled_terms/project_type.py +++ b/fairgraph/openminds/v5/controlled_terms/project_type.py @@ -19,6 +19,7 @@ class ProjectType(KGObject, OMProjectType): type_ = "https://openminds.om-i.org/types/ProjectType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/publication_status.py b/fairgraph/openminds/v5/controlled_terms/publication_status.py index dc9a2d91..5687aa8a 100644 --- a/fairgraph/openminds/v5/controlled_terms/publication_status.py +++ b/fairgraph/openminds/v5/controlled_terms/publication_status.py @@ -19,6 +19,7 @@ class PublicationStatus(KGObject, OMPublicationStatus): type_ = "https://openminds.om-i.org/types/PublicationStatus" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/pulse_shape.py b/fairgraph/openminds/v5/controlled_terms/pulse_shape.py index bbfa0fc2..7b7cc33d 100644 --- a/fairgraph/openminds/v5/controlled_terms/pulse_shape.py +++ b/fairgraph/openminds/v5/controlled_terms/pulse_shape.py @@ -19,6 +19,7 @@ class PulseShape(KGObject, OMPulseShape): type_ = "https://openminds.om-i.org/types/PulseShape" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/qualitative_overlap.py b/fairgraph/openminds/v5/controlled_terms/qualitative_overlap.py index 3a06b997..fb80efa7 100644 --- a/fairgraph/openminds/v5/controlled_terms/qualitative_overlap.py +++ b/fairgraph/openminds/v5/controlled_terms/qualitative_overlap.py @@ -19,6 +19,7 @@ class QualitativeOverlap(KGObject, OMQualitativeOverlap): type_ = "https://openminds.om-i.org/types/QualitativeOverlap" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/semantic_data_type.py b/fairgraph/openminds/v5/controlled_terms/semantic_data_type.py index 3e4fe7c3..4c585a58 100644 --- a/fairgraph/openminds/v5/controlled_terms/semantic_data_type.py +++ b/fairgraph/openminds/v5/controlled_terms/semantic_data_type.py @@ -19,6 +19,7 @@ class SemanticDataType(KGObject, OMSemanticDataType): type_ = "https://openminds.om-i.org/types/SemanticDataType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/setup_type.py b/fairgraph/openminds/v5/controlled_terms/setup_type.py index c9193f1d..b149c221 100644 --- a/fairgraph/openminds/v5/controlled_terms/setup_type.py +++ b/fairgraph/openminds/v5/controlled_terms/setup_type.py @@ -19,6 +19,7 @@ class SetupType(KGObject, OMSetupType): type_ = "https://openminds.om-i.org/types/SetupType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/signal_directionality.py b/fairgraph/openminds/v5/controlled_terms/signal_directionality.py index 7aa247ff..bbd38fba 100644 --- a/fairgraph/openminds/v5/controlled_terms/signal_directionality.py +++ b/fairgraph/openminds/v5/controlled_terms/signal_directionality.py @@ -19,6 +19,7 @@ class SignalDirectionality(KGObject, OMSignalDirectionality): type_ = "https://openminds.om-i.org/types/SignalDirectionality" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/skeletal_structure.py b/fairgraph/openminds/v5/controlled_terms/skeletal_structure.py index d3eef24b..c32ee64e 100644 --- a/fairgraph/openminds/v5/controlled_terms/skeletal_structure.py +++ b/fairgraph/openminds/v5/controlled_terms/skeletal_structure.py @@ -19,6 +19,7 @@ class SkeletalStructure(KGObject, OMSkeletalStructure): type_ = "https://openminds.om-i.org/types/SkeletalStructure" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/software_application_category.py b/fairgraph/openminds/v5/controlled_terms/software_application_category.py index bc08e184..199f1164 100644 --- a/fairgraph/openminds/v5/controlled_terms/software_application_category.py +++ b/fairgraph/openminds/v5/controlled_terms/software_application_category.py @@ -19,6 +19,7 @@ class SoftwareApplicationCategory(KGObject, OMSoftwareApplicationCategory): type_ = "https://openminds.om-i.org/types/SoftwareApplicationCategory" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/software_feature.py b/fairgraph/openminds/v5/controlled_terms/software_feature.py index 3f675cf8..32a11d5c 100644 --- a/fairgraph/openminds/v5/controlled_terms/software_feature.py +++ b/fairgraph/openminds/v5/controlled_terms/software_feature.py @@ -19,6 +19,7 @@ class SoftwareFeature(KGObject, OMSoftwareFeature): type_ = "https://openminds.om-i.org/types/SoftwareFeature" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/sovereign_state.py b/fairgraph/openminds/v5/controlled_terms/sovereign_state.py index e2ad4edb..bd388f6f 100644 --- a/fairgraph/openminds/v5/controlled_terms/sovereign_state.py +++ b/fairgraph/openminds/v5/controlled_terms/sovereign_state.py @@ -19,6 +19,7 @@ class SovereignState(KGObject, OMSovereignState): type_ = "https://openminds.om-i.org/types/SovereignState" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/spatial_encoding.py b/fairgraph/openminds/v5/controlled_terms/spatial_encoding.py index aebfb22a..d40fe4a1 100644 --- a/fairgraph/openminds/v5/controlled_terms/spatial_encoding.py +++ b/fairgraph/openminds/v5/controlled_terms/spatial_encoding.py @@ -19,6 +19,7 @@ class SpatialEncoding(KGObject, OMSpatialEncoding): type_ = "https://openminds.om-i.org/types/SpatialEncoding" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/species.py b/fairgraph/openminds/v5/controlled_terms/species.py index 711a5765..86295de7 100644 --- a/fairgraph/openminds/v5/controlled_terms/species.py +++ b/fairgraph/openminds/v5/controlled_terms/species.py @@ -19,6 +19,7 @@ class Species(KGObject, OMSpecies): type_ = "https://openminds.om-i.org/types/Species" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/stimulation_approach.py b/fairgraph/openminds/v5/controlled_terms/stimulation_approach.py index 0f257afe..fef1e77c 100644 --- a/fairgraph/openminds/v5/controlled_terms/stimulation_approach.py +++ b/fairgraph/openminds/v5/controlled_terms/stimulation_approach.py @@ -19,6 +19,7 @@ class StimulationApproach(KGObject, OMStimulationApproach): type_ = "https://openminds.om-i.org/types/StimulationApproach" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/stimulation_technique.py b/fairgraph/openminds/v5/controlled_terms/stimulation_technique.py index ce7fd4e8..be76505b 100644 --- a/fairgraph/openminds/v5/controlled_terms/stimulation_technique.py +++ b/fairgraph/openminds/v5/controlled_terms/stimulation_technique.py @@ -19,6 +19,7 @@ class StimulationTechnique(KGObject, OMStimulationTechnique): type_ = "https://openminds.om-i.org/types/StimulationTechnique" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/subcellular_entity.py b/fairgraph/openminds/v5/controlled_terms/subcellular_entity.py index 36ff5d32..43a46a99 100644 --- a/fairgraph/openminds/v5/controlled_terms/subcellular_entity.py +++ b/fairgraph/openminds/v5/controlled_terms/subcellular_entity.py @@ -19,6 +19,7 @@ class SubcellularEntity(KGObject, OMSubcellularEntity): type_ = "https://openminds.om-i.org/types/SubcellularEntity" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/subject_attribute.py b/fairgraph/openminds/v5/controlled_terms/subject_attribute.py index 912eacc5..d9e29379 100644 --- a/fairgraph/openminds/v5/controlled_terms/subject_attribute.py +++ b/fairgraph/openminds/v5/controlled_terms/subject_attribute.py @@ -19,6 +19,7 @@ class SubjectAttribute(KGObject, OMSubjectAttribute): type_ = "https://openminds.om-i.org/types/SubjectAttribute" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/supranational_body.py b/fairgraph/openminds/v5/controlled_terms/supranational_body.py index a8e5f125..fbb40ce8 100644 --- a/fairgraph/openminds/v5/controlled_terms/supranational_body.py +++ b/fairgraph/openminds/v5/controlled_terms/supranational_body.py @@ -19,6 +19,7 @@ class SupranationalBody(KGObject, OMSupranationalBody): type_ = "https://openminds.om-i.org/types/SupranationalBody" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/tactile_stimulus_type.py b/fairgraph/openminds/v5/controlled_terms/tactile_stimulus_type.py index 2f839fbc..36ba2f3d 100644 --- a/fairgraph/openminds/v5/controlled_terms/tactile_stimulus_type.py +++ b/fairgraph/openminds/v5/controlled_terms/tactile_stimulus_type.py @@ -19,6 +19,7 @@ class TactileStimulusType(KGObject, OMTactileStimulusType): type_ = "https://openminds.om-i.org/types/TactileStimulusType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/technique.py b/fairgraph/openminds/v5/controlled_terms/technique.py index 1e82340d..754a45a9 100644 --- a/fairgraph/openminds/v5/controlled_terms/technique.py +++ b/fairgraph/openminds/v5/controlled_terms/technique.py @@ -19,6 +19,7 @@ class Technique(KGObject, OMTechnique): type_ = "https://openminds.om-i.org/types/Technique" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/term_suggestion.py b/fairgraph/openminds/v5/controlled_terms/term_suggestion.py index 3f9fe399..54953b4d 100644 --- a/fairgraph/openminds/v5/controlled_terms/term_suggestion.py +++ b/fairgraph/openminds/v5/controlled_terms/term_suggestion.py @@ -19,6 +19,7 @@ class TermSuggestion(KGObject, OMTermSuggestion): type_ = "https://openminds.om-i.org/types/TermSuggestion" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/terminology.py b/fairgraph/openminds/v5/controlled_terms/terminology.py index 87aa5205..b2481db6 100644 --- a/fairgraph/openminds/v5/controlled_terms/terminology.py +++ b/fairgraph/openminds/v5/controlled_terms/terminology.py @@ -19,6 +19,7 @@ class Terminology(KGObject, OMTerminology): type_ = "https://openminds.om-i.org/types/Terminology" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/tissue_sample_attribute.py b/fairgraph/openminds/v5/controlled_terms/tissue_sample_attribute.py index 1a4aa59d..7dbdacac 100644 --- a/fairgraph/openminds/v5/controlled_terms/tissue_sample_attribute.py +++ b/fairgraph/openminds/v5/controlled_terms/tissue_sample_attribute.py @@ -19,6 +19,7 @@ class TissueSampleAttribute(KGObject, OMTissueSampleAttribute): type_ = "https://openminds.om-i.org/types/TissueSampleAttribute" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/tissue_sample_type.py b/fairgraph/openminds/v5/controlled_terms/tissue_sample_type.py index 004cc653..fe86b630 100644 --- a/fairgraph/openminds/v5/controlled_terms/tissue_sample_type.py +++ b/fairgraph/openminds/v5/controlled_terms/tissue_sample_type.py @@ -19,6 +19,7 @@ class TissueSampleType(KGObject, OMTissueSampleType): type_ = "https://openminds.om-i.org/types/TissueSampleType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/tissue_structure.py b/fairgraph/openminds/v5/controlled_terms/tissue_structure.py index fddb3bfa..e539f808 100644 --- a/fairgraph/openminds/v5/controlled_terms/tissue_structure.py +++ b/fairgraph/openminds/v5/controlled_terms/tissue_structure.py @@ -19,6 +19,7 @@ class TissueStructure(KGObject, OMTissueStructure): type_ = "https://openminds.om-i.org/types/TissueStructure" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/type_of_uncertainty.py b/fairgraph/openminds/v5/controlled_terms/type_of_uncertainty.py index 1f6b8dee..632936d6 100644 --- a/fairgraph/openminds/v5/controlled_terms/type_of_uncertainty.py +++ b/fairgraph/openminds/v5/controlled_terms/type_of_uncertainty.py @@ -19,6 +19,7 @@ class TypeOfUncertainty(KGObject, OMTypeOfUncertainty): type_ = "https://openminds.om-i.org/types/TypeOfUncertainty" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/unit_of_measurement.py b/fairgraph/openminds/v5/controlled_terms/unit_of_measurement.py index 1f5097b8..f0d0289a 100644 --- a/fairgraph/openminds/v5/controlled_terms/unit_of_measurement.py +++ b/fairgraph/openminds/v5/controlled_terms/unit_of_measurement.py @@ -19,6 +19,7 @@ class UnitOfMeasurement(KGObject, OMUnitOfMeasurement): type_ = "https://openminds.om-i.org/types/UnitOfMeasurement" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/vascular_structure.py b/fairgraph/openminds/v5/controlled_terms/vascular_structure.py index 303d7f80..70e5efe7 100644 --- a/fairgraph/openminds/v5/controlled_terms/vascular_structure.py +++ b/fairgraph/openminds/v5/controlled_terms/vascular_structure.py @@ -19,6 +19,7 @@ class VascularStructure(KGObject, OMVascularStructure): type_ = "https://openminds.om-i.org/types/VascularStructure" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/visual_stimulus_type.py b/fairgraph/openminds/v5/controlled_terms/visual_stimulus_type.py index ecd7a7fd..6875189b 100644 --- a/fairgraph/openminds/v5/controlled_terms/visual_stimulus_type.py +++ b/fairgraph/openminds/v5/controlled_terms/visual_stimulus_type.py @@ -19,6 +19,7 @@ class VisualStimulusType(KGObject, OMVisualStimulusType): type_ = "https://openminds.om-i.org/types/VisualStimulusType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/controlled_terms/weight_type.py b/fairgraph/openminds/v5/controlled_terms/weight_type.py index 8cb83e8e..126d6daf 100644 --- a/fairgraph/openminds/v5/controlled_terms/weight_type.py +++ b/fairgraph/openminds/v5/controlled_terms/weight_type.py @@ -19,6 +19,7 @@ class WeightType(KGObject, OMWeightType): type_ = "https://openminds.om-i.org/types/WeightType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/actors/account_information.py b/fairgraph/openminds/v5/core/actors/account_information.py index 33ccf40a..efcaa041 100644 --- a/fairgraph/openminds/v5/core/actors/account_information.py +++ b/fairgraph/openminds/v5/core/actors/account_information.py @@ -16,6 +16,7 @@ class AccountInformation(KGObject, OMAccountInformation): type_ = "https://openminds.om-i.org/types/AccountInformation" default_space = "common" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/actors/affiliation.py b/fairgraph/openminds/v5/core/actors/affiliation.py index eb374cf3..71e78f61 100644 --- a/fairgraph/openminds/v5/core/actors/affiliation.py +++ b/fairgraph/openminds/v5/core/actors/affiliation.py @@ -15,6 +15,7 @@ class Affiliation(KGEmbedded, OMAffiliation): """ type_ = "https://openminds.om-i.org/types/Affiliation" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("organizations", "person") diff --git a/fairgraph/openminds/v5/core/actors/consortium.py b/fairgraph/openminds/v5/core/actors/consortium.py index f09b3ec0..aebf5016 100644 --- a/fairgraph/openminds/v5/core/actors/consortium.py +++ b/fairgraph/openminds/v5/core/actors/consortium.py @@ -19,6 +19,7 @@ class Consortium(KGObject, OMConsortium): type_ = "https://openminds.om-i.org/types/Consortium" default_space = "common" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/actors/contact_information.py b/fairgraph/openminds/v5/core/actors/contact_information.py index 545a95a8..4e5fb1e9 100644 --- a/fairgraph/openminds/v5/core/actors/contact_information.py +++ b/fairgraph/openminds/v5/core/actors/contact_information.py @@ -16,6 +16,7 @@ class ContactInformation(KGObject, OMContactInformation): type_ = "https://openminds.om-i.org/types/ContactInformation" default_space = "restricted" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/actors/contribution.py b/fairgraph/openminds/v5/core/actors/contribution.py index 3a57fca9..2b3c5718 100644 --- a/fairgraph/openminds/v5/core/actors/contribution.py +++ b/fairgraph/openminds/v5/core/actors/contribution.py @@ -15,6 +15,7 @@ class Contribution(KGEmbedded, OMContribution): """ type_ = "https://openminds.om-i.org/types/Contribution" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("contributors", "type") diff --git a/fairgraph/openminds/v5/core/actors/organization.py b/fairgraph/openminds/v5/core/actors/organization.py index d8056dde..8f698bd3 100644 --- a/fairgraph/openminds/v5/core/actors/organization.py +++ b/fairgraph/openminds/v5/core/actors/organization.py @@ -19,6 +19,7 @@ class Organization(KGObject, OMOrganization): type_ = "https://openminds.om-i.org/types/Organization" default_space = "common" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/actors/person.py b/fairgraph/openminds/v5/core/actors/person.py index c5083af8..da262b22 100644 --- a/fairgraph/openminds/v5/core/actors/person.py +++ b/fairgraph/openminds/v5/core/actors/person.py @@ -16,6 +16,7 @@ class Person(KGObject, OMPerson): type_ = "https://openminds.om-i.org/types/Person" default_space = "common" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/data/channel.py b/fairgraph/openminds/v5/core/data/channel.py index 5010f2aa..30a946c9 100644 --- a/fairgraph/openminds/v5/core/data/channel.py +++ b/fairgraph/openminds/v5/core/data/channel.py @@ -15,6 +15,7 @@ class Channel(KGEmbedded, OMChannel): """ type_ = "https://openminds.om-i.org/types/Channel" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("internal_identifier", "unit") diff --git a/fairgraph/openminds/v5/core/data/content_type.py b/fairgraph/openminds/v5/core/data/content_type.py index 418b8c14..fbe6577e 100644 --- a/fairgraph/openminds/v5/core/data/content_type.py +++ b/fairgraph/openminds/v5/core/data/content_type.py @@ -19,6 +19,7 @@ class ContentType(KGObject, OMContentType): type_ = "https://openminds.om-i.org/types/ContentType" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/data/content_type_pattern.py b/fairgraph/openminds/v5/core/data/content_type_pattern.py index 53f33132..4751aced 100644 --- a/fairgraph/openminds/v5/core/data/content_type_pattern.py +++ b/fairgraph/openminds/v5/core/data/content_type_pattern.py @@ -16,6 +16,7 @@ class ContentTypePattern(KGObject, OMContentTypePattern): type_ = "https://openminds.om-i.org/types/ContentTypePattern" default_space = "files" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/data/copyright.py b/fairgraph/openminds/v5/core/data/copyright.py index 3da3de84..d21f4d9d 100644 --- a/fairgraph/openminds/v5/core/data/copyright.py +++ b/fairgraph/openminds/v5/core/data/copyright.py @@ -15,6 +15,7 @@ class Copyright(KGEmbedded, OMCopyright): """ type_ = "https://openminds.om-i.org/types/Copyright" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("holders", "years") diff --git a/fairgraph/openminds/v5/core/data/file.py b/fairgraph/openminds/v5/core/data/file.py index 45d4fb19..821cc66c 100644 --- a/fairgraph/openminds/v5/core/data/file.py +++ b/fairgraph/openminds/v5/core/data/file.py @@ -30,6 +30,7 @@ class File(KGObject, OMFile): type_ = "https://openminds.om-i.org/types/File" default_space = "files" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/data/file_archive.py b/fairgraph/openminds/v5/core/data/file_archive.py index ee3420f6..d46e366c 100644 --- a/fairgraph/openminds/v5/core/data/file_archive.py +++ b/fairgraph/openminds/v5/core/data/file_archive.py @@ -19,6 +19,7 @@ class FileArchive(KGObject, OMFileArchive): type_ = "https://openminds.om-i.org/types/FileArchive" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/data/file_bundle.py b/fairgraph/openminds/v5/core/data/file_bundle.py index e9d79459..a36bccd0 100644 --- a/fairgraph/openminds/v5/core/data/file_bundle.py +++ b/fairgraph/openminds/v5/core/data/file_bundle.py @@ -16,6 +16,7 @@ class FileBundle(KGObject, OMFileBundle): type_ = "https://openminds.om-i.org/types/FileBundle" default_space = "files" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/data/file_path_pattern.py b/fairgraph/openminds/v5/core/data/file_path_pattern.py index 5ed6a5eb..8c73aeb8 100644 --- a/fairgraph/openminds/v5/core/data/file_path_pattern.py +++ b/fairgraph/openminds/v5/core/data/file_path_pattern.py @@ -15,6 +15,7 @@ class FilePathPattern(KGEmbedded, OMFilePathPattern): """ type_ = "https://openminds.om-i.org/types/FilePathPattern" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("grouping_types", "regex") diff --git a/fairgraph/openminds/v5/core/data/file_repository.py b/fairgraph/openminds/v5/core/data/file_repository.py index d7ba9078..ce64dad5 100644 --- a/fairgraph/openminds/v5/core/data/file_repository.py +++ b/fairgraph/openminds/v5/core/data/file_repository.py @@ -19,6 +19,7 @@ class FileRepository(KGObject, OMFileRepository): type_ = "https://openminds.om-i.org/types/FileRepository" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/data/file_repository_structure.py b/fairgraph/openminds/v5/core/data/file_repository_structure.py index 65b565f0..59c7c256 100644 --- a/fairgraph/openminds/v5/core/data/file_repository_structure.py +++ b/fairgraph/openminds/v5/core/data/file_repository_structure.py @@ -16,6 +16,7 @@ class FileRepositoryStructure(KGObject, OMFileRepositoryStructure): type_ = "https://openminds.om-i.org/types/FileRepositoryStructure" default_space = "files" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/data/grid_image.py b/fairgraph/openminds/v5/core/data/grid_image.py index 9edb1bd2..c314e65f 100644 --- a/fairgraph/openminds/v5/core/data/grid_image.py +++ b/fairgraph/openminds/v5/core/data/grid_image.py @@ -16,6 +16,7 @@ class GridImage(KGObject, OMGridImage): type_ = "https://openminds.om-i.org/types/GridImage" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("data_location", "dimensions", "pixel_sizes") diff --git a/fairgraph/openminds/v5/core/data/grid_image_sequence.py b/fairgraph/openminds/v5/core/data/grid_image_sequence.py index fc834bf7..5894ca82 100644 --- a/fairgraph/openminds/v5/core/data/grid_image_sequence.py +++ b/fairgraph/openminds/v5/core/data/grid_image_sequence.py @@ -16,6 +16,7 @@ class GridImageSequence(KGObject, OMGridImageSequence): type_ = "https://openminds.om-i.org/types/GridImageSequence" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("data_location", "dimensions", "pixel_sizes", "temporal_sampling_frequency") diff --git a/fairgraph/openminds/v5/core/data/grid_image_stack.py b/fairgraph/openminds/v5/core/data/grid_image_stack.py index 5c87522e..45d8da6c 100644 --- a/fairgraph/openminds/v5/core/data/grid_image_stack.py +++ b/fairgraph/openminds/v5/core/data/grid_image_stack.py @@ -16,6 +16,7 @@ class GridImageStack(KGObject, OMGridImageStack): type_ = "https://openminds.om-i.org/types/GridImageStack" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("data_location", "dimensions", "pixel_sizes", "z_step_size") diff --git a/fairgraph/openminds/v5/core/data/grid_volume.py b/fairgraph/openminds/v5/core/data/grid_volume.py index 6b75a54a..f1bab406 100644 --- a/fairgraph/openminds/v5/core/data/grid_volume.py +++ b/fairgraph/openminds/v5/core/data/grid_volume.py @@ -16,6 +16,7 @@ class GridVolume(KGObject, OMGridVolume): type_ = "https://openminds.om-i.org/types/GridVolume" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("data_location", "dimensions", "voxel_sizes") diff --git a/fairgraph/openminds/v5/core/data/grid_volume_sequence.py b/fairgraph/openminds/v5/core/data/grid_volume_sequence.py index dbf1d429..9b89cf0f 100644 --- a/fairgraph/openminds/v5/core/data/grid_volume_sequence.py +++ b/fairgraph/openminds/v5/core/data/grid_volume_sequence.py @@ -16,6 +16,7 @@ class GridVolumeSequence(KGObject, OMGridVolumeSequence): type_ = "https://openminds.om-i.org/types/GridVolumeSequence" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("data_location", "dimensions", "temporal_sampling_frequency", "voxel_sizes") diff --git a/fairgraph/openminds/v5/core/data/hash.py b/fairgraph/openminds/v5/core/data/hash.py index 896ed56c..426c6e75 100644 --- a/fairgraph/openminds/v5/core/data/hash.py +++ b/fairgraph/openminds/v5/core/data/hash.py @@ -15,6 +15,7 @@ class Hash(KGEmbedded, OMHash): """ type_ = "https://openminds.om-i.org/types/Hash" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("algorithm", "digest") diff --git a/fairgraph/openminds/v5/core/data/license.py b/fairgraph/openminds/v5/core/data/license.py index 2a202bbf..5efb7c89 100644 --- a/fairgraph/openminds/v5/core/data/license.py +++ b/fairgraph/openminds/v5/core/data/license.py @@ -19,6 +19,7 @@ class License(KGObject, OMLicense): type_ = "https://openminds.om-i.org/types/License" default_space = "controlled" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/data/local_file.py b/fairgraph/openminds/v5/core/data/local_file.py index 94432f49..5f85a72a 100644 --- a/fairgraph/openminds/v5/core/data/local_file.py +++ b/fairgraph/openminds/v5/core/data/local_file.py @@ -16,6 +16,7 @@ class LocalFile(KGObject, OMLocalFile): type_ = "https://openminds.om-i.org/types/LocalFile" default_space = "files" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/data/measurement.py b/fairgraph/openminds/v5/core/data/measurement.py index 8d210c52..befeceea 100644 --- a/fairgraph/openminds/v5/core/data/measurement.py +++ b/fairgraph/openminds/v5/core/data/measurement.py @@ -18,6 +18,7 @@ class Measurement(KGEmbedded, OMMeasurement): """ type_ = "https://openminds.om-i.org/types/Measurement" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("measured_quantity", "values") diff --git a/fairgraph/openminds/v5/core/data/regular_time_series.py b/fairgraph/openminds/v5/core/data/regular_time_series.py index e7fd6d72..18bfc359 100644 --- a/fairgraph/openminds/v5/core/data/regular_time_series.py +++ b/fairgraph/openminds/v5/core/data/regular_time_series.py @@ -16,6 +16,7 @@ class RegularTimeSeries(KGObject, OMRegularTimeSeries): type_ = "https://openminds.om-i.org/types/RegularTimeSeries" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/data/service_link.py b/fairgraph/openminds/v5/core/data/service_link.py index 45d1ffcf..89c7cdf6 100644 --- a/fairgraph/openminds/v5/core/data/service_link.py +++ b/fairgraph/openminds/v5/core/data/service_link.py @@ -19,6 +19,7 @@ class ServiceLink(KGObject, OMServiceLink): type_ = "https://openminds.om-i.org/types/ServiceLink" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("data_location", "open_data_in", "services") diff --git a/fairgraph/openminds/v5/core/data/usage_agreement.py b/fairgraph/openminds/v5/core/data/usage_agreement.py index 393c3ec3..dd9373db 100644 --- a/fairgraph/openminds/v5/core/data/usage_agreement.py +++ b/fairgraph/openminds/v5/core/data/usage_agreement.py @@ -16,6 +16,7 @@ class UsageAgreement(KGObject, OMUsageAgreement): type_ = "https://openminds.om-i.org/types/UsageAgreement" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/digital_identifier/doi.py b/fairgraph/openminds/v5/core/digital_identifier/doi.py index 702d4a68..04ea099a 100644 --- a/fairgraph/openminds/v5/core/digital_identifier/doi.py +++ b/fairgraph/openminds/v5/core/digital_identifier/doi.py @@ -16,6 +16,7 @@ class DOI(KGObject, OMDOI): type_ = "https://openminds.om-i.org/types/DOI" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/digital_identifier/generic_identifier.py b/fairgraph/openminds/v5/core/digital_identifier/generic_identifier.py index 0e20c41e..f20cfbc8 100644 --- a/fairgraph/openminds/v5/core/digital_identifier/generic_identifier.py +++ b/fairgraph/openminds/v5/core/digital_identifier/generic_identifier.py @@ -16,6 +16,7 @@ class GenericIdentifier(KGObject, OMGenericIdentifier): type_ = "https://openminds.om-i.org/types/GenericIdentifier" default_space = "common" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/digital_identifier/handle.py b/fairgraph/openminds/v5/core/digital_identifier/handle.py index 744994f5..77102460 100644 --- a/fairgraph/openminds/v5/core/digital_identifier/handle.py +++ b/fairgraph/openminds/v5/core/digital_identifier/handle.py @@ -16,6 +16,7 @@ class HANDLE(KGObject, OMHANDLE): type_ = "https://openminds.om-i.org/types/HANDLE" default_space = "common" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/digital_identifier/identifiers_dot_org_id.py b/fairgraph/openminds/v5/core/digital_identifier/identifiers_dot_org_id.py index 499bd510..c6feab83 100644 --- a/fairgraph/openminds/v5/core/digital_identifier/identifiers_dot_org_id.py +++ b/fairgraph/openminds/v5/core/digital_identifier/identifiers_dot_org_id.py @@ -16,6 +16,7 @@ class IdentifiersDotOrgID(KGObject, OMIdentifiersDotOrgID): type_ = "https://openminds.om-i.org/types/IdentifiersDotOrgID" default_space = "common" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/digital_identifier/isbn.py b/fairgraph/openminds/v5/core/digital_identifier/isbn.py index 58730277..299b1c43 100644 --- a/fairgraph/openminds/v5/core/digital_identifier/isbn.py +++ b/fairgraph/openminds/v5/core/digital_identifier/isbn.py @@ -16,6 +16,7 @@ class ISBN(KGObject, OMISBN): type_ = "https://openminds.om-i.org/types/ISBN" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/digital_identifier/isni.py b/fairgraph/openminds/v5/core/digital_identifier/isni.py index 57f73ba0..df4c1a8e 100644 --- a/fairgraph/openminds/v5/core/digital_identifier/isni.py +++ b/fairgraph/openminds/v5/core/digital_identifier/isni.py @@ -16,6 +16,7 @@ class ISNI(KGObject, OMISNI): type_ = "https://openminds.om-i.org/types/ISNI" default_space = "common" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/digital_identifier/issn.py b/fairgraph/openminds/v5/core/digital_identifier/issn.py index 5545cffd..65033c74 100644 --- a/fairgraph/openminds/v5/core/digital_identifier/issn.py +++ b/fairgraph/openminds/v5/core/digital_identifier/issn.py @@ -16,6 +16,7 @@ class ISSN(KGObject, OMISSN): type_ = "https://openminds.om-i.org/types/ISSN" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/digital_identifier/lei.py b/fairgraph/openminds/v5/core/digital_identifier/lei.py index e00e2c4a..44c6e2b4 100644 --- a/fairgraph/openminds/v5/core/digital_identifier/lei.py +++ b/fairgraph/openminds/v5/core/digital_identifier/lei.py @@ -16,6 +16,7 @@ class LEI(KGObject, OMLEI): type_ = "https://openminds.om-i.org/types/LEI" default_space = "common" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/digital_identifier/orcid.py b/fairgraph/openminds/v5/core/digital_identifier/orcid.py index 7a84c0fd..6b1ae534 100644 --- a/fairgraph/openminds/v5/core/digital_identifier/orcid.py +++ b/fairgraph/openminds/v5/core/digital_identifier/orcid.py @@ -16,6 +16,7 @@ class ORCID(KGObject, OMORCID): type_ = "https://openminds.om-i.org/types/ORCID" default_space = "common" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/digital_identifier/rorid.py b/fairgraph/openminds/v5/core/digital_identifier/rorid.py index 79890af4..8104f7ac 100644 --- a/fairgraph/openminds/v5/core/digital_identifier/rorid.py +++ b/fairgraph/openminds/v5/core/digital_identifier/rorid.py @@ -16,6 +16,7 @@ class RORID(KGObject, OMRORID): type_ = "https://openminds.om-i.org/types/RORID" default_space = "common" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/digital_identifier/rrid.py b/fairgraph/openminds/v5/core/digital_identifier/rrid.py index d61a86ed..cc06d8f6 100644 --- a/fairgraph/openminds/v5/core/digital_identifier/rrid.py +++ b/fairgraph/openminds/v5/core/digital_identifier/rrid.py @@ -16,6 +16,7 @@ class RRID(KGObject, OMRRID): type_ = "https://openminds.om-i.org/types/RRID" default_space = "common" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/digital_identifier/stock_number.py b/fairgraph/openminds/v5/core/digital_identifier/stock_number.py index a75f2c7b..ca742cc6 100644 --- a/fairgraph/openminds/v5/core/digital_identifier/stock_number.py +++ b/fairgraph/openminds/v5/core/digital_identifier/stock_number.py @@ -15,6 +15,7 @@ class StockNumber(KGEmbedded, OMStockNumber): """ type_ = "https://openminds.om-i.org/types/StockNumber" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("identifier", "vendor") diff --git a/fairgraph/openminds/v5/core/digital_identifier/swhid.py b/fairgraph/openminds/v5/core/digital_identifier/swhid.py index e84d39aa..cbf8f9ea 100644 --- a/fairgraph/openminds/v5/core/digital_identifier/swhid.py +++ b/fairgraph/openminds/v5/core/digital_identifier/swhid.py @@ -16,6 +16,7 @@ class SWHID(KGObject, OMSWHID): type_ = "https://openminds.om-i.org/types/SWHID" default_space = "software" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/miscellaneous/accessibility.py b/fairgraph/openminds/v5/core/miscellaneous/accessibility.py index b4d41b42..72c30003 100644 --- a/fairgraph/openminds/v5/core/miscellaneous/accessibility.py +++ b/fairgraph/openminds/v5/core/miscellaneous/accessibility.py @@ -16,6 +16,7 @@ class Accessibility(KGObject, OMAccessibility): type_ = "https://openminds.om-i.org/types/Accessibility" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/miscellaneous/comment.py b/fairgraph/openminds/v5/core/miscellaneous/comment.py index 62a2f148..b6b2aa73 100644 --- a/fairgraph/openminds/v5/core/miscellaneous/comment.py +++ b/fairgraph/openminds/v5/core/miscellaneous/comment.py @@ -19,6 +19,7 @@ class Comment(KGObject, OMComment): type_ = "https://openminds.om-i.org/types/Comment" default_space = "common" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("about", "comment", "commenter", "timestamp") diff --git a/fairgraph/openminds/v5/core/miscellaneous/dependency.py b/fairgraph/openminds/v5/core/miscellaneous/dependency.py index c528155c..1e365ed1 100644 --- a/fairgraph/openminds/v5/core/miscellaneous/dependency.py +++ b/fairgraph/openminds/v5/core/miscellaneous/dependency.py @@ -15,6 +15,7 @@ class Dependency(KGEmbedded, OMDependency): """ type_ = "https://openminds.om-i.org/types/Dependency" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("fulfilled_by",) diff --git a/fairgraph/openminds/v5/core/miscellaneous/funding.py b/fairgraph/openminds/v5/core/miscellaneous/funding.py index 3c2ddd69..2b737279 100644 --- a/fairgraph/openminds/v5/core/miscellaneous/funding.py +++ b/fairgraph/openminds/v5/core/miscellaneous/funding.py @@ -16,6 +16,7 @@ class Funding(KGObject, OMFunding): type_ = "https://openminds.om-i.org/types/Funding" default_space = "common" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/miscellaneous/geo_coordinates.py b/fairgraph/openminds/v5/core/miscellaneous/geo_coordinates.py index 3fdc0688..80b92d53 100644 --- a/fairgraph/openminds/v5/core/miscellaneous/geo_coordinates.py +++ b/fairgraph/openminds/v5/core/miscellaneous/geo_coordinates.py @@ -18,6 +18,7 @@ class GeoCoordinates(KGEmbedded, OMGeoCoordinates): """ type_ = "https://openminds.om-i.org/types/GeoCoordinates" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("latitude", "longitude") diff --git a/fairgraph/openminds/v5/core/miscellaneous/location.py b/fairgraph/openminds/v5/core/miscellaneous/location.py index 15649e22..fbefc4a2 100644 --- a/fairgraph/openminds/v5/core/miscellaneous/location.py +++ b/fairgraph/openminds/v5/core/miscellaneous/location.py @@ -15,6 +15,7 @@ class Location(KGEmbedded, OMLocation): """ type_ = "https://openminds.om-i.org/types/Location" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("country",) diff --git a/fairgraph/openminds/v5/core/miscellaneous/membership.py b/fairgraph/openminds/v5/core/miscellaneous/membership.py index 9cf2a973..69a94c7a 100644 --- a/fairgraph/openminds/v5/core/miscellaneous/membership.py +++ b/fairgraph/openminds/v5/core/miscellaneous/membership.py @@ -18,6 +18,7 @@ class Membership(KGEmbedded, OMMembership): """ type_ = "https://openminds.om-i.org/types/Membership" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("member",) diff --git a/fairgraph/openminds/v5/core/miscellaneous/quantitative_value.py b/fairgraph/openminds/v5/core/miscellaneous/quantitative_value.py index 010ff5b7..a85f8050 100644 --- a/fairgraph/openminds/v5/core/miscellaneous/quantitative_value.py +++ b/fairgraph/openminds/v5/core/miscellaneous/quantitative_value.py @@ -18,6 +18,7 @@ class QuantitativeValue(KGEmbedded, OMQuantitativeValue): """ type_ = "https://openminds.om-i.org/types/QuantitativeValue" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("value", "unit", "uncertainties") diff --git a/fairgraph/openminds/v5/core/miscellaneous/quantitative_value_array.py b/fairgraph/openminds/v5/core/miscellaneous/quantitative_value_array.py index 0f08152c..3f304268 100644 --- a/fairgraph/openminds/v5/core/miscellaneous/quantitative_value_array.py +++ b/fairgraph/openminds/v5/core/miscellaneous/quantitative_value_array.py @@ -18,6 +18,7 @@ class QuantitativeValueArray(KGEmbedded, OMQuantitativeValueArray): """ type_ = "https://openminds.om-i.org/types/QuantitativeValueArray" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("values",) diff --git a/fairgraph/openminds/v5/core/miscellaneous/quantitative_value_range.py b/fairgraph/openminds/v5/core/miscellaneous/quantitative_value_range.py index c6f50eb5..4c3c9a6a 100644 --- a/fairgraph/openminds/v5/core/miscellaneous/quantitative_value_range.py +++ b/fairgraph/openminds/v5/core/miscellaneous/quantitative_value_range.py @@ -18,6 +18,7 @@ class QuantitativeValueRange(KGEmbedded, OMQuantitativeValueRange): """ type_ = "https://openminds.om-i.org/types/QuantitativeValueRange" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("max_value", "min_value") diff --git a/fairgraph/openminds/v5/core/miscellaneous/research_product_group.py b/fairgraph/openminds/v5/core/miscellaneous/research_product_group.py index 25a7209b..7336135b 100644 --- a/fairgraph/openminds/v5/core/miscellaneous/research_product_group.py +++ b/fairgraph/openminds/v5/core/miscellaneous/research_product_group.py @@ -16,6 +16,7 @@ class ResearchProductGroup(KGObject, OMResearchProductGroup): type_ = "https://openminds.om-i.org/types/ResearchProductGroup" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("context", "has_parts") diff --git a/fairgraph/openminds/v5/core/miscellaneous/web_resource.py b/fairgraph/openminds/v5/core/miscellaneous/web_resource.py index 262bc165..9a992e84 100644 --- a/fairgraph/openminds/v5/core/miscellaneous/web_resource.py +++ b/fairgraph/openminds/v5/core/miscellaneous/web_resource.py @@ -19,6 +19,7 @@ class WebResource(KGObject, OMWebResource): type_ = "https://openminds.om-i.org/types/WebResource" default_space = "common" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/products/dataset.py b/fairgraph/openminds/v5/core/products/dataset.py index fb49d566..5dd0ae6d 100644 --- a/fairgraph/openminds/v5/core/products/dataset.py +++ b/fairgraph/openminds/v5/core/products/dataset.py @@ -19,6 +19,7 @@ class Dataset(KGObject, OMDataset): type_ = "https://openminds.om-i.org/types/Dataset" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/products/dataset_version.py b/fairgraph/openminds/v5/core/products/dataset_version.py index 089f94fa..ff068e86 100644 --- a/fairgraph/openminds/v5/core/products/dataset_version.py +++ b/fairgraph/openminds/v5/core/products/dataset_version.py @@ -22,6 +22,7 @@ class DatasetVersion(KGObject, OMDatasetVersion): type_ = "https://openminds.om-i.org/types/DatasetVersion" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/products/hardware_product.py b/fairgraph/openminds/v5/core/products/hardware_product.py index 951a64a1..9ef48e4f 100644 --- a/fairgraph/openminds/v5/core/products/hardware_product.py +++ b/fairgraph/openminds/v5/core/products/hardware_product.py @@ -16,6 +16,7 @@ class HardwareProduct(KGObject, OMHardwareProduct): type_ = "https://openminds.om-i.org/types/HardwareProduct" default_space = "common" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/products/interface.py b/fairgraph/openminds/v5/core/products/interface.py index 75a8017a..441bd924 100644 --- a/fairgraph/openminds/v5/core/products/interface.py +++ b/fairgraph/openminds/v5/core/products/interface.py @@ -19,6 +19,7 @@ class Interface(KGObject, OMInterface): type_ = "https://openminds.om-i.org/types/Interface" default_space = "interface" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/products/interface_version.py b/fairgraph/openminds/v5/core/products/interface_version.py index f1acfb16..1c1e5b42 100644 --- a/fairgraph/openminds/v5/core/products/interface_version.py +++ b/fairgraph/openminds/v5/core/products/interface_version.py @@ -20,6 +20,7 @@ class InterfaceVersion(KGObject, OMInterfaceVersion): type_ = "https://openminds.om-i.org/types/InterfaceVersion" default_space = "interface" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/products/meta_data_model.py b/fairgraph/openminds/v5/core/products/meta_data_model.py index 4dc419d3..075682d7 100644 --- a/fairgraph/openminds/v5/core/products/meta_data_model.py +++ b/fairgraph/openminds/v5/core/products/meta_data_model.py @@ -19,6 +19,7 @@ class MetaDataModel(KGObject, OMMetaDataModel): type_ = "https://openminds.om-i.org/types/MetaDataModel" default_space = "metadatamodel" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/products/meta_data_model_version.py b/fairgraph/openminds/v5/core/products/meta_data_model_version.py index 0293531f..828a2aa0 100644 --- a/fairgraph/openminds/v5/core/products/meta_data_model_version.py +++ b/fairgraph/openminds/v5/core/products/meta_data_model_version.py @@ -20,6 +20,7 @@ class MetaDataModelVersion(KGObject, OMMetaDataModelVersion): type_ = "https://openminds.om-i.org/types/MetaDataModelVersion" default_space = "metadatamodel" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/products/model.py b/fairgraph/openminds/v5/core/products/model.py index a9bf8294..23e9d88b 100644 --- a/fairgraph/openminds/v5/core/products/model.py +++ b/fairgraph/openminds/v5/core/products/model.py @@ -19,6 +19,7 @@ class Model(KGObject, OMModel): type_ = "https://openminds.om-i.org/types/Model" default_space = "model" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/products/model_version.py b/fairgraph/openminds/v5/core/products/model_version.py index b50421fd..98e16cf8 100644 --- a/fairgraph/openminds/v5/core/products/model_version.py +++ b/fairgraph/openminds/v5/core/products/model_version.py @@ -22,6 +22,7 @@ class ModelVersion(KGObject, OMModelVersion): type_ = "https://openminds.om-i.org/types/ModelVersion" default_space = "model" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/products/project.py b/fairgraph/openminds/v5/core/products/project.py index 50698305..7b09946a 100644 --- a/fairgraph/openminds/v5/core/products/project.py +++ b/fairgraph/openminds/v5/core/products/project.py @@ -19,6 +19,7 @@ class Project(KGObject, OMProject): type_ = "https://openminds.om-i.org/types/Project" default_space = "common" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] aliases = {"name": "full_name", "alias": "short_name"} diff --git a/fairgraph/openminds/v5/core/products/service.py b/fairgraph/openminds/v5/core/products/service.py index 63fbc15a..7ece6b09 100644 --- a/fairgraph/openminds/v5/core/products/service.py +++ b/fairgraph/openminds/v5/core/products/service.py @@ -16,6 +16,7 @@ class Service(KGObject, OMService): type_ = "https://openminds.om-i.org/types/Service" default_space = "software" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/products/setup.py b/fairgraph/openminds/v5/core/products/setup.py index f22263aa..35cf32e5 100644 --- a/fairgraph/openminds/v5/core/products/setup.py +++ b/fairgraph/openminds/v5/core/products/setup.py @@ -16,6 +16,7 @@ class Setup(KGObject, OMSetup): type_ = "https://openminds.om-i.org/types/Setup" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/products/software.py b/fairgraph/openminds/v5/core/products/software.py index 2e4aa13a..b7a11c55 100644 --- a/fairgraph/openminds/v5/core/products/software.py +++ b/fairgraph/openminds/v5/core/products/software.py @@ -19,6 +19,7 @@ class Software(KGObject, OMSoftware): type_ = "https://openminds.om-i.org/types/Software" default_space = "software" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/products/software_version.py b/fairgraph/openminds/v5/core/products/software_version.py index 13da4f32..b2b08cf4 100644 --- a/fairgraph/openminds/v5/core/products/software_version.py +++ b/fairgraph/openminds/v5/core/products/software_version.py @@ -20,6 +20,7 @@ class SoftwareVersion(KGObject, OMSoftwareVersion): type_ = "https://openminds.om-i.org/types/SoftwareVersion" default_space = "software" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/research/behavioral_protocol.py b/fairgraph/openminds/v5/core/research/behavioral_protocol.py index f24073c3..3eeee34c 100644 --- a/fairgraph/openminds/v5/core/research/behavioral_protocol.py +++ b/fairgraph/openminds/v5/core/research/behavioral_protocol.py @@ -16,6 +16,7 @@ class BehavioralProtocol(KGObject, OMBehavioralProtocol): type_ = "https://openminds.om-i.org/types/BehavioralProtocol" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/research/configuration.py b/fairgraph/openminds/v5/core/research/configuration.py index dda18706..333a1eff 100644 --- a/fairgraph/openminds/v5/core/research/configuration.py +++ b/fairgraph/openminds/v5/core/research/configuration.py @@ -16,6 +16,7 @@ class Configuration(KGObject, OMConfiguration): type_ = "https://openminds.om-i.org/types/Configuration" default_space = "common" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/research/custom_property_set.py b/fairgraph/openminds/v5/core/research/custom_property_set.py index 1bf79866..f3afbf69 100644 --- a/fairgraph/openminds/v5/core/research/custom_property_set.py +++ b/fairgraph/openminds/v5/core/research/custom_property_set.py @@ -15,6 +15,7 @@ class CustomPropertySet(KGEmbedded, OMCustomPropertySet): """ type_ = "https://openminds.om-i.org/types/CustomPropertySet" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("context", "data_location", "relevant_for") diff --git a/fairgraph/openminds/v5/core/research/numerical_property.py b/fairgraph/openminds/v5/core/research/numerical_property.py index e05131f8..6559ff51 100644 --- a/fairgraph/openminds/v5/core/research/numerical_property.py +++ b/fairgraph/openminds/v5/core/research/numerical_property.py @@ -18,6 +18,7 @@ class NumericalProperty(KGEmbedded, OMNumericalProperty): """ type_ = "https://openminds.om-i.org/types/NumericalProperty" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("name", "values") diff --git a/fairgraph/openminds/v5/core/research/property_value_list.py b/fairgraph/openminds/v5/core/research/property_value_list.py index 5e895c55..994f1dd0 100644 --- a/fairgraph/openminds/v5/core/research/property_value_list.py +++ b/fairgraph/openminds/v5/core/research/property_value_list.py @@ -16,6 +16,7 @@ class PropertyValueList(KGObject, OMPropertyValueList): type_ = "https://openminds.om-i.org/types/PropertyValueList" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/research/protocol.py b/fairgraph/openminds/v5/core/research/protocol.py index e5a6d2d2..6bb4bb09 100644 --- a/fairgraph/openminds/v5/core/research/protocol.py +++ b/fairgraph/openminds/v5/core/research/protocol.py @@ -16,6 +16,7 @@ class Protocol(KGObject, OMProtocol): type_ = "https://openminds.om-i.org/types/Protocol" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/research/protocol_execution.py b/fairgraph/openminds/v5/core/research/protocol_execution.py index 7d0ae20c..e6630952 100644 --- a/fairgraph/openminds/v5/core/research/protocol_execution.py +++ b/fairgraph/openminds/v5/core/research/protocol_execution.py @@ -19,6 +19,7 @@ class ProtocolExecution(KGObject, OMProtocolExecution): type_ = "https://openminds.om-i.org/types/ProtocolExecution" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/research/specimen_age.py b/fairgraph/openminds/v5/core/research/specimen_age.py index 48e5af11..d444a816 100644 --- a/fairgraph/openminds/v5/core/research/specimen_age.py +++ b/fairgraph/openminds/v5/core/research/specimen_age.py @@ -15,6 +15,7 @@ class SpecimenAge(KGEmbedded, OMSpecimenAge): """ type_ = "https://openminds.om-i.org/types/SpecimenAge" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("age", "reference") diff --git a/fairgraph/openminds/v5/core/research/specimen_weight.py b/fairgraph/openminds/v5/core/research/specimen_weight.py index b0ad55d4..d8d7d988 100644 --- a/fairgraph/openminds/v5/core/research/specimen_weight.py +++ b/fairgraph/openminds/v5/core/research/specimen_weight.py @@ -15,6 +15,7 @@ class SpecimenWeight(KGEmbedded, OMSpecimenWeight): """ type_ = "https://openminds.om-i.org/types/SpecimenWeight" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("type", "weight") diff --git a/fairgraph/openminds/v5/core/research/strain.py b/fairgraph/openminds/v5/core/research/strain.py index 126d8dde..17d3eaef 100644 --- a/fairgraph/openminds/v5/core/research/strain.py +++ b/fairgraph/openminds/v5/core/research/strain.py @@ -16,6 +16,7 @@ class Strain(KGObject, OMStrain): type_ = "https://openminds.om-i.org/types/Strain" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/research/string_property.py b/fairgraph/openminds/v5/core/research/string_property.py index c2197ad7..d740fc26 100644 --- a/fairgraph/openminds/v5/core/research/string_property.py +++ b/fairgraph/openminds/v5/core/research/string_property.py @@ -18,6 +18,7 @@ class StringProperty(KGEmbedded, OMStringProperty): """ type_ = "https://openminds.om-i.org/types/StringProperty" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("name", "value") diff --git a/fairgraph/openminds/v5/core/research/subject.py b/fairgraph/openminds/v5/core/research/subject.py index df663617..7ef37ea5 100644 --- a/fairgraph/openminds/v5/core/research/subject.py +++ b/fairgraph/openminds/v5/core/research/subject.py @@ -16,6 +16,7 @@ class Subject(KGObject, OMSubject): type_ = "https://openminds.om-i.org/types/Subject" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/research/subject_group.py b/fairgraph/openminds/v5/core/research/subject_group.py index df03346b..f770069d 100644 --- a/fairgraph/openminds/v5/core/research/subject_group.py +++ b/fairgraph/openminds/v5/core/research/subject_group.py @@ -16,6 +16,7 @@ class SubjectGroup(KGObject, OMSubjectGroup): type_ = "https://openminds.om-i.org/types/SubjectGroup" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/research/subject_group_state.py b/fairgraph/openminds/v5/core/research/subject_group_state.py index 7f9e00d3..3037fa39 100644 --- a/fairgraph/openminds/v5/core/research/subject_group_state.py +++ b/fairgraph/openminds/v5/core/research/subject_group_state.py @@ -16,6 +16,7 @@ class SubjectGroupState(KGObject, OMSubjectGroupState): type_ = "https://openminds.om-i.org/types/SubjectGroupState" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/research/subject_state.py b/fairgraph/openminds/v5/core/research/subject_state.py index bedea90f..a379de05 100644 --- a/fairgraph/openminds/v5/core/research/subject_state.py +++ b/fairgraph/openminds/v5/core/research/subject_state.py @@ -16,6 +16,7 @@ class SubjectState(KGObject, OMSubjectState): type_ = "https://openminds.om-i.org/types/SubjectState" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/research/tissue_sample.py b/fairgraph/openminds/v5/core/research/tissue_sample.py index a86d3fd4..41cb94f4 100644 --- a/fairgraph/openminds/v5/core/research/tissue_sample.py +++ b/fairgraph/openminds/v5/core/research/tissue_sample.py @@ -16,6 +16,7 @@ class TissueSample(KGObject, OMTissueSample): type_ = "https://openminds.om-i.org/types/TissueSample" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/research/tissue_sample_collection.py b/fairgraph/openminds/v5/core/research/tissue_sample_collection.py index a5c4bcc6..0e415704 100644 --- a/fairgraph/openminds/v5/core/research/tissue_sample_collection.py +++ b/fairgraph/openminds/v5/core/research/tissue_sample_collection.py @@ -16,6 +16,7 @@ class TissueSampleCollection(KGObject, OMTissueSampleCollection): type_ = "https://openminds.om-i.org/types/TissueSampleCollection" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/research/tissue_sample_collection_state.py b/fairgraph/openminds/v5/core/research/tissue_sample_collection_state.py index 38b50252..75a83d4e 100644 --- a/fairgraph/openminds/v5/core/research/tissue_sample_collection_state.py +++ b/fairgraph/openminds/v5/core/research/tissue_sample_collection_state.py @@ -16,6 +16,7 @@ class TissueSampleCollectionState(KGObject, OMTissueSampleCollectionState): type_ = "https://openminds.om-i.org/types/TissueSampleCollectionState" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/core/research/tissue_sample_state.py b/fairgraph/openminds/v5/core/research/tissue_sample_state.py index 9cafd7fc..5eec8041 100644 --- a/fairgraph/openminds/v5/core/research/tissue_sample_state.py +++ b/fairgraph/openminds/v5/core/research/tissue_sample_state.py @@ -16,6 +16,7 @@ class TissueSampleState(KGObject, OMTissueSampleState): type_ = "https://openminds.om-i.org/types/TissueSampleState" default_space = "dataset" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/ephys/activity/cell_patching.py b/fairgraph/openminds/v5/ephys/activity/cell_patching.py index f623f13a..637a10dc 100644 --- a/fairgraph/openminds/v5/ephys/activity/cell_patching.py +++ b/fairgraph/openminds/v5/ephys/activity/cell_patching.py @@ -19,6 +19,7 @@ class CellPatching(KGObject, OMCellPatching): type_ = "https://openminds.om-i.org/types/CellPatching" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("lookup_label",) diff --git a/fairgraph/openminds/v5/ephys/activity/electrode_placement.py b/fairgraph/openminds/v5/ephys/activity/electrode_placement.py index 7908c82b..e2bd1fcc 100644 --- a/fairgraph/openminds/v5/ephys/activity/electrode_placement.py +++ b/fairgraph/openminds/v5/ephys/activity/electrode_placement.py @@ -19,6 +19,7 @@ class ElectrodePlacement(KGObject, OMElectrodePlacement): type_ = "https://openminds.om-i.org/types/ElectrodePlacement" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("lookup_label",) diff --git a/fairgraph/openminds/v5/ephys/activity/recording_activity.py b/fairgraph/openminds/v5/ephys/activity/recording_activity.py index 18c84f6e..103e79ef 100644 --- a/fairgraph/openminds/v5/ephys/activity/recording_activity.py +++ b/fairgraph/openminds/v5/ephys/activity/recording_activity.py @@ -19,6 +19,7 @@ class RecordingActivity(KGObject, OMRecordingActivity): type_ = "https://openminds.om-i.org/types/RecordingActivity" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("lookup_label",) diff --git a/fairgraph/openminds/v5/ephys/device/electrode.py b/fairgraph/openminds/v5/ephys/device/electrode.py index 196e9d2e..c529c1a6 100644 --- a/fairgraph/openminds/v5/ephys/device/electrode.py +++ b/fairgraph/openminds/v5/ephys/device/electrode.py @@ -16,6 +16,7 @@ class Electrode(KGObject, OMElectrode): type_ = "https://openminds.om-i.org/types/Electrode" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/ephys/device/electrode_array.py b/fairgraph/openminds/v5/ephys/device/electrode_array.py index a73f004a..12d0dfd0 100644 --- a/fairgraph/openminds/v5/ephys/device/electrode_array.py +++ b/fairgraph/openminds/v5/ephys/device/electrode_array.py @@ -16,6 +16,7 @@ class ElectrodeArray(KGObject, OMElectrodeArray): type_ = "https://openminds.om-i.org/types/ElectrodeArray" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/ephys/device/electrode_array_usage.py b/fairgraph/openminds/v5/ephys/device/electrode_array_usage.py index 671c54f6..20cd090b 100644 --- a/fairgraph/openminds/v5/ephys/device/electrode_array_usage.py +++ b/fairgraph/openminds/v5/ephys/device/electrode_array_usage.py @@ -16,6 +16,7 @@ class ElectrodeArrayUsage(KGObject, OMElectrodeArrayUsage): type_ = "https://openminds.om-i.org/types/ElectrodeArrayUsage" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/ephys/device/electrode_usage.py b/fairgraph/openminds/v5/ephys/device/electrode_usage.py index 50d5d779..db0bb845 100644 --- a/fairgraph/openminds/v5/ephys/device/electrode_usage.py +++ b/fairgraph/openminds/v5/ephys/device/electrode_usage.py @@ -16,6 +16,7 @@ class ElectrodeUsage(KGObject, OMElectrodeUsage): type_ = "https://openminds.om-i.org/types/ElectrodeUsage" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/ephys/device/pipette.py b/fairgraph/openminds/v5/ephys/device/pipette.py index ef5abc3a..68eb06f4 100644 --- a/fairgraph/openminds/v5/ephys/device/pipette.py +++ b/fairgraph/openminds/v5/ephys/device/pipette.py @@ -16,6 +16,7 @@ class Pipette(KGObject, OMPipette): type_ = "https://openminds.om-i.org/types/Pipette" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/ephys/device/pipette_usage.py b/fairgraph/openminds/v5/ephys/device/pipette_usage.py index facd308e..df70d9c6 100644 --- a/fairgraph/openminds/v5/ephys/device/pipette_usage.py +++ b/fairgraph/openminds/v5/ephys/device/pipette_usage.py @@ -16,6 +16,7 @@ class PipetteUsage(KGObject, OMPipetteUsage): type_ = "https://openminds.om-i.org/types/PipetteUsage" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/neuroimaging/activity/dynamic_mri_acquisition.py b/fairgraph/openminds/v5/neuroimaging/activity/dynamic_mri_acquisition.py index 3206a3ba..d38001c1 100644 --- a/fairgraph/openminds/v5/neuroimaging/activity/dynamic_mri_acquisition.py +++ b/fairgraph/openminds/v5/neuroimaging/activity/dynamic_mri_acquisition.py @@ -19,6 +19,7 @@ class DynamicMRIAcquisition(KGObject, OMDynamicMRIAcquisition): type_ = "https://openminds.om-i.org/types/DynamicMRIAcquisition" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("lookup_label",) diff --git a/fairgraph/openminds/v5/neuroimaging/activity/static_mri_acquisition.py b/fairgraph/openminds/v5/neuroimaging/activity/static_mri_acquisition.py index 7b29fa9b..3e718b01 100644 --- a/fairgraph/openminds/v5/neuroimaging/activity/static_mri_acquisition.py +++ b/fairgraph/openminds/v5/neuroimaging/activity/static_mri_acquisition.py @@ -19,6 +19,7 @@ class StaticMRIAcquisition(KGObject, OMStaticMRIAcquisition): type_ = "https://openminds.om-i.org/types/StaticMRIAcquisition" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("lookup_label",) diff --git a/fairgraph/openminds/v5/neuroimaging/device/mri_coil.py b/fairgraph/openminds/v5/neuroimaging/device/mri_coil.py index 48641b42..d54095a8 100644 --- a/fairgraph/openminds/v5/neuroimaging/device/mri_coil.py +++ b/fairgraph/openminds/v5/neuroimaging/device/mri_coil.py @@ -16,6 +16,7 @@ class MRICoil(KGObject, OMMRICoil): type_ = "https://openminds.om-i.org/types/MRICoil" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/neuroimaging/device/mri_coil_usage.py b/fairgraph/openminds/v5/neuroimaging/device/mri_coil_usage.py index 130483c8..d64c3617 100644 --- a/fairgraph/openminds/v5/neuroimaging/device/mri_coil_usage.py +++ b/fairgraph/openminds/v5/neuroimaging/device/mri_coil_usage.py @@ -16,6 +16,7 @@ class MRICoilUsage(KGObject, OMMRICoilUsage): type_ = "https://openminds.om-i.org/types/MRICoilUsage" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/neuroimaging/device/mri_scanner.py b/fairgraph/openminds/v5/neuroimaging/device/mri_scanner.py index ac8cae27..cd34d791 100644 --- a/fairgraph/openminds/v5/neuroimaging/device/mri_scanner.py +++ b/fairgraph/openminds/v5/neuroimaging/device/mri_scanner.py @@ -16,6 +16,7 @@ class MRIScanner(KGObject, OMMRIScanner): type_ = "https://openminds.om-i.org/types/MRIScanner" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/neuroimaging/device/mri_scanner_usage.py b/fairgraph/openminds/v5/neuroimaging/device/mri_scanner_usage.py index 9724c766..e8a8d067 100644 --- a/fairgraph/openminds/v5/neuroimaging/device/mri_scanner_usage.py +++ b/fairgraph/openminds/v5/neuroimaging/device/mri_scanner_usage.py @@ -19,6 +19,7 @@ class MRIScannerUsage(KGObject, OMMRIScannerUsage): type_ = "https://openminds.om-i.org/types/MRIScannerUsage" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/publications/book.py b/fairgraph/openminds/v5/publications/book.py index 6a485e91..efdd7a4d 100644 --- a/fairgraph/openminds/v5/publications/book.py +++ b/fairgraph/openminds/v5/publications/book.py @@ -20,6 +20,7 @@ class Book(KGObject, OMBook): type_ = "https://openminds.om-i.org/types/Book" default_space = "livepapers" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/publications/chapter.py b/fairgraph/openminds/v5/publications/chapter.py index 6f45be31..34106947 100644 --- a/fairgraph/openminds/v5/publications/chapter.py +++ b/fairgraph/openminds/v5/publications/chapter.py @@ -20,6 +20,7 @@ class Chapter(KGObject, OMChapter): type_ = "https://openminds.om-i.org/types/Chapter" default_space = "livepapers" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/publications/learning_resource.py b/fairgraph/openminds/v5/publications/learning_resource.py index 6945fc5b..a2f946ca 100644 --- a/fairgraph/openminds/v5/publications/learning_resource.py +++ b/fairgraph/openminds/v5/publications/learning_resource.py @@ -20,6 +20,7 @@ class LearningResource(KGObject, OMLearningResource): type_ = "https://openminds.om-i.org/types/LearningResource" default_space = "livepapers" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("about", "name", "publication_date") diff --git a/fairgraph/openminds/v5/publications/live_paper.py b/fairgraph/openminds/v5/publications/live_paper.py index 5ff27cf1..874375a1 100644 --- a/fairgraph/openminds/v5/publications/live_paper.py +++ b/fairgraph/openminds/v5/publications/live_paper.py @@ -19,6 +19,7 @@ class LivePaper(KGObject, OMLivePaper): type_ = "https://openminds.om-i.org/types/LivePaper" default_space = "livepapers" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/publications/live_paper_resource_item.py b/fairgraph/openminds/v5/publications/live_paper_resource_item.py index c8ae7657..31133124 100644 --- a/fairgraph/openminds/v5/publications/live_paper_resource_item.py +++ b/fairgraph/openminds/v5/publications/live_paper_resource_item.py @@ -19,6 +19,7 @@ class LivePaperResourceItem(KGObject, OMLivePaperResourceItem): type_ = "https://openminds.om-i.org/types/LivePaperResourceItem" default_space = "livepapers" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/publications/live_paper_section.py b/fairgraph/openminds/v5/publications/live_paper_section.py index 26068c6c..fa5a15fd 100644 --- a/fairgraph/openminds/v5/publications/live_paper_section.py +++ b/fairgraph/openminds/v5/publications/live_paper_section.py @@ -16,6 +16,7 @@ class LivePaperSection(KGObject, OMLivePaperSection): type_ = "https://openminds.om-i.org/types/LivePaperSection" default_space = "livepapers" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/publications/live_paper_version.py b/fairgraph/openminds/v5/publications/live_paper_version.py index bbc9cebc..d5e52e76 100644 --- a/fairgraph/openminds/v5/publications/live_paper_version.py +++ b/fairgraph/openminds/v5/publications/live_paper_version.py @@ -21,6 +21,7 @@ class LivePaperVersion(KGObject, OMLivePaperVersion): type_ = "https://openminds.om-i.org/types/LivePaperVersion" default_space = "livepapers" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/publications/periodical.py b/fairgraph/openminds/v5/publications/periodical.py index 6597d13c..628e1a43 100644 --- a/fairgraph/openminds/v5/publications/periodical.py +++ b/fairgraph/openminds/v5/publications/periodical.py @@ -16,6 +16,7 @@ class Periodical(KGObject, OMPeriodical): type_ = "https://openminds.om-i.org/types/Periodical" default_space = "livepapers" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/publications/publication_issue.py b/fairgraph/openminds/v5/publications/publication_issue.py index d97f9e25..c0c87324 100644 --- a/fairgraph/openminds/v5/publications/publication_issue.py +++ b/fairgraph/openminds/v5/publications/publication_issue.py @@ -16,6 +16,7 @@ class PublicationIssue(KGObject, OMPublicationIssue): type_ = "https://openminds.om-i.org/types/PublicationIssue" default_space = "livepapers" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/publications/publication_volume.py b/fairgraph/openminds/v5/publications/publication_volume.py index 290131f4..39a2f1b1 100644 --- a/fairgraph/openminds/v5/publications/publication_volume.py +++ b/fairgraph/openminds/v5/publications/publication_volume.py @@ -16,6 +16,7 @@ class PublicationVolume(KGObject, OMPublicationVolume): type_ = "https://openminds.om-i.org/types/PublicationVolume" default_space = "livepapers" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/publications/scholarly_article.py b/fairgraph/openminds/v5/publications/scholarly_article.py index b8a697f5..70c00bb4 100644 --- a/fairgraph/openminds/v5/publications/scholarly_article.py +++ b/fairgraph/openminds/v5/publications/scholarly_article.py @@ -22,6 +22,7 @@ class ScholarlyArticle(KGObject, OMScholarlyArticle): type_ = "https://openminds.om-i.org/types/ScholarlyArticle" default_space = "livepapers" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/sands/atlas/anatomical_atlas.py b/fairgraph/openminds/v5/sands/atlas/anatomical_atlas.py index 05e21dce..868e076d 100644 --- a/fairgraph/openminds/v5/sands/atlas/anatomical_atlas.py +++ b/fairgraph/openminds/v5/sands/atlas/anatomical_atlas.py @@ -19,6 +19,7 @@ class AnatomicalAtlas(KGObject, OMAnatomicalAtlas): type_ = "https://openminds.om-i.org/types/AnatomicalAtlas" default_space = "atlas" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/sands/atlas/anatomical_atlas_version.py b/fairgraph/openminds/v5/sands/atlas/anatomical_atlas_version.py index e7f58a29..bf5d7946 100644 --- a/fairgraph/openminds/v5/sands/atlas/anatomical_atlas_version.py +++ b/fairgraph/openminds/v5/sands/atlas/anatomical_atlas_version.py @@ -22,6 +22,7 @@ class AnatomicalAtlasVersion(KGObject, OMAnatomicalAtlasVersion): type_ = "https://openminds.om-i.org/types/AnatomicalAtlasVersion" default_space = "atlas" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/sands/atlas/atlas_annotation.py b/fairgraph/openminds/v5/sands/atlas/atlas_annotation.py index 73890321..aa9837f7 100644 --- a/fairgraph/openminds/v5/sands/atlas/atlas_annotation.py +++ b/fairgraph/openminds/v5/sands/atlas/atlas_annotation.py @@ -15,6 +15,7 @@ class AtlasAnnotation(KGEmbedded, OMAtlasAnnotation): """ type_ = "https://openminds.om-i.org/types/AtlasAnnotation" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("criteria_quality_type", "criteria_type", "type") diff --git a/fairgraph/openminds/v5/sands/atlas/common_coordinate_framework.py b/fairgraph/openminds/v5/sands/atlas/common_coordinate_framework.py index e8582c74..cf2cf298 100644 --- a/fairgraph/openminds/v5/sands/atlas/common_coordinate_framework.py +++ b/fairgraph/openminds/v5/sands/atlas/common_coordinate_framework.py @@ -19,6 +19,7 @@ class CommonCoordinateFramework(KGObject, OMCommonCoordinateFramework): type_ = "https://openminds.om-i.org/types/CommonCoordinateFramework" default_space = "atlas" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/sands/atlas/common_coordinate_framework_version.py b/fairgraph/openminds/v5/sands/atlas/common_coordinate_framework_version.py index e48e7a7d..fbd36d18 100644 --- a/fairgraph/openminds/v5/sands/atlas/common_coordinate_framework_version.py +++ b/fairgraph/openminds/v5/sands/atlas/common_coordinate_framework_version.py @@ -22,6 +22,7 @@ class CommonCoordinateFrameworkVersion(KGObject, OMCommonCoordinateFrameworkVers type_ = "https://openminds.om-i.org/types/CommonCoordinateFrameworkVersion" default_space = "atlas" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/sands/atlas/parcellation_entity.py b/fairgraph/openminds/v5/sands/atlas/parcellation_entity.py index 3eb216e9..b859f055 100644 --- a/fairgraph/openminds/v5/sands/atlas/parcellation_entity.py +++ b/fairgraph/openminds/v5/sands/atlas/parcellation_entity.py @@ -16,6 +16,7 @@ class ParcellationEntity(KGObject, OMParcellationEntity): type_ = "https://openminds.om-i.org/types/ParcellationEntity" default_space = "atlas" + SORT_PRIORITY = ("lookupLabel", "name", "fullName", "shortName", "familyName", "abbreviation") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/sands/atlas/parcellation_entity_version.py b/fairgraph/openminds/v5/sands/atlas/parcellation_entity_version.py index 428a31f6..e4c6dd5c 100644 --- a/fairgraph/openminds/v5/sands/atlas/parcellation_entity_version.py +++ b/fairgraph/openminds/v5/sands/atlas/parcellation_entity_version.py @@ -16,6 +16,7 @@ class ParcellationEntityVersion(KGObject, OMParcellationEntityVersion): type_ = "https://openminds.om-i.org/types/ParcellationEntityVersion" default_space = "atlas" + SORT_PRIORITY = ("lookupLabel", "name", "fullName", "shortName", "familyName", "abbreviation") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/sands/atlas/parcellation_terminology.py b/fairgraph/openminds/v5/sands/atlas/parcellation_terminology.py index d1943d37..4dfae19e 100644 --- a/fairgraph/openminds/v5/sands/atlas/parcellation_terminology.py +++ b/fairgraph/openminds/v5/sands/atlas/parcellation_terminology.py @@ -15,6 +15,7 @@ class ParcellationTerminology(KGEmbedded, OMParcellationTerminology): """ type_ = "https://openminds.om-i.org/types/ParcellationTerminology" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("has_entities",) diff --git a/fairgraph/openminds/v5/sands/atlas/parcellation_terminology_version.py b/fairgraph/openminds/v5/sands/atlas/parcellation_terminology_version.py index 938b93f5..564ff360 100644 --- a/fairgraph/openminds/v5/sands/atlas/parcellation_terminology_version.py +++ b/fairgraph/openminds/v5/sands/atlas/parcellation_terminology_version.py @@ -15,6 +15,7 @@ class ParcellationTerminologyVersion(KGEmbedded, OMParcellationTerminologyVersio """ type_ = "https://openminds.om-i.org/types/ParcellationTerminologyVersion" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("short_name", "version_identifier") diff --git a/fairgraph/openminds/v5/sands/mathematical_shape/centroidal_pyramid.py b/fairgraph/openminds/v5/sands/mathematical_shape/centroidal_pyramid.py index 5337d3d3..89292b83 100644 --- a/fairgraph/openminds/v5/sands/mathematical_shape/centroidal_pyramid.py +++ b/fairgraph/openminds/v5/sands/mathematical_shape/centroidal_pyramid.py @@ -15,6 +15,7 @@ class CentroidalPyramid(KGEmbedded, OMCentroidalPyramid): """ type_ = "https://openminds.om-i.org/types/CentroidalPyramid" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("apex_base_distance", "base_shape") diff --git a/fairgraph/openminds/v5/sands/mathematical_shape/circle.py b/fairgraph/openminds/v5/sands/mathematical_shape/circle.py index 661246c4..9d5f8a10 100644 --- a/fairgraph/openminds/v5/sands/mathematical_shape/circle.py +++ b/fairgraph/openminds/v5/sands/mathematical_shape/circle.py @@ -15,6 +15,7 @@ class Circle(KGEmbedded, OMCircle): """ type_ = "https://openminds.om-i.org/types/Circle" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("radius",) diff --git a/fairgraph/openminds/v5/sands/mathematical_shape/circular_sector.py b/fairgraph/openminds/v5/sands/mathematical_shape/circular_sector.py index 42b4abeb..907ebaaa 100644 --- a/fairgraph/openminds/v5/sands/mathematical_shape/circular_sector.py +++ b/fairgraph/openminds/v5/sands/mathematical_shape/circular_sector.py @@ -15,6 +15,7 @@ class CircularSector(KGEmbedded, OMCircularSector): """ type_ = "https://openminds.om-i.org/types/CircularSector" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("central_angle", "radius") diff --git a/fairgraph/openminds/v5/sands/mathematical_shape/cube.py b/fairgraph/openminds/v5/sands/mathematical_shape/cube.py index a851f8f0..59b3cfb6 100644 --- a/fairgraph/openminds/v5/sands/mathematical_shape/cube.py +++ b/fairgraph/openminds/v5/sands/mathematical_shape/cube.py @@ -15,6 +15,7 @@ class Cube(KGEmbedded, OMCube): """ type_ = "https://openminds.om-i.org/types/Cube" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("side_length",) diff --git a/fairgraph/openminds/v5/sands/mathematical_shape/ellipse.py b/fairgraph/openminds/v5/sands/mathematical_shape/ellipse.py index 567ac2fd..a055f95f 100644 --- a/fairgraph/openminds/v5/sands/mathematical_shape/ellipse.py +++ b/fairgraph/openminds/v5/sands/mathematical_shape/ellipse.py @@ -15,6 +15,7 @@ class Ellipse(KGEmbedded, OMEllipse): """ type_ = "https://openminds.om-i.org/types/Ellipse" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("diameters",) diff --git a/fairgraph/openminds/v5/sands/mathematical_shape/ellipsoid.py b/fairgraph/openminds/v5/sands/mathematical_shape/ellipsoid.py index aec79f5a..bf612268 100644 --- a/fairgraph/openminds/v5/sands/mathematical_shape/ellipsoid.py +++ b/fairgraph/openminds/v5/sands/mathematical_shape/ellipsoid.py @@ -15,6 +15,7 @@ class Ellipsoid(KGEmbedded, OMEllipsoid): """ type_ = "https://openminds.om-i.org/types/Ellipsoid" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("intermediate_diameter", "major_diameter", "minor_diameter") diff --git a/fairgraph/openminds/v5/sands/mathematical_shape/equilateral_triangle.py b/fairgraph/openminds/v5/sands/mathematical_shape/equilateral_triangle.py index a2c9f2d5..49c5ef73 100644 --- a/fairgraph/openminds/v5/sands/mathematical_shape/equilateral_triangle.py +++ b/fairgraph/openminds/v5/sands/mathematical_shape/equilateral_triangle.py @@ -15,6 +15,7 @@ class EquilateralTriangle(KGEmbedded, OMEquilateralTriangle): """ type_ = "https://openminds.om-i.org/types/EquilateralTriangle" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("side_length",) diff --git a/fairgraph/openminds/v5/sands/mathematical_shape/frustum.py b/fairgraph/openminds/v5/sands/mathematical_shape/frustum.py index 23c3b531..d8c7af3e 100644 --- a/fairgraph/openminds/v5/sands/mathematical_shape/frustum.py +++ b/fairgraph/openminds/v5/sands/mathematical_shape/frustum.py @@ -18,6 +18,7 @@ class Frustum(KGEmbedded, OMFrustum): """ type_ = "https://openminds.om-i.org/types/Frustum" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("base_distance", "major_base_shape", "minor_base_scale") diff --git a/fairgraph/openminds/v5/sands/mathematical_shape/isosceles_triangle.py b/fairgraph/openminds/v5/sands/mathematical_shape/isosceles_triangle.py index 78253e1c..7af0a359 100644 --- a/fairgraph/openminds/v5/sands/mathematical_shape/isosceles_triangle.py +++ b/fairgraph/openminds/v5/sands/mathematical_shape/isosceles_triangle.py @@ -15,6 +15,7 @@ class IsoscelesTriangle(KGEmbedded, OMIsoscelesTriangle): """ type_ = "https://openminds.om-i.org/types/IsoscelesTriangle" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("apex_angle", "leg_length") diff --git a/fairgraph/openminds/v5/sands/mathematical_shape/kite.py b/fairgraph/openminds/v5/sands/mathematical_shape/kite.py index b7b14708..ee83f886 100644 --- a/fairgraph/openminds/v5/sands/mathematical_shape/kite.py +++ b/fairgraph/openminds/v5/sands/mathematical_shape/kite.py @@ -15,6 +15,7 @@ class Kite(KGEmbedded, OMKite): """ type_ = "https://openminds.om-i.org/types/Kite" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("leg_lengths", "symmetry_diagonal_length") diff --git a/fairgraph/openminds/v5/sands/mathematical_shape/parallelogram.py b/fairgraph/openminds/v5/sands/mathematical_shape/parallelogram.py index 81b4ec17..7b8f26ec 100644 --- a/fairgraph/openminds/v5/sands/mathematical_shape/parallelogram.py +++ b/fairgraph/openminds/v5/sands/mathematical_shape/parallelogram.py @@ -15,6 +15,7 @@ class Parallelogram(KGEmbedded, OMParallelogram): """ type_ = "https://openminds.om-i.org/types/Parallelogram" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("base_distance", "base_length", "interior_angle") diff --git a/fairgraph/openminds/v5/sands/mathematical_shape/rectangle.py b/fairgraph/openminds/v5/sands/mathematical_shape/rectangle.py index b6a22d88..27854900 100644 --- a/fairgraph/openminds/v5/sands/mathematical_shape/rectangle.py +++ b/fairgraph/openminds/v5/sands/mathematical_shape/rectangle.py @@ -15,6 +15,7 @@ class Rectangle(KGEmbedded, OMRectangle): """ type_ = "https://openminds.om-i.org/types/Rectangle" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("major_side_length", "minor_side_length") diff --git a/fairgraph/openminds/v5/sands/mathematical_shape/regular_polygon.py b/fairgraph/openminds/v5/sands/mathematical_shape/regular_polygon.py index e25561cb..a417f425 100644 --- a/fairgraph/openminds/v5/sands/mathematical_shape/regular_polygon.py +++ b/fairgraph/openminds/v5/sands/mathematical_shape/regular_polygon.py @@ -15,6 +15,7 @@ class RegularPolygon(KGEmbedded, OMRegularPolygon): """ type_ = "https://openminds.om-i.org/types/RegularPolygon" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("circumradius", "number_of_sides") diff --git a/fairgraph/openminds/v5/sands/mathematical_shape/rhombus.py b/fairgraph/openminds/v5/sands/mathematical_shape/rhombus.py index a6d916ed..4814c7f9 100644 --- a/fairgraph/openminds/v5/sands/mathematical_shape/rhombus.py +++ b/fairgraph/openminds/v5/sands/mathematical_shape/rhombus.py @@ -15,6 +15,7 @@ class Rhombus(KGEmbedded, OMRhombus): """ type_ = "https://openminds.om-i.org/types/Rhombus" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("diagonal_lengths",) diff --git a/fairgraph/openminds/v5/sands/mathematical_shape/right_cone.py b/fairgraph/openminds/v5/sands/mathematical_shape/right_cone.py index 26623976..3c3a25cc 100644 --- a/fairgraph/openminds/v5/sands/mathematical_shape/right_cone.py +++ b/fairgraph/openminds/v5/sands/mathematical_shape/right_cone.py @@ -15,6 +15,7 @@ class RightCone(KGEmbedded, OMRightCone): """ type_ = "https://openminds.om-i.org/types/RightCone" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("apex_base_distance", "base_shape") diff --git a/fairgraph/openminds/v5/sands/mathematical_shape/right_cylinder.py b/fairgraph/openminds/v5/sands/mathematical_shape/right_cylinder.py index 9dfc8f89..4f6089d8 100644 --- a/fairgraph/openminds/v5/sands/mathematical_shape/right_cylinder.py +++ b/fairgraph/openminds/v5/sands/mathematical_shape/right_cylinder.py @@ -15,6 +15,7 @@ class RightCylinder(KGEmbedded, OMRightCylinder): """ type_ = "https://openminds.om-i.org/types/RightCylinder" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("base_distance", "base_shape") diff --git a/fairgraph/openminds/v5/sands/mathematical_shape/right_prism.py b/fairgraph/openminds/v5/sands/mathematical_shape/right_prism.py index 5cd94c55..9a594e34 100644 --- a/fairgraph/openminds/v5/sands/mathematical_shape/right_prism.py +++ b/fairgraph/openminds/v5/sands/mathematical_shape/right_prism.py @@ -15,6 +15,7 @@ class RightPrism(KGEmbedded, OMRightPrism): """ type_ = "https://openminds.om-i.org/types/RightPrism" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("base_distance", "base_shape") diff --git a/fairgraph/openminds/v5/sands/mathematical_shape/right_triangle.py b/fairgraph/openminds/v5/sands/mathematical_shape/right_triangle.py index b112e016..d9eccfe7 100644 --- a/fairgraph/openminds/v5/sands/mathematical_shape/right_triangle.py +++ b/fairgraph/openminds/v5/sands/mathematical_shape/right_triangle.py @@ -15,6 +15,7 @@ class RightTriangle(KGEmbedded, OMRightTriangle): """ type_ = "https://openminds.om-i.org/types/RightTriangle" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("perpendicular_leg_lengths",) diff --git a/fairgraph/openminds/v5/sands/mathematical_shape/sphere.py b/fairgraph/openminds/v5/sands/mathematical_shape/sphere.py index a6ce92ce..9149a29b 100644 --- a/fairgraph/openminds/v5/sands/mathematical_shape/sphere.py +++ b/fairgraph/openminds/v5/sands/mathematical_shape/sphere.py @@ -15,6 +15,7 @@ class Sphere(KGEmbedded, OMSphere): """ type_ = "https://openminds.om-i.org/types/Sphere" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("radius",) diff --git a/fairgraph/openminds/v5/sands/mathematical_shape/spheroid.py b/fairgraph/openminds/v5/sands/mathematical_shape/spheroid.py index aa07e3c7..695f698d 100644 --- a/fairgraph/openminds/v5/sands/mathematical_shape/spheroid.py +++ b/fairgraph/openminds/v5/sands/mathematical_shape/spheroid.py @@ -15,6 +15,7 @@ class Spheroid(KGEmbedded, OMSpheroid): """ type_ = "https://openminds.om-i.org/types/Spheroid" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("equatorial_diameter", "polar_diameter") diff --git a/fairgraph/openminds/v5/sands/mathematical_shape/square.py b/fairgraph/openminds/v5/sands/mathematical_shape/square.py index 03cb7d89..077e94a5 100644 --- a/fairgraph/openminds/v5/sands/mathematical_shape/square.py +++ b/fairgraph/openminds/v5/sands/mathematical_shape/square.py @@ -15,6 +15,7 @@ class Square(KGEmbedded, OMSquare): """ type_ = "https://openminds.om-i.org/types/Square" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("side_length",) diff --git a/fairgraph/openminds/v5/sands/mathematical_shape/trapezoid.py b/fairgraph/openminds/v5/sands/mathematical_shape/trapezoid.py index 581c971b..453e3f3a 100644 --- a/fairgraph/openminds/v5/sands/mathematical_shape/trapezoid.py +++ b/fairgraph/openminds/v5/sands/mathematical_shape/trapezoid.py @@ -15,6 +15,7 @@ class Trapezoid(KGEmbedded, OMTrapezoid): """ type_ = "https://openminds.om-i.org/types/Trapezoid" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("base_distance", "base_lengths") diff --git a/fairgraph/openminds/v5/sands/mathematical_shape/triangle.py b/fairgraph/openminds/v5/sands/mathematical_shape/triangle.py index ee2b142f..7f7d0b7e 100644 --- a/fairgraph/openminds/v5/sands/mathematical_shape/triangle.py +++ b/fairgraph/openminds/v5/sands/mathematical_shape/triangle.py @@ -15,6 +15,7 @@ class Triangle(KGEmbedded, OMTriangle): """ type_ = "https://openminds.om-i.org/types/Triangle" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("apex_angle", "leg_lengths") diff --git a/fairgraph/openminds/v5/sands/miscellaneous/anatomical_target_position.py b/fairgraph/openminds/v5/sands/miscellaneous/anatomical_target_position.py index aacde8b7..7f29db2e 100644 --- a/fairgraph/openminds/v5/sands/miscellaneous/anatomical_target_position.py +++ b/fairgraph/openminds/v5/sands/miscellaneous/anatomical_target_position.py @@ -15,6 +15,7 @@ class AnatomicalTargetPosition(KGEmbedded, OMAnatomicalTargetPosition): """ type_ = "https://openminds.om-i.org/types/AnatomicalTargetPosition" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("anatomical_targets", "target_identification_type") diff --git a/fairgraph/openminds/v5/sands/miscellaneous/coordinate_point.py b/fairgraph/openminds/v5/sands/miscellaneous/coordinate_point.py index aecd1fcb..9bb02e07 100644 --- a/fairgraph/openminds/v5/sands/miscellaneous/coordinate_point.py +++ b/fairgraph/openminds/v5/sands/miscellaneous/coordinate_point.py @@ -15,6 +15,7 @@ class CoordinatePoint(KGEmbedded, OMCoordinatePoint): """ type_ = "https://openminds.om-i.org/types/CoordinatePoint" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("coordinate_framework", "coordinates") diff --git a/fairgraph/openminds/v5/sands/miscellaneous/qualitative_relation_assessment.py b/fairgraph/openminds/v5/sands/miscellaneous/qualitative_relation_assessment.py index 3c4cb083..26c8ef76 100644 --- a/fairgraph/openminds/v5/sands/miscellaneous/qualitative_relation_assessment.py +++ b/fairgraph/openminds/v5/sands/miscellaneous/qualitative_relation_assessment.py @@ -15,6 +15,7 @@ class QualitativeRelationAssessment(KGEmbedded, OMQualitativeRelationAssessment) """ type_ = "https://openminds.om-i.org/types/QualitativeRelationAssessment" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("in_relation_to", "qualitative_overlap") diff --git a/fairgraph/openminds/v5/sands/miscellaneous/quantitative_relation_assessment.py b/fairgraph/openminds/v5/sands/miscellaneous/quantitative_relation_assessment.py index ac384beb..baf92bc6 100644 --- a/fairgraph/openminds/v5/sands/miscellaneous/quantitative_relation_assessment.py +++ b/fairgraph/openminds/v5/sands/miscellaneous/quantitative_relation_assessment.py @@ -15,6 +15,7 @@ class QuantitativeRelationAssessment(KGEmbedded, OMQuantitativeRelationAssessmen """ type_ = "https://openminds.om-i.org/types/QuantitativeRelationAssessment" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("in_relation_to", "quantitative_overlap") diff --git a/fairgraph/openminds/v5/sands/miscellaneous/single_color.py b/fairgraph/openminds/v5/sands/miscellaneous/single_color.py index 430038b4..0574ecda 100644 --- a/fairgraph/openminds/v5/sands/miscellaneous/single_color.py +++ b/fairgraph/openminds/v5/sands/miscellaneous/single_color.py @@ -16,6 +16,7 @@ class SingleColor(KGObject, OMSingleColor): type_ = "https://openminds.om-i.org/types/SingleColor" default_space = "atlas" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("value",) diff --git a/fairgraph/openminds/v5/sands/miscellaneous/viewer_specification.py b/fairgraph/openminds/v5/sands/miscellaneous/viewer_specification.py index 567cad25..361a625d 100644 --- a/fairgraph/openminds/v5/sands/miscellaneous/viewer_specification.py +++ b/fairgraph/openminds/v5/sands/miscellaneous/viewer_specification.py @@ -15,6 +15,7 @@ class ViewerSpecification(KGEmbedded, OMViewerSpecification): """ type_ = "https://openminds.om-i.org/types/ViewerSpecification" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("anchor_points",) diff --git a/fairgraph/openminds/v5/sands/non_atlas/custom_anatomical_entity.py b/fairgraph/openminds/v5/sands/non_atlas/custom_anatomical_entity.py index 832813bc..93746ba0 100644 --- a/fairgraph/openminds/v5/sands/non_atlas/custom_anatomical_entity.py +++ b/fairgraph/openminds/v5/sands/non_atlas/custom_anatomical_entity.py @@ -16,6 +16,7 @@ class CustomAnatomicalEntity(KGObject, OMCustomAnatomicalEntity): type_ = "https://openminds.om-i.org/types/CustomAnatomicalEntity" default_space = "spatial" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/sands/non_atlas/custom_annotation.py b/fairgraph/openminds/v5/sands/non_atlas/custom_annotation.py index f0b7da3b..26961fdb 100644 --- a/fairgraph/openminds/v5/sands/non_atlas/custom_annotation.py +++ b/fairgraph/openminds/v5/sands/non_atlas/custom_annotation.py @@ -15,6 +15,7 @@ class CustomAnnotation(KGEmbedded, OMCustomAnnotation): """ type_ = "https://openminds.om-i.org/types/CustomAnnotation" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("coordinate_framework", "criteria_quality_type", "criteria_type", "type") diff --git a/fairgraph/openminds/v5/sands/non_atlas/custom_coordinate_framework.py b/fairgraph/openminds/v5/sands/non_atlas/custom_coordinate_framework.py index f79fcc62..5613556e 100644 --- a/fairgraph/openminds/v5/sands/non_atlas/custom_coordinate_framework.py +++ b/fairgraph/openminds/v5/sands/non_atlas/custom_coordinate_framework.py @@ -16,6 +16,7 @@ class CustomCoordinateFramework(KGObject, OMCustomCoordinateFramework): type_ = "https://openminds.om-i.org/types/CustomCoordinateFramework" default_space = "spatial" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/specimen_prep/activity/cranial_window_preparation.py b/fairgraph/openminds/v5/specimen_prep/activity/cranial_window_preparation.py index a67344d8..5acb58a1 100644 --- a/fairgraph/openminds/v5/specimen_prep/activity/cranial_window_preparation.py +++ b/fairgraph/openminds/v5/specimen_prep/activity/cranial_window_preparation.py @@ -19,6 +19,7 @@ class CranialWindowPreparation(KGObject, OMCranialWindowPreparation): type_ = "https://openminds.om-i.org/types/CranialWindowPreparation" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("lookup_label",) diff --git a/fairgraph/openminds/v5/specimen_prep/activity/tissue_culture_preparation.py b/fairgraph/openminds/v5/specimen_prep/activity/tissue_culture_preparation.py index a99b8718..b0fe3df4 100644 --- a/fairgraph/openminds/v5/specimen_prep/activity/tissue_culture_preparation.py +++ b/fairgraph/openminds/v5/specimen_prep/activity/tissue_culture_preparation.py @@ -19,6 +19,7 @@ class TissueCulturePreparation(KGObject, OMTissueCulturePreparation): type_ = "https://openminds.om-i.org/types/TissueCulturePreparation" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("lookup_label",) diff --git a/fairgraph/openminds/v5/specimen_prep/activity/tissue_sample_slicing.py b/fairgraph/openminds/v5/specimen_prep/activity/tissue_sample_slicing.py index 6a8984d8..f11fcaef 100644 --- a/fairgraph/openminds/v5/specimen_prep/activity/tissue_sample_slicing.py +++ b/fairgraph/openminds/v5/specimen_prep/activity/tissue_sample_slicing.py @@ -19,6 +19,7 @@ class TissueSampleSlicing(KGObject, OMTissueSampleSlicing): type_ = "https://openminds.om-i.org/types/TissueSampleSlicing" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("lookup_label",) diff --git a/fairgraph/openminds/v5/specimen_prep/device/slicing_device.py b/fairgraph/openminds/v5/specimen_prep/device/slicing_device.py index 0d015d4c..c18f2e83 100644 --- a/fairgraph/openminds/v5/specimen_prep/device/slicing_device.py +++ b/fairgraph/openminds/v5/specimen_prep/device/slicing_device.py @@ -16,6 +16,7 @@ class SlicingDevice(KGObject, OMSlicingDevice): type_ = "https://openminds.om-i.org/types/SlicingDevice" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/specimen_prep/device/slicing_device_usage.py b/fairgraph/openminds/v5/specimen_prep/device/slicing_device_usage.py index d643347c..ee436a7b 100644 --- a/fairgraph/openminds/v5/specimen_prep/device/slicing_device_usage.py +++ b/fairgraph/openminds/v5/specimen_prep/device/slicing_device_usage.py @@ -16,6 +16,7 @@ class SlicingDeviceUsage(KGObject, OMSlicingDeviceUsage): type_ = "https://openminds.om-i.org/types/SlicingDeviceUsage" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/openminds/v5/stimulation/activity/stimulation_activity.py b/fairgraph/openminds/v5/stimulation/activity/stimulation_activity.py index f7b5f733..779490d4 100644 --- a/fairgraph/openminds/v5/stimulation/activity/stimulation_activity.py +++ b/fairgraph/openminds/v5/stimulation/activity/stimulation_activity.py @@ -19,6 +19,7 @@ class StimulationActivity(KGObject, OMStimulationActivity): type_ = "https://openminds.om-i.org/types/StimulationActivity" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [] existence_query_properties = ("lookup_label",) diff --git a/fairgraph/openminds/v5/stimulation/stimulus/ephys_stimulus.py b/fairgraph/openminds/v5/stimulation/stimulus/ephys_stimulus.py index 2ff1fe06..98665b09 100644 --- a/fairgraph/openminds/v5/stimulation/stimulus/ephys_stimulus.py +++ b/fairgraph/openminds/v5/stimulation/stimulus/ephys_stimulus.py @@ -16,6 +16,7 @@ class EphysStimulus(KGObject, OMEphysStimulus): type_ = "https://openminds.om-i.org/types/EphysStimulus" default_space = "in-depth" + SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") # forward properties are defined in the parent class (in openMINDS-Python) reverse_properties = [ Property( diff --git a/fairgraph/queries.py b/fairgraph/queries.py index 2888289a..6ac992fa 100644 --- a/fairgraph/queries.py +++ b/fairgraph/queries.py @@ -368,7 +368,38 @@ def serialize(self) -> Dict[str, Any]: return query -# todo: I think only one property can have "sort": True - need to check this +#: Order, most preferred first, in which a generated query picks its single sort key. +#: The names are the camelCase schema names used as ``QueryProperty.name`` (e.g. the Python +#: attribute ``lookup_label`` is the schema name ``lookupLabel``). ``name`` is preferred because +#: its values are human-readable and sort meaningfully; ``lookupLabel`` is deliberately last +#: because it embeds atlas/project prefixes, camel-case and sometimes DOIs, so sorting by it +#: groups by origin scheme first and looks cluttered. ``synonyms`` is excluded: it is +#: list-valued and not a sensible sort key. +#: +#: This is the default priority. Generated openMINDS classes carry their own ``SORT_PRIORITY`` +#: class attribute (see the builder's ``DEFAULT_SORT_PRIORITY`` / ``SORT_PRIORITY_EXCEPTIONS``), +#: and a few classes override it — e.g. ``ParcellationEntity`` and ``ParcellationEntityVersion`` +#: put ``lookupLabel`` first so that terms from the same atlas stay together. +#: +#: The KG API allows ``"sort": true`` on only one property, and only at the root level, so +#: exactly one property is chosen and it is always a top-level property. +SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") + + +def choose_sort_property(query_properties, priority=SORT_PRIORITY): + """ + Return the single top-level ``QueryProperty`` to sort a generated query by, or ``None``. + + The first top-level property whose ``name`` appears in ``priority`` (in priority order) is + chosen; this satisfies the KG's constraint of exactly one ``"sort": true`` at the root level. + ``priority`` defaults to the module-level :data:`SORT_PRIORITY`. If no sortable property is + present, returns ``None`` so no sort is requested. + """ + for sort_name in priority: + for prop in query_properties: + if prop.name == sort_name: + return prop + return None def _get_query_property_name(property, possible_classes): diff --git a/test/test_data/queries/openminds/core/person_newstyle_query.json b/test/test_data/queries/openminds/core/person_newstyle_query.json index 529fb424..177f8bd2 100644 --- a/test/test_data/queries/openminds/core/person_newstyle_query.json +++ b/test/test_data/queries/openminds/core/person_newstyle_query.json @@ -883,7 +883,8 @@ }, { "path": "https://openminds.om-i.org/props/familyName", - "propertyName": "familyName" + "propertyName": "familyName", + "sort": true }, { "path": "https://openminds.om-i.org/props/givenName", diff --git a/test/test_data/queries/openminds/core/person_resolved-1_query.json b/test/test_data/queries/openminds/core/person_resolved-1_query.json index c31f15ed..66b67420 100644 --- a/test/test_data/queries/openminds/core/person_resolved-1_query.json +++ b/test/test_data/queries/openminds/core/person_resolved-1_query.json @@ -677,7 +677,8 @@ }, { "path": "https://openminds.om-i.org/props/familyName", - "propertyName": "familyName" + "propertyName": "familyName", + "sort": true }, { "path": "https://openminds.om-i.org/props/givenName", diff --git a/test/test_data/queries/openminds/core/person_simple_query.json b/test/test_data/queries/openminds/core/person_simple_query.json index af8ffa17..5ff39403 100644 --- a/test/test_data/queries/openminds/core/person_simple_query.json +++ b/test/test_data/queries/openminds/core/person_simple_query.json @@ -115,7 +115,8 @@ }, { "path": "https://openminds.om-i.org/props/familyName", - "propertyName": "familyName" + "propertyName": "familyName", + "sort": true }, { "path": "https://openminds.om-i.org/props/givenName", diff --git a/test/test_queries.py b/test/test_queries.py index 1b029056..f12b2816 100644 --- a/test/test_queries.py +++ b/test/test_queries.py @@ -521,6 +521,105 @@ def test_generate_query_with_follow_named_links(mock_client): assert generated == expected +def test_generate_query_single_root_level_sort_key(mock_client): + """Generated queries carry at most one 'sort': true, on a root-level property only. + + The KG query API allows sorting on exactly one property, at the root level. This pins + that constraint and the deliberate priority order in which the sort property is chosen. + Most classes use the default priority (SORT_PRIORITY in fairgraph/queries.py), but a few + classes override it via a per-class SORT_PRIORITY attribute (see the builder's + SORT_PRIORITY_EXCEPTIONS); ParcellationEntity sorts by lookup_label so that terms from the + same atlas stay together. + """ + import fairgraph.openminds.v4.core as v4core + import fairgraph.openminds.v4.sands as v4sands + import fairgraph.openminds.v4.ephys as v4ephys + import fairgraph.openminds.v4.specimen_prep as v4sp + import fairgraph.openminds.v5.sands as v5sands + + # (class, expected sort propertyName, or None for "no sort") + cases = [ + # per-class override: lookup_label preferred so atlas terms stay together + (v4sands.ParcellationEntity, "lookupLabel"), + (v4sands.ParcellationEntityVersion, "lookupLabel"), + (v5sands.ParcellationEntity, "lookupLabel"), + (v5sands.ParcellationEntityVersion, "lookupLabel"), + # default priority: name wins over lookup_label + (v4ephys.Electrode, "name"), + (v4ephys.ElectrodeArray, "name"), + (v4ephys.Pipette, "name"), + (v4sp.SlicingDevice, "name"), + # no 'name', but family_name -> familyName (newly sortable) + (v4core.Person, "familyName"), + # no 'name', full_name present -> fullName + (v4core.Organization, "fullName"), + (v4core.Dataset, "fullName"), + ] + for cls, expected_sort in cases: + query = cls.generate_query(space="collab-foobar", client=mock_client, with_reverse_properties=True) + sorts = [prop.get("propertyName") for prop in query["structure"] if prop.get("sort")] + assert len(sorts) <= 1, f"{cls.__name__}: expected at most one sort key, got {sorts}" + assert sorts == [expected_sort], f"{cls.__name__}: expected sort key {expected_sort!r}, got {sorts}" + # sort must not appear on any nested (non-root) property + for prop in query["structure"]: + if "structure" in prop: + assert "sort" not in prop, f"{cls.__name__}: nested sort present" + + +def test_generate_query_no_sort_when_no_name_like_property(mock_client): + """Classes with no name-like property should not emit a sort key.""" + # DOI has no name-like top-level property to sort by + query = omcore.DOI.generate_query(space="collab-foobar", client=mock_client, with_reverse_properties=True) + for prop in query["structure"]: + assert "sort" not in prop, f"unexpected sort on {prop.get('propertyName')}" + + +def test_per_class_sort_priority_override(): + """The generated SORT_PRIORITY class attribute pins the deliberate per-class overrides. + + ParcellationEntity(-Version) prefer lookup_label so that terms from the same atlas stay + together, unlike every other class which uses the default priority. This guards against + the builder regeneration silently reverting the override (see SORT_PRIORITY_EXCEPTIONS in + builder/update_openminds.py). + """ + import fairgraph.openminds.v4.sands as v4sands + import fairgraph.openminds.v5.sands as v5sands + import fairgraph.openminds.v4.ephys as v4ephys + from fairgraph.queries import SORT_PRIORITY + + default = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") + override = ("lookupLabel", "name", "fullName", "shortName", "familyName", "abbreviation") + + assert v4sands.ParcellationEntity.SORT_PRIORITY == override + assert v4sands.ParcellationEntityVersion.SORT_PRIORITY == override + assert v5sands.ParcellationEntity.SORT_PRIORITY == override + assert v5sands.ParcellationEntityVersion.SORT_PRIORITY == override + # a class without an override still uses the default + assert v4ephys.Electrode.SORT_PRIORITY == default + # and the module default matches + assert SORT_PRIORITY == default + assert SORT_PRIORITY + + +@skip_if_no_connection +def test_list_results_sorted_by_chosen_property(kg_client): + """Live: results come back sorted case-insensitively by the chosen sort property. + + The KG sorts case-insensitively (e.g. 'AAL1_brain' sits between 'AAL1_AMYG' and + 'AAL1_CAU'), so the assertion compares lower-cased values rather than using plain + ``sorted()``, which would disagree. Sorting only applies to the query API, so the + query API is forced explicitly. ParcellationEntity sorts by lookup_label (its per-class + override). + """ + import fairgraph.openminds.v4.sands as v4sands + + instances = v4sands.ParcellationEntity.list(kg_client, size=30, api="query") + values = [inst.lookup_label for inst in instances if getattr(inst, "lookup_label", None)] + assert len(values) > 1 + lowered = [value.lower() for value in values] + assert lowered == sorted(lowered), "results not ordered case-insensitively by lookup_label" + + def test_generate_query_type_filter_flattened(): query = Query( node_type="https://openminds.om-i.org/types/LivePaperVersion",