Scenario:
A = all items.
B = a subset of A
C: Select all items from A NOT in B
and here’s my query:
CREATE QUERY GetConceptVoters_Available(vertex<Concept> inputConcept) FOR GRAPH wtapp syntax v2 {
Start = {inputConcept};
StartAllVoters = {Voter.*};
listA = SELECT s From StartAllVoters:s;
listB = SELECT t FROM Start:s-(Concept_Has_Voter>:e)-Voter:t;
listC =
SELECT t
FROM listA:t
WHERE t != listB;
PRINT listC;
}
Error: An undefined variable assigned in current scope
(referring to: "WHERE t != assigned;"
)
How do I compare the results from the two select statements to get “list C”?
Thank you.