Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 656 Bytes

README.md

File metadata and controls

31 lines (19 loc) · 656 Bytes

node.js module for netbase: a semantic Graph Database with wordnet, wikidata, freebase, csv, xml, ... import and export facilities.

Installation

stable release:

sudo npm install -g netbase

install development head:

sudo npm install -g git://github.com/pannous/node-netbase

Usage

netbase = require('netbase'),

netbase.setGerman()
merkel=netbase.get("Angela Merkel")
assert(merkel.Vorname="Angela")

show = netbase.show,
query = netbase.query;

netbase.import('wordnet')
result=netbase.query('opposite of bad')
show(result)