Skip to content

Instantly share code, notes, and snippets.

@vejvarm
Created May 9, 2024 05:30
Show Gist options
  • Save vejvarm/818c273846e957f1ff7734ec2ee3cbe7 to your computer and use it in GitHub Desktop.
Save vejvarm/818c273846e957f1ff7734ec2ee3cbe7 to your computer and use it in GitHub Desktop.
repl_var_names
MATCH (T1:ROOT__endowment)
MATCH (T2:ROOT__school)
WHERE (T2_school_name = 'Glenn')
RETURN DISTINCT count(DISTINCT T1.endowment__donator_name) AS aggregation_ T1.endowment__donator_name _106
SELECT DISTINCT (count(DISTINCT ?T1_donator_name) as ?aggregation_T1_donator_name_106 )
WHERE {?T1 a :endowment .
?T2 a :school .
?T1 endowment:SCHOOL_ID ?T2 .
?T1 endowment:donator_name ?T1_donator_name .
?T2 school:school_name ?T2_school_name .
FILTER(?T2_school_name = 'Glenn') .
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment