congress-graph

时间:2021-05-29 19:43:13
【文件属性】:
文件名称:congress-graph
文件大小:5KB
文件格式:ZIP
更新时间:2021-05-29 19:43:13
Ruby 注意:这只适用于 jruby,因为它使用 gem,它访问 neo4j java api。 ./bootstrap.sh ./run.sh neo4j-community-2.3.0-M02/bin/neo4j start 然后,尝试这些查询: 返回州名、性别名、在该州任职的性别数 MATCH (s:State)<-[:represents]-(t:Term)<-[:term]-(l:Legislator)-[:gender]->(g:Gender) RETURN s.name, g.name, count(g) as count order by count desc 返回政党名称、宗教名称、属于该宗教和该政党的立法者人数 MATCH (p:Party)<-[:party]-(t:Term)<-[:term]-(l:Legislator)-[:religion]->(r:Reli
【文件预览】:
congress-graph-master
----.gitignore(40B)
----data()
--------README.md(17B)
----congress-graph.rb(4KB)
----.ruby-version(6B)
----README.md(4KB)
----run.sh(148B)
----bootstrap.sh(371B)
----Gemfile(31B)
----Gemfile.lock(135B)

网友评论