data课程程序 写作、 辅导Python实验程序

” data课程程序 写作、 辅导Python实验程序HW Assignment 4 – Neo4J Graph DB Higgs BosonDue Sep 22 by 11:59pm Points 20 Submitting a text entry box or a file uploadSubmit AssignmentThe Higgs dataset has been built after monitoring the spreading processes on Twitter before, during andafter the announcement of the discovery of a new particle with the features of the elusive Higgs bosonon 4th July 2012.Here are the summary statistics on the twitter data as shown in the web site.Social Network StatisticsNodes 456626Edges 14855842Retweet Network statisticsNodes 256491Edges 328132Reply Network statisticsNodes 38918Edges 32523Mention Network statisticsNodes 116408Edges 150818I uploaded the above nodes and relationship data to the Neo4J Graph database accessible at the sameendpoint that you used for the neo4j sample program.The nodes use the label UserThe four relationship edges use the following Labels :Followers Social Network edge label Followsdata课程作业 写作、 辅导Python实验作业9/15/2020 HW Assignment 4 – Neo4J Graph DB Higgs Boson httpss://pacific.instructure.com/courses/64091/assignments/267472 2/3Retweet Network edge label RetweetsReply Network edge label ReplysMention Network edge label MentionsNow answer the following questions using Neo4J Graph queries. When executed your python programshould print the question and then print the answer to the question after that. You will need to submityour Python code and program output from print statements.1) your Python program as a .py file, and2) your programs output as a text outputFor the first three questions I have given you the queries given. Use these queries in your code, performthe neo4J query transactions and print the results. For questions 4 onwards build the queries and printthe results.1. How many total nodes with Label :User are there in the database? (1)match (:User) return count(*) as User_Count1. How many Social Network relationships are there in the database ? (1)match ()-[follows:Follows]-() return count(follows)1. How many Social Network followers does user 89805 have ? (1)match (follower)-[:Follows]-(:User{user:89805}) return count(follower)4. How many Total times did users in this network retweet ? (1)5. How many times did users in this network reply to other users tweets ? (1)6. How many times did users in this network mention other users in their tweets ? (1)7. How many users follow user 89805 ? (1)8. How many users does user 89805 follow ? (1)9. Did user 14907 ever retweet user 89805 ? (2)9/15/2020 HW Assignment 4 – Neo4J Graph DB Higgs Boson httpss://pacific.Instructure.com/courses/64091/assignments/267472 3/310. Did user 89805 ever retweet user 14907 ? (2)11. Find out the Top 5 users with the highest number of followers ? (3)12. What is the total count of followers of followers of user 89805 ? (3)13. Explore and find some interesting statistic from the data. Print out what you found. (2)Here is a good neo4j reference on the Cypher language. You can use it to learn simple and advancedqueries and operations on neo4j. httpss://neo4j.com/docs/cypher-refcard/current/ ( httpss://neo4j.com/docs/cypher-refcard/current/)如有需要,请加QQ:99515681 或邮箱:99515681@qq.com

添加老师微信回复‘’官网 辅导‘’获取专业老师帮助,或点击联系老师1对1在线指导