Newer
Older
web-services / loterre-resolvers / v1 / P66 / expand.ini
@Nicolas Thouvenin Nicolas Thouvenin on 2 Dec 2022 22 KB fix: default value
# OpenAPI Documentation - JSON format (dot notation)
post.operationId = post-v1-P66-expand
post.description = Associer des termes au vocabulaire Loterre correspondant - https://skosmos.loterre.fr/P66/fr/
post.summary = verbalisation à partir d'un tableau d'objets avec à minima un champ value contenant des termes
post.responses.default.description = Return all objects with enrich fields
post.responses.default.content.application/json.schema.$ref =  #/components/schemas/JSONStream
post.tags.0 = loterre-resolvers
post.requestBody.content.application/json.example.0.value = Amygdala
post.requestBody.content.application/json.example.1.value = Frontal lobe
post.requestBody.content.application/json.example.2.value = metamemory
post.responses.default.content.application/json.example.0.value.id = amygdala
post.responses.default.content.application/json.example.0.value.value.rdf$about = http://data.loterre.fr/ark:/67375/P66-W52CFWZ4-9
post.responses.default.content.application/json.example.0.value.value.dc$creator/$t = Frank Arnould
post.responses.default.content.application/json.example.0.value.value.dcterms$bibliographicCitation.0.$t = AbuHasan, Q., Reddy, V., & Siddiqui, W. (2022). Neuroanatomy, Amygdala. In StatPearls. StatPearls Publishing. http://www.ncbi.nlm.nih.gov/books/NBK537102/
post.responses.default.content.application/json.example.0.value.value.dcterms$bibliographicCitation.1.$t = McGaugh, J. L., Cahill, L., & Roozendaal, B. (1996). Involvement of the amygdala in memory storage: Interaction with other brain systems. Proceedings of the National Academy of Sciences, 93(24), 13508–13514. doi:10.1073/pnas.93.24.13508
post.responses.default.content.application/json.example.0.value.value.dcterms$bibliographicCitation.2.$t = Phelps, E. A. (2004). Human emotion and memory: Interactions of the amygdala and hippocampal complex. Current Opinion in Neurobiology, 14(2), 198–202. doi:10.1016/j.conb.2004.03.015
post.responses.default.content.application/json.example.0.value.value.dcterms$bibliographicCitation.3.$t = Ressler, R. L., & Maren, S. (2019). Synaptic encoding of fear memories in the amygdala. Current Opinion in Neurobiology, 54, 54–59. doi:10.1016/j.conb.2018.08.012
post.responses.default.content.application/json.example.0.value.value.dcterms$bibliographicCitation.4.$t = Roozendaal, B., McEwen, B. S., & Chattarji, S. (2009). Stress, memory and the amygdala. Nature Reviews Neuroscience, 10(6), 423–433. doi:10.1038/nrn2651
post.responses.default.content.application/json.example.0.value.value.dcterms$created/rdf$datatype = http://www.w3.org/2001/XMLSchema#date
post.responses.default.content.application/json.example.0.value.value.dcterms$created/$t = 2017-12-04
post.responses.default.content.application/json.example.0.value.value.dcterms$modified/rdf$datatype = http://www.w3.org/2001/XMLSchema#date
post.responses.default.content.application/json.example.0.value.value.dcterms$modified/$t = 2022-03-28
post.responses.default.content.application/json.example.0.value.value.skos$altLabel.0.xml$lang = en
post.responses.default.content.application/json.example.0.value.value.skos$altLabel.0.$t = amygdaloid body
post.responses.default.content.application/json.example.0.value.value.skos$altLabel.1.xml$lang = en
post.responses.default.content.application/json.example.0.value.value.skos$altLabel.1.$t = amygdaloid complex
post.responses.default.content.application/json.example.0.value.value.skos$altLabel.2.xml$lang = en
post.responses.default.content.application/json.example.0.value.value.skos$altLabel.2.$t = amygdaloid nuclear complex
post.responses.default.content.application/json.example.0.value.value.skos$altLabel.3.xml$lang = en
post.responses.default.content.application/json.example.0.value.value.skos$altLabel.3.$t = amygdaloid nuclear groups
post.responses.default.content.application/json.example.0.value.value.skos$altLabel.4.xml$lang = en
post.responses.default.content.application/json.example.0.value.value.skos$altLabel.4.$t = amygdaloid nucleus
post.responses.default.content.application/json.example.0.value.value.skos$altLabel.5.xml$lang = en
post.responses.default.content.application/json.example.0.value.value.skos$altLabel.5.$t = archistriatum
post.responses.default.content.application/json.example.0.value.value.skos$altLabel.6.xml$lang = fr
post.responses.default.content.application/json.example.0.value.value.skos$altLabel.6.$t = complexe amygdalien
post.responses.default.content.application/json.example.0.value.value.skos$altLabel.7.xml$lang = fr
post.responses.default.content.application/json.example.0.value.value.skos$altLabel.7.$t = corps amygdaloïde
post.responses.default.content.application/json.example.0.value.value.skos$altLabel.8.xml$lang = fr
post.responses.default.content.application/json.example.0.value.value.skos$altLabel.8.$t = noyau amygdalien
post.responses.default.content.application/json.example.0.value.value.skos$definition.0.xml$lang = en
post.responses.default.content.application/json.example.0.value.value.skos$definition.0.$t = An almond-shaped structure in the medial temporal lobe, formed by many nuclei, involved in emotional memory.
post.responses.default.content.application/json.example.0.value.value.skos$definition.1.xml$lang = fr
post.responses.default.content.application/json.example.0.value.value.skos$definition.1.$t = Structure du lobe temporal médian, en forme d'amande et composée de plusieurs noyaux. Elle est impliquée dans la mémoire émotionnelle.
post.responses.default.content.application/json.example.0.value.value.skos$hiddenLabel.0.xml$lang = en
post.responses.default.content.application/json.example.0.value.value.skos$hiddenLabel.0.$t = amygdalae
post.responses.default.content.application/json.example.0.value.value.skos$hiddenLabel.1.xml$lang = en
post.responses.default.content.application/json.example.0.value.value.skos$hiddenLabel.1.$t = amygdalas
post.responses.default.content.application/json.example.0.value.value.skos$hiddenLabel.2.xml$lang = fr
post.responses.default.content.application/json.example.0.value.value.skos$hiddenLabel.2.$t = amygdales
post.responses.default.content.application/json.example.0.value.value.skos$hiddenLabel.3.xml$lang = en
post.responses.default.content.application/json.example.0.value.value.skos$hiddenLabel.3.$t = amygdaloid nuclei
post.responses.default.content.application/json.example.0.value.value.skos$hiddenLabel.4.xml$lang = fr
post.responses.default.content.application/json.example.0.value.value.skos$hiddenLabel.4.$t = noyaux amygdaliens
post.responses.default.content.application/json.example.0.value.value.skos$prefLabel.0.xml$lang = en
post.responses.default.content.application/json.example.0.value.value.skos$prefLabel.0.$t = amygdala
post.responses.default.content.application/json.example.0.value.value.skos$prefLabel.1.xml$lang = fr
post.responses.default.content.application/json.example.0.value.value.skos$prefLabel.1.$t = amygdale
post.responses.default.content.application/json.example.0.value.value.skos$inScheme/rdf$resource = http://data.loterre.fr/ark:/67375/P66
post.responses.default.content.application/json.example.0.value.value.skos$exactMatch.0.rdf$resource = http://data.loterre.fr/ark:/67375/JVR/M0001044
post.responses.default.content.application/json.example.0.value.value.skos$exactMatch.1.rdf$resource = http://purl.obolibrary.org/obo/UBERON_0001876
post.responses.default.content.application/json.example.0.value.value.skos$exactMatch.2.rdf$resource = http://purl.org/sig/ont/fma/fma61841
post.responses.default.content.application/json.example.0.value.value.skos$exactMatch.3.rdf$resource = http://scholarpedia.org/article/Amygdala
post.responses.default.content.application/json.example.0.value.value.skos$exactMatch.4.rdf$resource = https://en.wikipedia.org/wiki/Amygdala
post.responses.default.content.application/json.example.0.value.value.skos$exactMatch.5.rdf$resource = https://fr.wikipedia.org/wiki/Amygdale_(cerveau)
post.responses.default.content.application/json.example.0.value.value.skos$exactMatch.6.rdf$resource = https://www.wikidata.org/wiki/Q338924
post.responses.default.content.application/json.example.0.value.value.skos$broader/rdf$resource = http://data.loterre.fr/ark:/67375/P66-D445NRM4-5
post.responses.default.content.application/json.example.0.value.value.skos$related.0.rdf$resource = http://data.loterre.fr/ark:/67375/P66-CVKSXP7H-H
post.responses.default.content.application/json.example.0.value.value.skos$related.1.rdf$resource = http://data.loterre.fr/ark:/67375/P66-G4T4V894-V
post.responses.default.content.application/json.example.0.value.value.skos$related.2.rdf$resource = http://data.loterre.fr/ark:/67375/P66-J6P7BVWC-2
post.responses.default.content.application/json.example.0.value.value.skos$related.3.rdf$resource = http://data.loterre.fr/ark:/67375/P66-VSZT26MD-V
post.responses.default.content.application/json.example.0.value.value.skos$related.4.rdf$resource = http://data.loterre.fr/ark:/67375/P66-X4ZVD1JP-3
post.responses.default.content.application/json.example.0.value.value.localization.0.rdf$about = http://data.loterre.fr/ark:/67375/P66-D445NRM4-5
post.responses.default.content.application/json.example.0.value.value.localization.0.skos$prefLabel.0.xml$lang = fr
post.responses.default.content.application/json.example.0.value.value.localization.0.skos$prefLabel.0.$t = lobe temporal médian
post.responses.default.content.application/json.example.0.value.value.localization.0.skos$prefLabel.1.xml$lang = en
post.responses.default.content.application/json.example.0.value.value.localization.0.skos$prefLabel.1.$t = medial temporal lobe
post.responses.default.content.application/json.example.1.value.id = frontallobe
post.responses.default.content.application/json.example.1.value.value.rdf$about = http://data.loterre.fr/ark:/67375/P66-KHRWNS4W-Q
post.responses.default.content.application/json.example.1.value.value.dc$creator/$t = Frank Arnould
post.responses.default.content.application/json.example.1.value.value.dcterms$created/rdf$datatype = http://www.w3.org/2001/XMLSchema#date
post.responses.default.content.application/json.example.1.value.value.dcterms$created/$t = 2018-08-03
post.responses.default.content.application/json.example.1.value.value.dcterms$modified/rdf$datatype = http://www.w3.org/2001/XMLSchema#date
post.responses.default.content.application/json.example.1.value.value.dcterms$modified/$t = 2022-03-30
post.responses.default.content.application/json.example.1.value.value.skos$altLabel.0.xml$lang = fr
post.responses.default.content.application/json.example.1.value.value.skos$altLabel.0.$t = cortex frontal
post.responses.default.content.application/json.example.1.value.value.skos$altLabel.1.xml$lang = en
post.responses.default.content.application/json.example.1.value.value.skos$altLabel.1.$t = frontal cortex
post.responses.default.content.application/json.example.1.value.value.skos$altLabel.2.xml$lang = en
post.responses.default.content.application/json.example.1.value.value.skos$altLabel.2.$t = frontal region
post.responses.default.content.application/json.example.1.value.value.skos$altLabel.3.xml$lang = fr
post.responses.default.content.application/json.example.1.value.value.skos$altLabel.3.$t = région frontale
post.responses.default.content.application/json.example.1.value.value.skos$definition.0.xml$lang = en
post.responses.default.content.application/json.example.1.value.value.skos$definition.0.$t = Lobe located at the front of the cerebrum.
post.responses.default.content.application/json.example.1.value.value.skos$definition.1.xml$lang = fr
post.responses.default.content.application/json.example.1.value.value.skos$definition.1.$t = Lobe situé à l'avant du cerveau.
post.responses.default.content.application/json.example.1.value.value.skos$hiddenLabel.0.xml$lang = en
post.responses.default.content.application/json.example.1.value.value.skos$hiddenLabel.0.$t = frontal lobes
post.responses.default.content.application/json.example.1.value.value.skos$hiddenLabel.1.xml$lang = en
post.responses.default.content.application/json.example.1.value.value.skos$hiddenLabel.1.$t = frontal regions
post.responses.default.content.application/json.example.1.value.value.skos$hiddenLabel.2.xml$lang = fr
post.responses.default.content.application/json.example.1.value.value.skos$hiddenLabel.2.$t = lobes frontaux
post.responses.default.content.application/json.example.1.value.value.skos$hiddenLabel.3.xml$lang = fr
post.responses.default.content.application/json.example.1.value.value.skos$hiddenLabel.3.$t = régions frontales
post.responses.default.content.application/json.example.1.value.value.skos$prefLabel.0.xml$lang = en
post.responses.default.content.application/json.example.1.value.value.skos$prefLabel.0.$t = frontal lobe
post.responses.default.content.application/json.example.1.value.value.skos$prefLabel.1.xml$lang = fr
post.responses.default.content.application/json.example.1.value.value.skos$prefLabel.1.$t = lobe frontal
post.responses.default.content.application/json.example.1.value.value.skos$inScheme/rdf$resource = http://data.loterre.fr/ark:/67375/P66
post.responses.default.content.application/json.example.1.value.value.skos$exactMatch.0.rdf$resource = http://data.loterre.fr/ark:/67375/JVR/M0008848
post.responses.default.content.application/json.example.1.value.value.skos$exactMatch.1.rdf$resource = http://purl.obolibrary.org/obo/UBERON_0005838
post.responses.default.content.application/json.example.1.value.value.skos$exactMatch.2.rdf$resource = http://purl.obolibrary.org/obo/UBERON_0016525
post.responses.default.content.application/json.example.1.value.value.skos$exactMatch.3.rdf$resource = http://purl.org/sig/ont/fma/fma61824
post.responses.default.content.application/json.example.1.value.value.skos$exactMatch.4.rdf$resource = https://en.wikipedia.org/wiki/Frontal_lobe
post.responses.default.content.application/json.example.1.value.value.skos$exactMatch.5.rdf$resource = https://fr.wikipedia.org/wiki/Lobe_frontal
post.responses.default.content.application/json.example.1.value.value.skos$exactMatch.6.rdf$resource = https://www.wikidata.org/wiki/Q749520
post.responses.default.content.application/json.example.1.value.value.skos$broader/rdf$resource = http://data.loterre.fr/ark:/67375/P66-J7P6ZTDT-6
post.responses.default.content.application/json.example.1.value.value.skos$narrower/rdf$resource = http://data.loterre.fr/ark:/67375/P66-PLLK6NVV-Z
post.responses.default.content.application/json.example.1.value.value.skos$related.0.rdf$resource = http://data.loterre.fr/ark:/67375/P66-DS4GQ28N-J
post.responses.default.content.application/json.example.1.value.value.skos$related.1.rdf$resource = http://data.loterre.fr/ark:/67375/P66-S1P5HN7D-Z
post.responses.default.content.application/json.example.1.value.value.skos$related.2.rdf$resource = http://data.loterre.fr/ark:/67375/P66-XJ333KQF-6
post.responses.default.content.application/json.example.1.value.value.localization.0.rdf$about = http://data.loterre.fr/ark:/67375/P66-J7P6ZTDT-6
post.responses.default.content.application/json.example.1.value.value.localization.0.skos$prefLabel.0.xml$lang = en
post.responses.default.content.application/json.example.1.value.value.localization.0.skos$prefLabel.0.$t = brain lobe
post.responses.default.content.application/json.example.1.value.value.localization.0.skos$prefLabel.1.xml$lang = fr
post.responses.default.content.application/json.example.1.value.value.localization.0.skos$prefLabel.1.$t = lobe cérébral
post.responses.default.content.application/json.example.2.value.id = metamemory
post.responses.default.content.application/json.example.2.value.value.rdf$about = http://data.loterre.fr/ark:/67375/P66-RGFWPLNW-K
post.responses.default.content.application/json.example.2.value.value.dc$creator/$t = Frank Arnould
post.responses.default.content.application/json.example.2.value.value.dcterms$bibliographicCitation.0.$t = Dunlosky, J., & Bjork, R. A. (Eds.). (2013). Handbook of Metamemory and Memory. Psychology Press.
post.responses.default.content.application/json.example.2.value.value.dcterms$bibliographicCitation.1.$t = Dunlosky, J., & Tauber, S. (Eds.). (2016). The Oxford handbook of metamemory. Oxford University Press.
post.responses.default.content.application/json.example.2.value.value.dcterms$bibliographicCitation.2.$t = Flavell, J. H. (1971). First discussant’s comments: What is memory development the development of? Human Development, 14(4), 272–278. doi:10.1159/000271221
post.responses.default.content.application/json.example.2.value.value.dcterms$bibliographicCitation.3.$t = Le Berre, A.-P., Eustache, F., & Beaunieux, H. (2009). La métamémoire : théorie et clinique. Revue de neuropsychologie, 1(4), 312–320. doi:10.3917/rne.014.0312
post.responses.default.content.application/json.example.2.value.value.dcterms$created/rdf$datatype = http://www.w3.org/2001/XMLSchema#date
post.responses.default.content.application/json.example.2.value.value.dcterms$created/$t = 2017-12-04
post.responses.default.content.application/json.example.2.value.value.dcterms$modified/rdf$datatype = http://www.w3.org/2001/XMLSchema#date
post.responses.default.content.application/json.example.2.value.value.dcterms$modified/$t = 2022-04-29
post.responses.default.content.application/json.example.2.value.value.skos$definition.0.xml$lang = fr
post.responses.default.content.application/json.example.2.value.value.skos$definition.0.$t = La métamémoire concerne 1) les connaissances que possède une personne sur la mémoire en général et sur sa mémoire en particulier et 2) les processus de surveillance (monitoring) et de contrôle de sa mémoire pendant la réalisation d'une tâche mnésique.
post.responses.default.content.application/json.example.2.value.value.skos$definition.1.xml$lang = en
post.responses.default.content.application/json.example.2.value.value.skos$definition.1.$t = Metamemory is 1) the knowledge that a person has about memory in general and about his /her memory in particular and 2) the monitoring and control processes during a memory task.
post.responses.default.content.application/json.example.2.value.value.skos$hiddenLabel.0.xml$lang = en
post.responses.default.content.application/json.example.2.value.value.skos$hiddenLabel.0.$t = meta-memory
post.responses.default.content.application/json.example.2.value.value.skos$hiddenLabel.1.xml$lang = en
post.responses.default.content.application/json.example.2.value.value.skos$hiddenLabel.1.$t = metamemorial
post.responses.default.content.application/json.example.2.value.value.skos$prefLabel.0.xml$lang = en
post.responses.default.content.application/json.example.2.value.value.skos$prefLabel.0.$t = metamemory
post.responses.default.content.application/json.example.2.value.value.skos$prefLabel.1.xml$lang = fr
post.responses.default.content.application/json.example.2.value.value.skos$prefLabel.1.$t = métamémoire
post.responses.default.content.application/json.example.2.value.value.skos$inScheme/rdf$resource = http://data.loterre.fr/ark:/67375/P66
post.responses.default.content.application/json.example.2.value.value.skos$exactMatch.0.rdf$resource = http://data.loterre.fr/ark:/67375/JVR/M000599742
post.responses.default.content.application/json.example.2.value.value.skos$exactMatch.1.rdf$resource = https://en.wikipedia.org/wiki/Metamemory
post.responses.default.content.application/json.example.2.value.value.skos$exactMatch.2.rdf$resource = https://www.cognitiveatlas.org/concept/id/trm_4a3fd79d0b94f
post.responses.default.content.application/json.example.2.value.value.skos$exactMatch.3.rdf$resource = https://www.wikidata.org/wiki/Q6822984
post.responses.default.content.application/json.example.2.value.value.inist$isMeasuredBy.0.rdf$resource = http://data.loterre.fr/ark:/67375/P66-BGQF72PC-L
post.responses.default.content.application/json.example.2.value.value.inist$isMeasuredBy.1.rdf$resource = http://data.loterre.fr/ark:/67375/P66-K67VTJLD-W
post.responses.default.content.application/json.example.2.value.value.inist$isMeasuredBy.2.rdf$resource = http://data.loterre.fr/ark:/67375/P66-DFH3S91P-S
post.responses.default.content.application/json.example.2.value.value.inist$isMeasuredBy.3.rdf$resource = http://data.loterre.fr/ark:/67375/P66-BSB0W4RP-6
post.responses.default.content.application/json.example.2.value.value.skos$broader/rdf$resource = http://data.loterre.fr/ark:/67375/P66-P3PC7CZ3-D
post.responses.default.content.application/json.example.2.value.value.skos$narrower.0.rdf$resource = http://data.loterre.fr/ark:/67375/P66-WM9BNKJ9-8
post.responses.default.content.application/json.example.2.value.value.skos$narrower.1.rdf$resource = http://data.loterre.fr/ark:/67375/P66-XNPMCKS4-S
post.responses.default.content.application/json.example.2.value.value.skos$related/rdf$resource = http://data.loterre.fr/ark:/67375/P66-QZXRZM22-5
post.responses.default.content.application/json.example.2.value.value.localization.0.rdf$about = http://data.loterre.fr/ark:/67375/P66-P3PC7CZ3-D
post.responses.default.content.application/json.example.2.value.value.localization.0.skos$prefLabel.0.xml$lang = en
post.responses.default.content.application/json.example.2.value.value.localization.0.skos$prefLabel.0.$t = memory
post.responses.default.content.application/json.example.2.value.value.localization.0.skos$prefLabel.1.xml$lang = fr
post.responses.default.content.application/json.example.2.value.value.localization.0.skos$prefLabel.1.$t = mémoire
post.responses.default.content.application/json.schema.$ref =  #/components/schemas/JSONStream
post.responses.default.description = Les concept SKOS en JSON
post.parameters.0.in = query
post.parameters.0.name = indent
post.parameters.0.schema.type = boolean
post.parameters.0.description = Indent or not the JSON Result

[env]
path = primer
value = https://inist-wsdata.dboard.inist.fr/loterre-resolvers-memoire.xml

path = weekNumber
value = thru(() => new Date()).thru(currentDate => Math.floor((currentDate - (new Date(currentDate.getFullYear(), 0, 1)))/(24 * 60 * 60 * 1000))).thru(days => Math.ceil(days / 7))

# Necessary plugins
[use]
plugin = basics
plugin = analytics
plugin = storage

# Flow configuration
[JSONParse]
separator = *

[expand]
path = value
size = 1
cacheName = env('weekNumber').prepend('post-v1-P66-expand-week')

[expand/assign]
path = value
value = fix(_.deburr(String(self.value).replace(/[`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/\s]/g, '').toLowerCase()))

[expand/combine]
path = value
primer = env('primer')
file = ./v1/combine.ini
cacheName = env('weekNumber').prepend('post-v1-P66-combine-week')

[expand/remove]
test = get('value.value').isString()

[expand/replace]
path = id
value = get('id')
path = value
value = get('value.value')

; Pour les documents sans résulat, on donne une valeur par défaut
[swing]
test = get('value.rdf$about').isEmpty()
[swing/assign]
path = value
value = fix('n/a')

[dump]
indent = env('indent', false)