Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Owl -> Jsonld automation script created. #19

Merged
merged 12 commits into from
Jul 9, 2021

Conversation

Purvanshsingh
Copy link
Member

Fixes #18

I have created a script vocab_generator.py using pyld & rdflib which can directly parse owl ontology to JSON-LD file which we required for the creation of ApiDoc.
jsonld to ApiDoc automation script was created in #17.
Now the complete automation flow will be

NonPerformingLoan.owl --> ( vocab_generator.py ) NonPerformingLoan.jsonld --> ( nplvocab_parser.py) ApiDoc.jsonld 

To generate the NonPerformingLoan.jsonld :

cd api_doc

python nplvocab_parser.py

The ApiDoc generated by the new script is tested with the postman. and all the tests are passing as well.

Screenshot from 2021-07-06 17-53-33

@Purvanshsingh Purvanshsingh merged commit 7769962 into HTTP-APIs:main Jul 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Automate ontology to josnld creation.
2 participants