Closed syphax-bouazzouni closed 1 year ago
Done
Why is the json showing 2 properties "inScheme" and isInScheme" ? If only one is selected, then it should be "inScheme" which is called exactly as the one in the SKOS specification skos:inScheme
@jonquet There is an explanation of isInScheme
in my first comment. In summary isInScheme
is a calculated property that tells us in which scheme it's found in the current request. The inScheme
on the other hand is the SKOS property that contains all the schemes of a concept.
isInScheme
to isInActiveScheme
concept_scheme
the main_scheme is used and need to be added to 'isInActiveScheme'
Requirement
For the endpoints
/roots
,/children
and/tree
[x] If the requested resource is SKOS we need, to show the
skos:inScheme
for all its concepts[x] if the requested is SKOS and contain a concept_scheme parameter we need, to show for all its concepts, an array
isInScheme
containing the intersection ofconcept_scheme
andskos:inScheme
(to know in with scheme the concept is found)[x] Add tests
Deployment