Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/THUDM/AgentBench
/ count_function
Function
count_function
src/server/tasks/knowledgegraph/utils/logic_form_util.py:324–325 ·
view source on GitHub ↗
(G, start)
Source
from the content-addressed store, hash-verified
322
323
324
def
count_function(G, start):
325
return
'(COUNT '
+ none_function(G, start) +
')'
326
327
328
def
none_function(G, start, arg_node=None, type_constraint=True):
# type_constraint is false for WebQSP
Callers
1
get_lisp_from_graph_query
Function · 0.85
Calls
1
none_function
Function · 0.85
Tested by
no test coverage detected