Source code for fairgraph.openminds.core.products.dataset

"""
Structured information on data originating from human/animal studies or simulations (concept level).
"""

# this file was auto-generated

from datetime import date, datetime
from fairgraph.base_v3 import KGObjectV3, IRI
from fairgraph.fields import Field




[docs]class Dataset(KGObjectV3): """ Structured information on data originating from human/animal studies or simulations (concept level). """ default_space = "dataset" type = ["https://openminds.ebrains.eu/core/Dataset"] context = { "schema": "http://schema.org/", "kg": "https://kg.ebrains.eu/api/instances/", "vocab": "https://openminds.ebrains.eu/vocab/", "terms": "https://openminds.ebrains.eu/controlledTerms/", "core": "https://openminds.ebrains.eu/core/" } fields = [ Field("authors", ["openminds.core.Organization", "openminds.core.Person"], "vocab:author", multiple=True, required=True, doc="Creator of a literary or creative work, as well as a dataset publication."), Field("digital_identifier", "openminds.core.DOI", "vocab:digitalIdentifier", multiple=False, required=False, doc="Digital handle to identify objects or legal persons."), Field("versions", "openminds.core.DatasetVersion", "vocab:hasVersion", multiple=True, required=True, doc="Reference to variants of an original."), Field("custodians", ["openminds.core.Organization", "openminds.core.Person"], "vocab:custodian", multiple=True, required=False, doc="Legal person entrusted with guarding and maintaining property or records."), Field("description", str, "vocab:description", multiple=False, required=True, doc="Longer statement or account giving the characteristics of the dataset."), Field("name", str, "vocab:fullName", multiple=False, required=True, doc="Whole, non-abbreviated name of the dataset."), Field("homepage", "openminds.core.URL", "vocab:homepage", multiple=False, required=False, doc="Main website of the dataset."), Field("how_to_cite", str, "vocab:howToCite", multiple=False, required=False, doc="Preferred format for citing a particular object or legal person."), Field("alias", str, "vocab:shortName", multiple=False, required=True, doc="Shortened or fully abbreviated name of the dataset."), ] existence_query_fields = ('alias',)