The function map is an environment within which queries are run. Any
methods defined this class will be available to queries. As an extra
security measure, the public methods must be declared in the
__builtin_functions instance attribute list.
|
|
__init__(self,
p,
q,
gn)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
|
|
|
|
__getitem__(self,
key)
Look for a function called 'key' in p |
|
|
|
|
objects(self,
args)
Return the objects of all matched links |
|
|
|
|
subjects(self,
args)
Return the subjects of all matched links |
|
|
|
|
verbs(self,
args)
Return the verbs of all matched links |
|
|
|
|
unique(self,
args)
Return distinct neurons only |
|
|
|
|
ids(self,
args)
Return the 32 character ascii safe hex representation of all matched
neurons |
|
|
|
|
names(self,
args)
Return the names of all matched neurons |
|
|
|
|
count(self,
args)
Return a list containing the number of results |
|
|
|
|
sum(self,
args)
Return a list containing a single item: The total of all matching
memes. |
|
|
|
|
avg(self,
args)
Return a list containing a single item: The average of all matching
memes. |
|
|
|
|
select(self,
args)
Get a dictionary representation of a neuron's metadata. |
|
|
|
|
|
|
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|