Skip to content

Commit

Permalink
Merge pull request #141 from psychoinformatics-de/ddist
Browse files Browse the repository at this point in the history
Remove ResearchContributor class
  • Loading branch information
mih authored Mar 30, 2024
2 parents c7e682c + b0afa5e commit fa04b50
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 36 deletions.
17 changes: 4 additions & 13 deletions src/distribution/unreleased.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,11 @@ classes:
Person agents are people.
slots:
- address
- affiliation
- email
slot_usage:
affiliation:
multivalued: true
exact_mappings:
- foaf:Person
- prov:Person
Expand All @@ -819,19 +823,6 @@ classes:
- foaf:Organization
- prov:Organization

ResearchContributor:
class_uri: dldist:ResearchContributor
is_a: Person
description: >-
A person that has or could contribute to some research in any capacity.
slots:
- affiliation
slot_usage:
affiliation:
multivalued: true
broad_mappings:
- prov:Person

#
# entities
#
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
"schema_agency": "https://orcid.org"
}
],
"meta_type": "dldist:ResearchContributor",
"meta_type": "dldist:Person",
"name": "Allison Horst",
"same_as": [
"https://orcid.org/0000-0002-6047-5564"
Expand All @@ -180,7 +180,7 @@
"schema_agency": "https://orcid.org"
}
],
"meta_type": "dldist:ResearchContributor",
"meta_type": "dldist:Person",
"name": "Allison Hill",
"email": "[email protected]",
"affiliation": [
Expand All @@ -195,7 +195,7 @@
"schema_agency": "https://orcid.org"
}
],
"meta_type": "dldist:ResearchContributor",
"meta_type": "dldist:Person",
"name": "Kirsten Gorman",
"email": "[email protected]",
"affiliation": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ relation:
# namespace conflict would ever happen across dataset versions.
was_attributed_to:
- id: exthisds:#ahorst
meta_type: dldist:ResearchContributor
meta_type: dldist:Person
name: Allison Horst
email: [email protected]
identifier:
Expand All @@ -165,7 +165,7 @@ was_attributed_to:
same_as:
- https://orcid.org/0000-0002-6047-5564
- id: exthisds:#ahill
meta_type: dldist:ResearchContributor
meta_type: dldist:Person
name: Allison Hill
email: [email protected]
identifier:
Expand All @@ -174,7 +174,7 @@ was_attributed_to:
affiliation:
- exthisds:#Rstudio
- id: exthisds:#kgorman
meta_type: dldist:ResearchContributor
meta_type: dldist:Person
name: Kirsten Gorman
email: [email protected]
identifier:
Expand Down
16 changes: 8 additions & 8 deletions src/distribution/unreleased/examples/Publication-std.json
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@
"schema_agency": "http://orcid.org"
}
],
"meta_type": "dldist:ResearchContributor",
"meta_type": "dldist:Person",
"name": "Adina S. Wagner",
"email": "[email protected]",
"affiliation": [
Expand All @@ -309,7 +309,7 @@
"schema_agency": "http://orcid.org"
}
],
"meta_type": "dldist:ResearchContributor",
"meta_type": "dldist:Person",
"name": "Laura K. Waite",
"affiliation": [
"https://ror.org/02nv7yv05"
Expand All @@ -323,7 +323,7 @@
"schema_agency": "http://orcid.org"
}
],
"meta_type": "dldist:ResearchContributor",
"meta_type": "dldist:Person",
"name": "Małgorzata Wierzba",
"affiliation": [
"https://ror.org/04waf7p94"
Expand All @@ -337,7 +337,7 @@
"schema_agency": "http://orcid.org"
}
],
"meta_type": "dldist:ResearchContributor",
"meta_type": "dldist:Person",
"name": "Felix Hoffstaedter",
"affiliation": [
"https://ror.org/02nv7yv05"
Expand All @@ -351,7 +351,7 @@
"schema_agency": "http://orcid.org"
}
],
"meta_type": "dldist:ResearchContributor",
"meta_type": "dldist:Person",
"name": "Alexander Q. Waite",
"affiliation": [
"https://ror.org/02nv7yv05"
Expand All @@ -365,15 +365,15 @@
"schema_agency": "http://orcid.org"
}
],
"meta_type": "dldist:ResearchContributor",
"meta_type": "dldist:Person",
"name": "Benjamin Poldrack",
"affiliation": [
"https://ror.org/02nv7yv05"
]
},
{
"id": "https://www.nature.com/articles/s41597-022-01163-2#auth-Simon_B_-Eickhoff-Aff1-Aff3",
"meta_type": "dldist:ResearchContributor",
"meta_type": "dldist:Person",
"name": "Simon B. Eickhoff",
"same_as": [
"https://scholar.google.com/citations?user=wjpISMAAAAAJ"
Expand All @@ -391,7 +391,7 @@
"schema_agency": "http://orcid.org"
}
],
"meta_type": "dldist:ResearchContributor",
"meta_type": "dldist:Person",
"name": "Michael Hanke",
"affiliation": [
"https://ror.org/02nv7yv05",
Expand Down
16 changes: 8 additions & 8 deletions src/distribution/unreleased/examples/Publication-std.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ qualified_relation:
was_attributed_to:
# authors
- id: http://orcid.org/0000-0003-2917-3450
meta_type: dldist:ResearchContributor
meta_type: dldist:Person
name: Adina S. Wagner
email: [email protected]
identifier:
Expand All @@ -129,39 +129,39 @@ was_attributed_to:
affiliation:
- https://ror.org/02nv7yv05
- id: http://orcid.org/0000-0003-2213-7465
meta_type: dldist:ResearchContributor
meta_type: dldist:Person
name: Laura K. Waite
identifier:
- notation: 0000-0003-2213-7465
schema_agency: http://orcid.org
affiliation:
- https://ror.org/02nv7yv05
- id: http://orcid.org/0000-0003-0820-2662
meta_type: dldist:ResearchContributor
meta_type: dldist:Person
name: Małgorzata Wierzba
identifier:
- notation: 0000-0003-0820-2662
schema_agency: http://orcid.org
affiliation:
- https://ror.org/04waf7p94
- id: http://orcid.org/0000-0001-7163-3110
meta_type: dldist:ResearchContributor
meta_type: dldist:Person
name: Felix Hoffstaedter
identifier:
- notation: 0000-0001-7163-3110
schema_agency: http://orcid.org
affiliation:
- https://ror.org/02nv7yv05
- id: http://orcid.org/0000-0002-8402-6173
meta_type: dldist:ResearchContributor
meta_type: dldist:Person
name: Alexander Q. Waite
identifier:
- notation: 0000-0002-8402-6173
schema_agency: http://orcid.org
affiliation:
- https://ror.org/02nv7yv05
- id: http://orcid.org/0000-0001-7628-0801
meta_type: dldist:ResearchContributor
meta_type: dldist:Person
name: Benjamin Poldrack
identifier:
- notation: 0000-0001-7628-0801
Expand All @@ -170,15 +170,15 @@ was_attributed_to:
- https://ror.org/02nv7yv05
# identifier is publication scope, taken from publisher website
- id: https://www.nature.com/articles/s41597-022-01163-2#auth-Simon_B_-Eickhoff-Aff1-Aff3
meta_type: dldist:ResearchContributor
meta_type: dldist:Person
name: Simon B. Eickhoff
affiliation:
- https://ror.org/02nv7yv05
- https://ror.org/024z2rq82
same_as:
- https://scholar.google.com/citations?user=wjpISMAAAAAJ
- id: http://orcid.org/0000-0001-6398-6370
meta_type: dldist:ResearchContributor
meta_type: dldist:Person
name: Michael Hanke
identifier:
- notation: 0000-0001-6398-6370
Expand Down
2 changes: 1 addition & 1 deletion src/distribution/unreleased/extra-docs/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ TODO: how to declare relationships when no dedicated support for a particular ty
### Types

Properties that are used as containers to define related objects support the declaration of specific subtypes of the respective range-defining class.
For example, `was_attributed_to` accepts any `Agent`, but in a scientific context the specialized `ResearchContributor` class may be a more suitable type.
For example, `was_attributed_to` accepts any `Agent`, but specialized classes maybe be more suitable in particular contexts.
Such a derived class can be indicated via the `meta_type` property.
If declared, it is then used for data structure definition and validation for this particular record.

Expand Down

0 comments on commit fa04b50

Please sign in to comment.