Extracts an ontology from an AtomicServer and saves it to a JSON file.
clone this repo, navigate to the directory and run:
deno task extract --in <input-url> --out <output-file>
example:
deno task extract --in https://atomicdata.dev/ontology/core --out ../my-projects/data/core.json
If you need to use an agent you can set the ATOMIC_AGENT
environment variable.
ATOMIC_AGENT=<my-agent-secret> deno task extract --in <input-url> --out <output-file>