yodata-cli
v0.2.3
Published
yodata command line interface
Downloads
6
Readme
Yodata CLI
Installation
npm install yodata-cli
Create Account
## Context CLI
```bash
# create a new context in mycontext from yodata:realestate
ctx clone yodata:realestate mycontext
# adding terms
ctx add <name> or <prefix:name>
ctx add Person # initial cap adds a Class term
ctx add givenName # lowercase adds a property term
ctx add schema:Person # imports an rdf:Class and all related terms (properties)
# removing terms
ctx rm Person --prune # remove terms and removes terms resulting orphans
# export term in json,yaml,jsonld,ttl,rdf
ctx show Person -output-format=(json,yaml,rdf,nt,nq,schema,graphql)