You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Question:
What is the process used for converting the JSON output from the metadata/user endpoint in the Metadata Extractor into a JSON-LD file in Bioschema format that can be used as input in the FAIRsoft evaluator?
Description and Context:
I am investigating programmatically using the FAIRsoft evaluator and would like to understand the specific steps or logic used to transform JSON output into a compliant JSON-LD file that adheres to the Bioschema format. Understanding this process will help ensure my integration of metadata follows best practices and is aligned with the tool’s intended usage.
Attempts:
I have reviewed this repository and also explored the Node-API repository on GitLab for any relevant endpoints or code that handles this conversion but have not yet found a detailed explanation or working solution.
Additional Context:
Any specific code references, guidelines, or examples of converting the JSON output from the metadata/user endpoint to JSON-LD and then inputting this in the FAIRsoft evaluator would be very helpful.
The text was updated successfully, but these errors were encountered:
The code responsible for the conversion is here: makejson.py. It performs a mapping of attributes for the conversion.
As for an endpoint, the front end currently uses POST /tools/jsonld (see code). This endpoint expects metadata in a slightly different format than '/metadata/user', due to additional indexing on the front end.
If you need to convert metadata to maSMP (which includes properties from schema.org, Bioschemas, etc.) programmatically, I can easily adapt the /tools/jsonld endpoint by adding a parameter to handle this.
Question:
What is the process used for converting the JSON output from the
metadata/user
endpoint in the Metadata Extractor into a JSON-LD file in Bioschema format that can be used as input in the FAIRsoft evaluator?Description and Context:
I am investigating programmatically using the FAIRsoft evaluator and would like to understand the specific steps or logic used to transform JSON output into a compliant JSON-LD file that adheres to the Bioschema format. Understanding this process will help ensure my integration of metadata follows best practices and is aligned with the tool’s intended usage.
Attempts:
I have reviewed this repository and also explored the Node-API repository on GitLab for any relevant endpoints or code that handles this conversion but have not yet found a detailed explanation or working solution.
Additional Context:
Any specific code references, guidelines, or examples of converting the JSON output from the
metadata/user
endpoint to JSON-LD and then inputting this in the FAIRsoft evaluator would be very helpful.The text was updated successfully, but these errors were encountered: