Get started now
It's free and takes one minute!
usa = entity('united states of america')[0]
# build a set of entities
states = usa.property('state')[0].value()
# get properties related to income
props = states[0].property('income')
# use matrix to build a matrix
data = matrix(states, props)
from kemvi import *
# use entity to find entities
obama = entity('Barack Obama')
# use property to get properties
obama.property('vote on s2008-110').value()
# search semantically
entity('japan')[0] == entity('nippon')[0] # True
# Hop from entity to entity.
# Here, from a zipcode to its state to its median income.
entity('10027')[0].property('county')[0].value().property(
'state').property('median income').value()
# Another example
yes_votes = entity('patriot act')[0].property(
'voted yea')[0].value()
for congressman in yes_votes:
print congressman.property('religion')[0].value()
# Millions of entities
entity('harry reid') # People
entity('moscow') # Places
entity('economic stimulus') # Concepts
# and properties
oc = entity('orange county, ca')[0]
oc.property('theft') # Crime
oc.property('private school') # Education
oc.property('hotels') # Business
oc.property() # and much more.
# Use the active command line above to search for data!