Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
04-08-2022 10:18 AM
I am trying to use the POLE dataset and list a few things but I am struggling to graph the outputs that I want and im just a bit confused on the documention.
I want to list all the crimes committed at "27 Maiden Close" as well as the Crimes listed at piccadilly and the count of those crimes.
04-08-2022 11:53 AM
I am not familiar with that dataset, but the structure of the query will look similar to the following. You can adapt to the specific data model. You will not be able list the crimes, as well as count them, as the count function needs to group over a collection of rows. You can collect the results in a list so you can get the total too. Assuming there is a ‘Crime’ node with a ‘location’ attribute, the following should work:
match(n:Crime)
where n.location = "27 Maiden Close” or n.location = “piccadilly”
return collect(n) as crimes, count(*) as cnt
04-09-2022 09:02 PM
Please send the link for your dataset download, so that I can answer your question correctly. Thanks
04-10-2022 09:27 AM
Hello Mr Genrleman
Is it a real dataset or a dummy dataset (for testing purposes only). And if it is a real dataset please use Data Anonymiser to avoid confusion for the Tester.So that he or she can use standard testing best practises.
Many thanks
Mr Sameer Sudhir G
04-10-2022 09:59 PM
Hope you know the meaning of POLE.
All the sessions of the conference are now available online