yodata-cli

0.2.3 • Public • Published

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)

Readme

Keywords

Package Sidebar

Install

npm i yodata-cli

Weekly Downloads

0

Version

0.2.3

License

MIT

Unpacked Size

35.6 kB

Total Files

22

Last publish

Collaborators

  • cvraghu
  • yodaveduran