diff --git a/builder/fairgraph_module_template.py.txt b/builder/fairgraph_module_template.py.txt index a00d6205..fe284750 100644 --- a/builder/fairgraph_module_template.py.txt +++ b/builder/fairgraph_module_template.py.txt @@ -19,6 +19,11 @@ class {{ class_name }}({{base_class}}, OM{{ class_name }}): {%- if default_space %} default_space = "{{ default_space }}" {%- endif %} + {%- if sort_property %} + SORT_PROPERTY = "{{ sort_property }}" + {%- else %} + SORT_PROPERTY = None + {%- endif %} # 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..f5820231 100644 --- a/builder/update_openminds.py +++ b/builder/update_openminds.py @@ -22,6 +22,25 @@ } +# 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. +# +# These priorities are evaluated once, at build time, to decide for each class which single +# top-level property to sort by (see get_sort_property). The Knowledge Graph API allows +# ``"sort": true`` on only one property, at the root level, so at most one property is chosen. +DEFAULT_SORT_PRIORITY = ("name", "fullName", "shortName", "familyName", "abbreviation", "lookupLabel") + +# Per-class overrides of the sort priority, most preferred sort property first. +SORT_PRIORITY_EXCEPTIONS = { + "ParcellationEntity": ("lookupLabel", "name", "fullName", "shortName", "familyName", "abbreviation"), + "ParcellationEntityVersion": ("lookupLabel", "name", "fullName", "shortName", "familyName", "abbreviation"), +} + + reverse_name_map = { "RRID": "identifies", "about": { @@ -682,6 +701,24 @@ def get_default_space(schema_group, cls_name, version="v4"): } +def get_sort_property(cls_name, schema_properties): + """Return the single sort property for a class, or ``None``. + + Decided once, at build time, using the priority in DEFAULT_SORT_PRIORITY (or its per-class + override in SORT_PRIORITY_EXCEPTIONS): the first name-like property the class actually has, + in priority order, is chosen and emitted into the generated class as ``SORT_PROPERTY``. + ``schema_properties`` is the raw openMINDS schema ``properties`` dict (keyed by full property + IRI; each value's ``name`` is the camelCase schema name, which is what ``QueryProperty.name`` + uses at runtime). Returns ``None`` when the class has none of the sortable properties. + """ + priority = SORT_PRIORITY_EXCEPTIONS.get(cls_name, DEFAULT_SORT_PRIORITY) + present = {prop["name"] for prop in schema_properties.values()} + for name in priority: + if name in present: + return name + return None + + def get_existence_query(cls_name, properties): if cls_name in custom_existence_queries: return custom_existence_queries[cls_name] @@ -951,6 +988,7 @@ def get_type(prop): "standard_init_properties": standard_init_properties, "additional_methods": additional_methods, "aliases": aliases, + "sort_property": get_sort_property(class_name, self._schema_payload["properties"]), "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..dba47d46 100644 --- a/doc/queries.rst +++ b/doc/queries.rst @@ -125,6 +125,37 @@ 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. This decision is made once, at build time, and the +chosen property is baked into each generated class as its ``SORT_PROPERTY`` attribute (see the +builder's ``DEFAULT_SORT_PRIORITY`` / ``SORT_PRIORITY_EXCEPTIONS`` in ``builder/update_openminds.py``). + +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..61f83a8b 100644 --- a/doc/release_notes.rst +++ b/doc/release_notes.rst @@ -41,6 +41,38 @@ 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 via a per-class override 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``). Which property to sort by is decided **once, at build + time** (in ``builder/update_openminds.py``, see ``DEFAULT_SORT_PRIORITY`` and + ``SORT_PRIORITY_EXCEPTIONS``) and baked into each generated class as its ``SORT_PROPERTY`` + attribute — the runtime simply applies that single value instead of evaluating a priority + order for every query. + + 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 +83,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..ad97ef70 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, find_sort_property 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,10 @@ 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. + # The name-like property to sort a generated query by, or None for no sort. This is set at + # build time on the generated openMINDS classes (see the builder's DEFAULT_SORT_PRIORITY / + # SORT_PRIORITY_EXCEPTIONS) and used by generate_query. + SORT_PROPERTY = None def __init__( self, @@ -395,6 +399,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. Which property is used is decided at build time: + by default it follows the priority ``name``, ``full_name``, ``short_name``, + ``family_name``, ``abbreviation``, ``lookup_label`` (``synonyms`` is never used), but + some classes override it via their ``SORT_PROPERTY`` 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'. @@ -1182,10 +1196,13 @@ 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 + # third pass, we add sorting, which can only happen at the top level; which property to + # sort by is decided at build time and baked into SORT_PROPERTY on the generated class. + sort_property_name = getattr(cls, "SORT_PROPERTY", None) + if sort_property_name is not None: + sort_property = find_sort_property(query.properties, sort_property_name) + 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..91a6d81e 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_PROPERTY = None # 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..ec763472 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_PROPERTY = "name" # 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..0da9c255 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_PROPERTY = "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..d1dfa651 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_PROPERTY = None # 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..359bbe0d 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_PROPERTY = "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..43f69805 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_PROPERTY = "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..564f2a4d 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_PROPERTY = "name" # 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..4888b04a 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_PROPERTY = "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..3b5ce3f3 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_PROPERTY = "name" # 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..efb04aa7 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_PROPERTY = "name" # 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..0f1394e1 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_PROPERTY = "name" # 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..80053e25 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_PROPERTY = "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..baa7f2ce 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_PROPERTY = "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..c1c520d3 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_PROPERTY = "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..e13e7da4 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_PROPERTY = "name" # 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..a48ad6b1 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_PROPERTY = "fullName" # 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..4fe21c78 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_PROPERTY = "fullName" # 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..fd80c748 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_PROPERTY = "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..70f37a8f 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_PROPERTY = None # 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..03dc47b5 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_PROPERTY = "fullName" # 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..2ded8317 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_PROPERTY = "fullName" # 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..10ad19bb 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_PROPERTY = "name" # 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..7598dcd8 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_PROPERTY = "name" # 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..adab60d2 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_PROPERTY = "name" # 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..135e98cc 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_PROPERTY = "name" # 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..95644f65 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_PROPERTY = "name" # 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..8f047880 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_PROPERTY = "name" # 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..a8f36537 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_PROPERTY = "name" # 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..7a354ba4 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_PROPERTY = "name" # 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..f9807840 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_PROPERTY = "name" # 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..ba7443d8 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_PROPERTY = "name" # 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..90c65c04 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_PROPERTY = "name" # 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..8ce7c79d 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_PROPERTY = "name" # 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..54ea2aaa 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_PROPERTY = "name" # 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..2f3c1723 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_PROPERTY = "name" # 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..562279dd 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_PROPERTY = "name" # 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..7bbb9ae8 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_PROPERTY = "name" # 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..c663af65 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_PROPERTY = "name" # 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..11f1e0ff 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_PROPERTY = "name" # 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..d389940d 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_PROPERTY = "name" # 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..216a5467 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_PROPERTY = "name" # 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..62777380 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_PROPERTY = "name" # 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..a7c91702 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_PROPERTY = "name" # 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..1c240743 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_PROPERTY = "name" # 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..5113fadf 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_PROPERTY = "name" # 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..429bb760 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_PROPERTY = "name" # 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..637ba84a 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_PROPERTY = "name" # 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..d26f51c6 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_PROPERTY = "name" # 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..bdf1c8f9 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_PROPERTY = "name" # 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..636dbc0f 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_PROPERTY = "name" # 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..9768434c 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_PROPERTY = "name" # 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..5a3ed845 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_PROPERTY = "name" # 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..7def64a0 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_PROPERTY = "name" # 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..473a68a2 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_PROPERTY = "name" # 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..239fa36e 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_PROPERTY = "name" # 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..d89b2097 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_PROPERTY = "name" # 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..8faa01c0 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_PROPERTY = "name" # 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..c2d73086 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_PROPERTY = "name" # 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..54a13d08 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_PROPERTY = "name" # 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..50f47b1b 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_PROPERTY = "name" # 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..beb6e747 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_PROPERTY = "name" # 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..eb768d9f 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_PROPERTY = "name" # 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..2415b1bf 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_PROPERTY = "name" # 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..94a9e1e2 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_PROPERTY = "name" # 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..6985589d 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_PROPERTY = "name" # 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..95e5fbe5 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_PROPERTY = "name" # 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..dd9331bc 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_PROPERTY = "name" # 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..b14e5667 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_PROPERTY = "name" # 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..7f08277c 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_PROPERTY = "name" # 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..6ca66721 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_PROPERTY = "name" # 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..ab30c5c0 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_PROPERTY = "name" # 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..8d6816d7 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_PROPERTY = "name" # 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..70def7c6 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_PROPERTY = "name" # 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..9263153d 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_PROPERTY = "name" # 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..529969b8 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_PROPERTY = "name" # 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..7aefd617 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_PROPERTY = "name" # 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..cfa12724 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_PROPERTY = "name" # 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..fe043c0a 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_PROPERTY = "name" # 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..eea4a3f9 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_PROPERTY = "name" # 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..3f781a18 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_PROPERTY = "name" # 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..31805ee2 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_PROPERTY = "name" # 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..53d00ca2 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_PROPERTY = "name" # 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..4a814469 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_PROPERTY = "name" # 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..ab65f904 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_PROPERTY = "name" # 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..86378439 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_PROPERTY = "name" # 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..93c659b0 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_PROPERTY = "name" # 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..6151f519 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_PROPERTY = "name" # 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..a74527cb 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_PROPERTY = "name" # 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..bd5ca865 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_PROPERTY = "name" # 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..cf4169f7 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_PROPERTY = "name" # 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..2af09cd7 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_PROPERTY = "name" # 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..e54a680f 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_PROPERTY = "name" # 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..6119894e 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_PROPERTY = "name" # 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..ca98dd72 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_PROPERTY = "name" # 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..64fb8bf0 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_PROPERTY = "name" # 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..d9f0dac4 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_PROPERTY = "name" # 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..c7283f68 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_PROPERTY = "name" # 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..0e471979 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_PROPERTY = "name" # 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..aa7dbe0b 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_PROPERTY = "name" # 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..18a5ec7b 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_PROPERTY = "name" # 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..60eccfc2 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_PROPERTY = "name" # 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..80c3ed93 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_PROPERTY = None # 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..04302599 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_PROPERTY = None # 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..45c51a3a 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_PROPERTY = "fullName" # 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..71539b21 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_PROPERTY = None # 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..8912c8b5 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_PROPERTY = None # 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..a4c3ddcb 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_PROPERTY = "fullName" # 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..2f773890 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_PROPERTY = "familyName" # 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..8ec15808 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_PROPERTY = "name" # 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..f974798f 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_PROPERTY = "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..45f937f2 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_PROPERTY = None # 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..829b8956 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_PROPERTY = "name" # 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..b370d31b 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_PROPERTY = None # 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..2073e870 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_PROPERTY = "name" # 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..1f5a0cfd 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_PROPERTY = None # 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..136c80e6 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_PROPERTY = "name" # 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..cd3a5399 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_PROPERTY = "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..d1a8bb89 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_PROPERTY = None # 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..b7566542 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_PROPERTY = "fullName" # 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..f6df6d2f 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_PROPERTY = None # 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..e916b5a5 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_PROPERTY = None # 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..cac09699 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_PROPERTY = None # 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..b8f7ffdf 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_PROPERTY = None # 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..59836aad 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_PROPERTY = None # 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..7d7029e8 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_PROPERTY = None # 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..b3409b02 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_PROPERTY = None # 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..0bc7f67b 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_PROPERTY = None # 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..2a3cd4d5 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_PROPERTY = None # 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..79f2a345 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_PROPERTY = None # 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..8102a5ee 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_PROPERTY = None # 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..00b25f58 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_PROPERTY = None # 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..f453356c 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_PROPERTY = None # 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..e12a248d 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_PROPERTY = None # 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..44699235 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_PROPERTY = None # 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..9922eeea 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_PROPERTY = None # 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..db6cd825 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_PROPERTY = None # 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..0a61fed6 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_PROPERTY = None # 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..d179c8f7 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_PROPERTY = None # 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..86065a0d 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_PROPERTY = None # 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..8dff9798 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_PROPERTY = "fullName" # 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..78f7dd3f 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_PROPERTY = "fullName" # 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..5d5401d1 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_PROPERTY = "fullName" # 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..843c2547 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_PROPERTY = "fullName" # 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..84564e15 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_PROPERTY = "fullName" # 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..f045c1ee 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_PROPERTY = "fullName" # 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..6af5bea2 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_PROPERTY = "fullName" # 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..423038f9 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_PROPERTY = "name" # 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..946938b7 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_PROPERTY = "fullName" # 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..df394e4f 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_PROPERTY = "fullName" # 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..1b5d809d 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_PROPERTY = "fullName" # 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..34d53d17 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_PROPERTY = "fullName" # 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..f90b5596 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_PROPERTY = "name" # 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..cc9bb8d6 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_PROPERTY = "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..b6310ed5 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_PROPERTY = None # 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..37aa5786 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_PROPERTY = "name" # 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..0ad29dde 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_PROPERTY = "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..3bf28374 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_PROPERTY = "name" # 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..5afe4bbf 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_PROPERTY = "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..4d51b96a 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_PROPERTY = "name" # 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..4fb32fab 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_PROPERTY = "name" # 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..391c49cf 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_PROPERTY = "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..893dbda8 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_PROPERTY = "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..5a01e49d 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_PROPERTY = "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..b3e57ab6 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_PROPERTY = "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..52791b31 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_PROPERTY = "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..02ce2c9c 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_PROPERTY = "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..9a2247c5 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_PROPERTY = "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..bb7204b6 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_PROPERTY = "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..c0a5d808 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_PROPERTY = "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..290e91d1 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_PROPERTY = "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..f695ccec 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_PROPERTY = "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..fb3e5f11 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_PROPERTY = "name" # 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..49b7ab9f 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_PROPERTY = "name" # 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..37409817 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_PROPERTY = "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..d77a45bc 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_PROPERTY = "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..00287a67 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_PROPERTY = "name" # 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..9b63c9c7 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_PROPERTY = "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..315390d1 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_PROPERTY = None # 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..a268ad09 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_PROPERTY = "name" # 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..b2ef5753 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_PROPERTY = "name" # 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..b31b4460 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_PROPERTY = "name" # 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..cd652f93 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_PROPERTY = "name" # 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..80fef74d 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_PROPERTY = "fullName" # 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..8fc7d441 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_PROPERTY = "name" # 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..da7c5df8 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_PROPERTY = "name" # 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..b15f4450 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_PROPERTY = "fullName" # 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..7134f887 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_PROPERTY = "name" # 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..3b2b0f4b 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_PROPERTY = None # 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..8029ae66 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_PROPERTY = None # 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..370d5565 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_PROPERTY = "name" # 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..1abb050a 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_PROPERTY = None # 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..113fa37f 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_PROPERTY = "fullName" # 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..ff593c70 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_PROPERTY = "fullName" # 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..e6ebf10e 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_PROPERTY = "fullName" # 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..4c870a14 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_PROPERTY = "fullName" # 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..998afcbb 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_PROPERTY = "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_version.py b/fairgraph/openminds/v4/sands/atlas/parcellation_entity_version.py index 450e5db5..4a70aeeb 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_PROPERTY = "lookupLabel" # 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..74b1a563 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_PROPERTY = None # 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..b4122e90 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_PROPERTY = None # 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..0be4a6a4 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_PROPERTY = None # 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..931d7c28 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_PROPERTY = None # 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..60e6d475 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_PROPERTY = None # 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..916d9893 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_PROPERTY = None # 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..b2c857c8 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_PROPERTY = None # 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..b134944f 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_PROPERTY = None # 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..f0886ee4 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_PROPERTY = None # 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..62e54b46 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_PROPERTY = None # 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..e80d71ae 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_PROPERTY = None # 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..01ac5a86 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_PROPERTY = "name" # 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..6cbf5561 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_PROPERTY = None # 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..a2ddbb04 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_PROPERTY = "name" # 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..7c99fd12 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_PROPERTY = "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..29d1bf26 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_PROPERTY = "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..dac9eb66 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_PROPERTY = "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..3d5c39b9 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_PROPERTY = "name" # 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..cd18543f 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_PROPERTY = "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..e2189592 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_PROPERTY = "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..4fc08c6b 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_PROPERTY = "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..085c51d1 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_PROPERTY = None # 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..622448f6 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_PROPERTY = "name" # 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..3568a992 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_PROPERTY = "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..d5f4d3a3 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_PROPERTY = None # 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..c3a9b722 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_PROPERTY = "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..a88fc25b 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_PROPERTY = "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..9c09e374 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_PROPERTY = None # 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..f04f856d 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_PROPERTY = "name" # 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..c102a5d9 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_PROPERTY = "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..e8d27735 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_PROPERTY = "name" # 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..8b5bc7e6 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_PROPERTY = "name" # 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..a07432f9 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_PROPERTY = "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..5ac42fb1 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_PROPERTY = "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..7b29e981 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_PROPERTY = "name" # 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..98defc13 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_PROPERTY = "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..b47cd08f 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_PROPERTY = "name" # 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..e4f65699 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_PROPERTY = "fullName" # 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..e328b3cd 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_PROPERTY = "fullName" # 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..08a3bb8c 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_PROPERTY = "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..62947c3a 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_PROPERTY = None # 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..8e21a36f 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_PROPERTY = "fullName" # 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..1658673f 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_PROPERTY = "fullName" # 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..1a23d370 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_PROPERTY = "name" # 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..8b9dbf80 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_PROPERTY = "name" # 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..159e2e82 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_PROPERTY = "name" # 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..69dd938e 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_PROPERTY = "name" # 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..d89fe735 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_PROPERTY = "name" # 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..a119787f 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_PROPERTY = "name" # 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..9134180b 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_PROPERTY = "name" # 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..24056082 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_PROPERTY = "name" # 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..46f1e910 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_PROPERTY = "name" # 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..1078a1b5 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_PROPERTY = "name" # 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..cde0de74 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_PROPERTY = "name" # 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..32f9b01e 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_PROPERTY = "name" # 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..0dd16a70 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_PROPERTY = "name" # 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..bc27d4c7 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_PROPERTY = "name" # 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..43acb436 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_PROPERTY = "name" # 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..8b0cf38e 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_PROPERTY = "name" # 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..7f6f8806 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_PROPERTY = "name" # 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..4ae3b36b 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_PROPERTY = "name" # 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..a54bf9f4 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_PROPERTY = "name" # 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..ad09b5db 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_PROPERTY = "name" # 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..80a6b5b9 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_PROPERTY = "name" # 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..965accb4 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_PROPERTY = "name" # 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..fefc9a13 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_PROPERTY = "name" # 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..b13a06e3 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_PROPERTY = "name" # 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..e749a83c 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_PROPERTY = "name" # 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..5cd9bd96 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_PROPERTY = "name" # 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..ca4efcf7 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_PROPERTY = "name" # 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..cd113a9f 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_PROPERTY = "name" # 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..4ef10987 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_PROPERTY = "name" # 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..a6634125 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_PROPERTY = "name" # 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..13337810 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_PROPERTY = "name" # 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..80537d42 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_PROPERTY = "name" # 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..28ade716 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_PROPERTY = "name" # 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..0137d534 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_PROPERTY = "name" # 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..669f4f35 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_PROPERTY = "name" # 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..983b4c9a 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_PROPERTY = "name" # 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..882b6e72 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_PROPERTY = "name" # 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..9c3358a9 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_PROPERTY = "name" # 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..07087e7d 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_PROPERTY = "name" # 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..b7a07953 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_PROPERTY = "name" # 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..9bf3c107 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_PROPERTY = "name" # 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..82272e41 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_PROPERTY = "name" # 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..e207db47 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_PROPERTY = "name" # 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..a601fba8 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_PROPERTY = "name" # 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..16053e4e 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_PROPERTY = "name" # 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..2cf737d4 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_PROPERTY = "name" # 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..e50f071b 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_PROPERTY = "name" # 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..ceac08e1 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_PROPERTY = "name" # 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..c82ce2d8 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_PROPERTY = "name" # 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..ea661db7 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_PROPERTY = "name" # 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..88e932a5 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_PROPERTY = "name" # 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..b067b23e 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_PROPERTY = "name" # 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..7d36076b 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_PROPERTY = "name" # 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..5810dd5a 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_PROPERTY = "name" # 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..e98a2cad 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_PROPERTY = "name" # 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..c81956fe 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_PROPERTY = "name" # 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..f75902bf 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_PROPERTY = "name" # 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..e842f2c6 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_PROPERTY = "name" # 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..6ed33e03 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_PROPERTY = "name" # 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..222bcc60 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_PROPERTY = "name" # 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..6bc7004a 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_PROPERTY = "name" # 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..247892e2 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_PROPERTY = "name" # 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..9f067eab 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_PROPERTY = "name" # 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..f4d6eba6 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_PROPERTY = "name" # 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..c7b5bc52 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_PROPERTY = "name" # 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..900307a0 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_PROPERTY = "name" # 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..f2f8dd0e 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_PROPERTY = "name" # 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..32cec8f7 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_PROPERTY = "name" # 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..8485739a 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_PROPERTY = "name" # 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..f4bcb2c5 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_PROPERTY = "name" # 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..39f21bf8 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_PROPERTY = "name" # 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..5b285357 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_PROPERTY = "name" # 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..15a57474 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_PROPERTY = "name" # 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..78abefef 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_PROPERTY = "name" # 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..d2cbc0a8 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_PROPERTY = "name" # 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..35617b78 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_PROPERTY = "name" # 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..89faa03b 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_PROPERTY = "name" # 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..542a30cf 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_PROPERTY = "name" # 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..d771d430 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_PROPERTY = "name" # 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..27ada35a 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_PROPERTY = "name" # 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..2b7d1f44 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_PROPERTY = "name" # 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..0768189a 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_PROPERTY = "name" # 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..2634c0af 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_PROPERTY = "name" # 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..311122aa 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_PROPERTY = "name" # 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..cda884d9 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_PROPERTY = "name" # 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..6a87d3de 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_PROPERTY = "name" # 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..7df59f45 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_PROPERTY = "name" # 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..5bab4bb5 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_PROPERTY = "name" # 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..6099b02e 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_PROPERTY = "name" # 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..6bf5a39d 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_PROPERTY = "name" # 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..8b9def51 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_PROPERTY = "name" # 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..1aced852 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_PROPERTY = "name" # 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..8150ab99 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_PROPERTY = "name" # 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..f4872f10 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_PROPERTY = "name" # 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..447a2cb8 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_PROPERTY = "name" # 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..ed9fde3b 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_PROPERTY = "name" # 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..2bf88ca6 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_PROPERTY = "name" # 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..ef8e720c 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_PROPERTY = "name" # 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..a85f6b18 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_PROPERTY = "name" # 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..059497bc 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_PROPERTY = "name" # 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..ee4e9d1f 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_PROPERTY = "name" # 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..2250f0a9 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_PROPERTY = "name" # 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..ee4143e4 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_PROPERTY = "name" # 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..5844bd72 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_PROPERTY = "name" # 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..ec17302d 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_PROPERTY = "name" # 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..f1906401 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_PROPERTY = "name" # 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..3b44e4c1 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_PROPERTY = "name" # 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..f2ed5253 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_PROPERTY = "name" # 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..61223f06 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_PROPERTY = "name" # 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..be152bae 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_PROPERTY = "name" # 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..36f82911 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_PROPERTY = "name" # 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..41c3e53f 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_PROPERTY = "name" # 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..f3654a52 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_PROPERTY = None # 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..aed891de 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_PROPERTY = None # 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..9ec73641 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_PROPERTY = "fullName" # 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..1accc4ad 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_PROPERTY = None # 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..dccbe07c 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_PROPERTY = None # 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..a3a7aa3a 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_PROPERTY = "name" # 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..2e6f3b58 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_PROPERTY = "familyName" # 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..4f10f4b7 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_PROPERTY = None # 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..5f947699 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_PROPERTY = "name" # 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..bf870836 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_PROPERTY = "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..5db22187 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_PROPERTY = None # 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..daa3764e 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_PROPERTY = "name" # 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..e0262012 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_PROPERTY = None # 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..40bfb04b 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_PROPERTY = "name" # 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..a3a4ff48 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_PROPERTY = None # 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..52de096e 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_PROPERTY = "name" # 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..b49c0f71 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_PROPERTY = "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..bc420f8a 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_PROPERTY = "name" # 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..bdf8b001 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_PROPERTY = "name" # 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..08ecda54 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_PROPERTY = "name" # 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..dbf5f7f3 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_PROPERTY = "name" # 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..9779d6a9 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_PROPERTY = "name" # 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..00f9f9d9 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_PROPERTY = None # 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..bbbb3b1a 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_PROPERTY = "fullName" # 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..8ec60ccf 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_PROPERTY = "name" # 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..0fff2b39 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_PROPERTY = None # 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..03a1081a 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_PROPERTY = "name" # 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..96410ca9 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_PROPERTY = None # 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..0b081cca 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_PROPERTY = "fullName" # 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..0a65e5df 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_PROPERTY = None # 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..672c671f 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_PROPERTY = None # 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..47ee7541 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_PROPERTY = None # 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..0b507da2 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_PROPERTY = None # 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..78934df3 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_PROPERTY = None # 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..52ba66ed 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_PROPERTY = None # 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..1f0d5702 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_PROPERTY = None # 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..ac16ade3 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_PROPERTY = None # 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..a920b502 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_PROPERTY = None # 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..162e2e1a 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_PROPERTY = None # 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..4afc81b6 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_PROPERTY = None # 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..17e516dc 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_PROPERTY = None # 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..164a2357 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_PROPERTY = None # 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..a7a6e1b9 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_PROPERTY = None # 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..d5c4d879 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_PROPERTY = None # 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..84676add 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_PROPERTY = None # 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..1f1c72ee 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_PROPERTY = None # 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..298669e9 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_PROPERTY = None # 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..36320659 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_PROPERTY = None # 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..940fa1a0 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_PROPERTY = None # 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..89358a51 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_PROPERTY = None # 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..4fb49094 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_PROPERTY = None # 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..4c797948 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_PROPERTY = None # 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..d5d0575d 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_PROPERTY = None # 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..6bc08e23 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_PROPERTY = None # 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..621b54e8 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_PROPERTY = "fullName" # 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..76cdc55b 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_PROPERTY = "fullName" # 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..e1417a59 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_PROPERTY = "name" # 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..64756c73 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_PROPERTY = "fullName" # 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..d8e551a1 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_PROPERTY = "fullName" # 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..e3bd72a4 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_PROPERTY = "fullName" # 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..23c941c3 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_PROPERTY = "fullName" # 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..837b2fff 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_PROPERTY = "fullName" # 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..a9ebe5c9 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_PROPERTY = "fullName" # 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..230da536 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_PROPERTY = "fullName" # 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..0f112255 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_PROPERTY = "fullName" # 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..036b0de0 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_PROPERTY = "name" # 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..12804df1 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_PROPERTY = "fullName" # 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..09448c29 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_PROPERTY = "fullName" # 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..c726ead9 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_PROPERTY = "name" # 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..1931cf7a 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_PROPERTY = "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..c6512bb9 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_PROPERTY = None # 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..3bc07271 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_PROPERTY = "name" # 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..b45b1607 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_PROPERTY = "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..d81b5750 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_PROPERTY = "name" # 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..28d8c228 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_PROPERTY = "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..b46d67ba 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_PROPERTY = None # 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..c9c40bab 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_PROPERTY = None # 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..9e8aab84 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_PROPERTY = "name" # 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..6808341e 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_PROPERTY = "name" # 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..244bae3f 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_PROPERTY = "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..f7689482 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_PROPERTY = "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..94ac075f 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_PROPERTY = "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..d13d81b5 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_PROPERTY = "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..69df69b0 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_PROPERTY = "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..47007289 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_PROPERTY = "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..946e58d6 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_PROPERTY = "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..37f8520b 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_PROPERTY = "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..0a29c61f 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_PROPERTY = "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..d641d0ab 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_PROPERTY = "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..8daefb8b 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_PROPERTY = "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..02b699c7 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_PROPERTY = "name" # 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..3fb7522b 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_PROPERTY = "name" # 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..1f2e7129 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_PROPERTY = "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..f8d2d7f4 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_PROPERTY = "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..e5500e97 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_PROPERTY = "name" # 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..c54f53c7 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_PROPERTY = "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..95c8e4ed 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_PROPERTY = "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..90a1203f 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_PROPERTY = "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..b76ff6bd 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_PROPERTY = "name" # 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..0fa1b0be 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_PROPERTY = "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..092e1538 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_PROPERTY = "name" # 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..949f1376 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_PROPERTY = "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..3b50032e 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_PROPERTY = "name" # 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..b84cb2de 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_PROPERTY = "name" # 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..9df90435 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_PROPERTY = "name" # 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..22a65015 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_PROPERTY = "fullName" # 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..b6280b1d 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_PROPERTY = "name" # 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..6d27a2e3 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_PROPERTY = "name" # 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..bb89d124 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_PROPERTY = "fullName" # 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..5387dba8 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_PROPERTY = "name" # 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..89ca4544 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_PROPERTY = None # 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..703b4c47 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_PROPERTY = None # 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..e5c5697b 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_PROPERTY = "name" # 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..a65467ea 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_PROPERTY = "fullName" # 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..09f786ad 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_PROPERTY = "fullName" # 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..89f4c7a3 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_PROPERTY = None # 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..c762c003 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_PROPERTY = "fullName" # 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..06b49a86 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_PROPERTY = "fullName" # 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..4b3a7b39 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_PROPERTY = "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_version.py b/fairgraph/openminds/v5/sands/atlas/parcellation_entity_version.py index 428a31f6..d4663df4 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_PROPERTY = "lookupLabel" # 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..456891cb 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_PROPERTY = None # 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..fa776bea 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_PROPERTY = None # 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..f5949a9c 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_PROPERTY = None # 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..c6e0d82d 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_PROPERTY = None # 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..aefbccc5 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_PROPERTY = None # 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..977069cd 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_PROPERTY = None # 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..1ae23026 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_PROPERTY = None # 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..6697985a 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_PROPERTY = None # 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..dbcb8605 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_PROPERTY = None # 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..88eb49b5 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_PROPERTY = None # 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..26a19a6f 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_PROPERTY = None # 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..2d57d6a5 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_PROPERTY = None # 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..510398a0 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_PROPERTY = None # 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..9de07e05 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_PROPERTY = None # 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..c0daa239 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_PROPERTY = None # 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..2ed1af4f 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_PROPERTY = None # 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..7e37b955 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_PROPERTY = None # 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..54da965e 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_PROPERTY = None # 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..33be402e 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_PROPERTY = None # 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..bcdbd3e7 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_PROPERTY = None # 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..ae31cb8e 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_PROPERTY = None # 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..0662a29c 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_PROPERTY = None # 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..b129fa4c 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_PROPERTY = None # 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..f656293b 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_PROPERTY = None # 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..680a2200 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_PROPERTY = None # 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..101b98a4 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_PROPERTY = None # 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..3ca03b2c 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_PROPERTY = None # 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..b8d399ff 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_PROPERTY = None # 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..4c8efab6 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_PROPERTY = None # 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..a0364695 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_PROPERTY = None # 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..fc9b1115 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_PROPERTY = None # 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..b85a3b00 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_PROPERTY = "name" # 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..828343e9 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_PROPERTY = None # 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..372a248d 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_PROPERTY = "name" # 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..d61dd8f5 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_PROPERTY = "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..9573604a 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_PROPERTY = "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..735cc990 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_PROPERTY = "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..e762730b 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_PROPERTY = "name" # 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..1fb1df1f 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_PROPERTY = "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..9973487d 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_PROPERTY = "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..2867cce4 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_PROPERTY = "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..6ec6c692 100644 --- a/fairgraph/queries.py +++ b/fairgraph/queries.py @@ -368,7 +368,17 @@ def serialize(self) -> Dict[str, Any]: return query -# todo: I think only one property can have "sort": True - need to check this +#: A generated query sorts on exactly one top-level property. Which property to use is decided +#: once, at build time: the generated openMINDS classes carry a ``SORT_PROPERTY`` class attribute +#: (see the builder's DEFAULT_SORT_PRIORITY / SORT_PRIORITY_EXCEPTIONS in update_openminds.py) +#: holding the camelCase schema name of the property to sort by, or ``None``. The Knowledge Graph +#: API allows ``"sort": true`` on only one property, and only at the root level. +def find_sort_property(query_properties, name): + """Return the top-level ``QueryProperty`` whose ``name`` matches, or ``None``.""" + for prop in query_properties: + if prop.name == 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..e65a1be7 100644 --- a/test/test_queries.py +++ b/test/test_queries.py @@ -521,6 +521,102 @@ 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. Which property is used is decided at build time and baked into each + generated class's SORT_PROPERTY attribute (see the builder's DEFAULT_SORT_PRIORITY / + 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_PROPERTY class attribute pins the build-time per-class decision. + + ParcellationEntity(-Version) sort by lookup_label so that terms from the same atlas stay + together, unlike every other class which sorts by name. This guards against the builder + regeneration silently reverting the override (see SORT_PRIORITY_EXCEPTIONS in + builder/update_openminds.py). SORT_PROPERTY is a single camelCase property name (or None), + decided once at build time, not a priority list. + """ + import fairgraph.openminds.v4.sands as v4sands + import fairgraph.openminds.v5.sands as v5sands + import fairgraph.openminds.v4.ephys as v4ephys + import fairgraph.openminds.v4.core as v4core + + assert v4sands.ParcellationEntity.SORT_PROPERTY == "lookupLabel" + assert v4sands.ParcellationEntityVersion.SORT_PROPERTY == "lookupLabel" + assert v5sands.ParcellationEntity.SORT_PROPERTY == "lookupLabel" + assert v5sands.ParcellationEntityVersion.SORT_PROPERTY == "lookupLabel" + # a class without an override uses the default: name first if present + assert v4ephys.Electrode.SORT_PROPERTY == "name" + # classes without a name-like property sort on their next-best property or None + assert v4core.Organization.SORT_PROPERTY == "fullName" + assert v4core.Person.SORT_PROPERTY == "familyName" + + +@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",