ontoportal-lirmm / ontologies_linked_data

Models and serializers for ontologies and related artifacts backed by 4store
Other
0 stars 7 forks source link

add :inScheme and :isInScheme attributes #43

Closed syphax-bouazzouni closed 1 year ago

syphax-bouazzouni commented 2 years ago

Requirement

For the endpoints/roots, /children and /tree

Deployment

syphax-bouazzouni commented 2 years ago

Done

For '/roots'

Image

For '/children'

Image

For '/tree'

Image

jonquet commented 2 years ago

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

syphax-bouazzouni commented 2 years ago

@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.

syphax-bouazzouni commented 2 years ago

New Todos