Thanks a ton Craig!!

That was a cooked up example to enlist the clique of size-3. Since the 
movie data set has only two types namely Person and Movie, I wanted to add 
a third type and so added 'Theater'. Since I wanted a clique of size-3 from 
graph, I have made a way (perhaps illogical) to connect Person-to-Theater. 
May be it could be "there is a relationship between an actor node and a 
theater node if maximum collections for a movie in a single theater in 
actor's career is from that theater". The query I have mentioned does the 
work for me in this case :) 

Now I have one more question. Can I see the way how my query is being 
executed? In my case say if there are four different types (one more in 
addition to existing Person, Theater, Movie) and if I wish to find a clique 
of size-4, I have two options: 1) Pose query like the way I have done for 
size-3 clique (needs C(4,2) = 6 matches in MATCH portion) 2) Somehow use 
the information of enumerated size-3 cliques. My point is "A size-4 clique 
must have a size-3 clique in it". Is there a better way I can use this info 
of previously computed cliques of lower size? Can you give me any 
suggestions regarding this? 

Please let me know if I am not clear in my question. Thanks a lot once 
again.

P.S.: I have seen some posts where people mentioned there is going to be a 
big revamp of Neo4j-Spatial. When can we expect that?

On Tuesday, 12 August 2014 20:00:01 UTC+5:30, Mohana Krishna wrote:
>
> Hello,
>
> I have loaded the spatial data in the attached file using REST API script 
> (which is also attached). The nodes are created and I can visualize them on 
> DB. 
>
> However when I perform the query 
>
> "START n=node:geom('withinDistance:[41.8082, -87.7084, 10.0]') RETURN n" 
> in CYPHER window , I am getting "Unknown Error" as result.
>
> Please help.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to