HumanBrainProject / fairgraph

High-level Python API for the EBRAINS Knowledge Graph
Apache License 2.0
10 stars 6 forks source link

Partial fix for #92 #93

Closed apdavison closed 2 months ago

apdavison commented 2 months ago

Partially fixes the problem with reverse links described in #92.

The remaining broken cases are where some forward links to the same type have singular names and others plural.

Running builder/update_openminds.py gives

Multiple forward link names found: {'specifications', 'specification'}, using specification
Multiple forward link names found: {'digitalIdentifier', 'digitalIdentifiers'}, using digitalIdentifier
Multiple forward link names found: {'formats', 'format'}, using format
Multiple forward link names found: {'licenses', 'license'}, using license
Multiple forward link names found: {'specifications', 'specification'}, using specification
Multiple forward link names found: {'dataLocations', 'dataLocation'}, using dataLocation
Multiple forward link names found: {'origins', 'origin'}, using origin
Multiple forward link names found: {'ageCategories', 'ageCategory'}, using ageCategories
Multiple forward link names found: {'preparationDesigns', 'preparationDesign'}, using preparationDesign
Multiple forward link names found: {'origins', 'origin'}, using origin
Multiple forward link names found: {'origins', 'origin'}, using origin
Multiple forward link names found: {'biologicalSexes', 'biologicalSex'}, using biologicalSex
Multiple forward link names found: {'type', 'types'}, using type