Message from discussion
[Cypher] Retrieve all nodes which are not related to a specific node
Received: by 10.180.86.227 with SMTP id s3mr2269045wiz.2.1336406646295;
Mon, 07 May 2012 09:04:06 -0700 (PDT)
X-BeenThere: neo4j@googlegroups.com
Received: by 10.180.103.138 with SMTP id fw10ls3558099wib.1.gmail; Mon, 07 May
2012 09:04:03 -0700 (PDT)
Received: by 10.180.98.129 with SMTP id ei1mr2269265wib.3.1336406643737;
Mon, 07 May 2012 09:04:03 -0700 (PDT)
Received: by 10.180.98.129 with SMTP id ei1mr2269264wib.3.1336406643721;
Mon, 07 May 2012 09:04:03 -0700 (PDT)
Return-Path: <marc.deverdel...@yahoo.com>
Received: from nm10-vm0.bullet.mail.ukl.yahoo.com (nm10-vm0.bullet.mail.ukl.yahoo.com. [217.146.183.242])
by gmr-mx.google.com with SMTP id dr4si3529068wib.3.2012.05.07.09.04.03;
Mon, 07 May 2012 09:04:03 -0700 (PDT)
Received-SPF: pass (google.com: best guess record for domain of marc.deverdel...@yahoo.com designates 217.146.183.242 as permitted sender) client-ip=217.146.183.242;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: best guess record for domain of marc.deverdel...@yahoo.com designates 217.146.183.242 as permitted sender) smtp.mail=marc.deverdel...@yahoo.com; dkim=pass (test mode) header...@yahoo.com
Received: from [217.146.183.180] by nm10.bullet.mail.ukl.yahoo.com with NNFMP; 07 May 2012 16:04:03 -0000
Received: from [217.146.183.25] by tm11.bullet.mail.ukl.yahoo.com with NNFMP; 07 May 2012 16:04:03 -0000
Received: from [127.0.0.1] by smtp156.mail.ukl.yahoo.com with NNFMP; 07 May 2012 16:04:03 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1336406643; bh=j9LnHrDbZ2evgKKV/29M+QVxhL73m5GIwtQ0GWfV58o=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Received:MIME-Version:Received:Received:Date:Message-ID:Subject:From:To:Content-Type; b=Fc2ZiakMBRtJ3UoyUR6LRfteosHXSgg1H8nYuy0diMYf/Ao0vQoSjL1DS1xsZyZObe6W0lYyNaR2MJGyLgiL7suQT906Kstpzn4P97ee6vky2DB3vf/SsAO2CfiRCzW2RcsSqKtBVbVGoQjmtOGDyZ/vaPNbvUBZoCLWQwVCPrk=
X-Yahoo-Newman-Id: 626961.72651...@smtp156.mail.ukl.yahoo.com
X-Yahoo-Newman-Property: ymail-3
X-YMail-OSG: h7LrST8VM1nRjW2OpmUSEuJgV_PNRRpRG3Oz4g.NCSvoojN
GoudC1lzreTSY70VPK7pIJgH6UR651whmnSKrlPHh.LajGiYmfcG7zSYR3r9
.GH0xrSB3OJWLXdDfbPAkctYrvhnHalrlE6nx7PpCJF03zcOKN6J2ccuBoyf
rSB3UIyiD35r68tNsLXT_f1ZZzE8WatF3F4zsokVxX_OQHNlsKhaNMKAt8r5
dQxrA3H8z6rmcvpDrwg5fKzUlytdFaLV1hYSp8eb1LMAaJbLFAZUjWKhotj_
Y_eSF4jQxjaxbepkHf6lg4NC8pcauD96SrTJNzxSPQgUC3F1u8DQsDhADVzM
s6xPi70S9tS8wrG4GyfS5mGBEuvzdOhVrcm8gBxr6krruL_EfXpJEGfpgc5Y
Ze2Kd3eqtxzvs.Wd5YHlgc63Rr7QA_GXZGpleRLJQHp7vgvjf7KJBFET3WCm
aALus4wcU3UBRoC7jNxlqL2rXV6ZO5ipB57OTlZrY3No-
X-Yahoo-SMTP: 0wxYOZOswBBneuixY2ePEvZYpBDkJ17Wkgz7huI-
Received: from mail-pb0-f47.google.com (marc.deverdel...@209.85.160.47 with plain)
by smtp156.mail.ukl.yahoo.com with SMTP; 07 May 2012 09:04:03 -0700 PDT
Received: by pbbrq2 with SMTP id rq2so6952408pbb.34
for <neo4j@googlegroups.com>; Mon, 07 May 2012 09:04:02 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.68.220.105 with SMTP id pv9mr10018713pbc.39.1336406642094;
Mon, 07 May 2012 09:04:02 -0700 (PDT)
Received: by 10.142.142.18 with HTTP; Mon, 7 May 2012 09:04:02 -0700 (PDT)
Date: Mon, 7 May 2012 18:04:02 +0200
Message-ID: <CAHTahabb8c0quYmfkaQ_DpSq_4hGLy-L9L0ckFHYQD2x_a3...@mail.gmail.com>
Subject: [Neo4j] [Cypher] Retrieve all nodes which are not related to a
specific node
From: Marc de Verdelhan <marc.deverdel...@yahoo.com>
To: neo4j@googlegroups.com
Content-Type: multipart/alternative; boundary=e89a8ff247cb2d70dd04bf746b7f
--e89a8ff247cb2d70dd04bf746b7f
Content-Type: text/plain; charset=ISO-8859-1
Hello,
I have the following graph: http://tinyurl.com/893tzu5
Then when I execute this query: START gp=node(6) MATCH
gp-[:B]->c<-[:B]-mp<-[:SW|G]-u WHERE u.name <> "u1" RETURN mp
... it returns p1 and p2.
Could you explain why I'm getting "p1"?
Or in other terms: I would like to remove p1 from these results because
this node is related to a node whose "name" property is "u1".
Cheers,
Marc
--e89a8ff247cb2d70dd04bf746b7f
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
<div>Hello,</div><div><br></div><div>I have the following graph: <a href=3D=
"http://tinyurl.com/893tzu5">http://tinyurl.com/893tzu5</a></div><div><br><=
/div><div>Then when I execute this query: START gp=3Dnode(6) MATCH gp-[:B]-=
>c<-[:B]-mp<-[:SW|G]-u WHERE <a href=3D"http://u.name">u.name</a> =
<> "u1" RETURN mp</div>
<div>... it returns p1 and p2.</div><div><br></div><div>Could you explain w=
hy I'm getting "p1"?</div><div>Or in other terms: I would lik=
e to remove p1 from these results because this node is related to a node wh=
ose "name" property is "u1".</div>
<div><br></div><div>Cheers,</div><div><br></div><div>Marc</div>
--e89a8ff247cb2d70dd04bf746b7f--