CREATE QUERY Select_Agents(vertex<InteractionResourceFact> InputInteractionResourceFact) FOR GRAPH Example {
SetAccum<vertex> @@transfercount;
int transfercount;
Start = {InputInteractionResourceFact.*};
InterestingAgent = SELECT s
FROM Start:s-(HAS_RESOURCE:e)-Resource:t
WHERE TechnicalDescriptor.technicalResult == "TRANSFERRED";
(Syntax error) ACCUM @@transfercount = Start.outdegree(e.HAS_TECHNICAL_RESULT);
PRINT transfercount;
}
Drop the semi-colon after “TRANSFERRED”