Question: for ned stark's children, how many of them were born in winterfell?
Topic entities:
ned stark: m.03qs0n1
Winterfell: m.04sstyx
Logical form: (COUNT (AND fictional_universe.fictional_character (AND (JOIN (R fictional_universe.fictional_character.children) m.03qs0n1) (JOIN fictional_universe.fictional_character.place_of_birth m.04sstyx))))
Actions:
get_relations(m.03qs0n1)
get_neighbors(m.03qs0n1,fictional_universe.fictional_character.children)
get_relations(m.04sstyx)
get_neighbors(m.04sstyx,fictional_universe.fictional_setting.fictional_characters_born_here)
intersection(#0,#1)
count(#2)
Answer:
3