Question: how many contents about tv were produced by the producer of on the media?
Topic entities:
TV: m.03bty3x
On The Media: m.03d53lc
Logical form: (COUNT (AND broadcast.content (AND (JOIN (R broadcast.genre.content) m.03bty3x) (JOIN (R broadcast.producer.produces) (JOIN broadcast.producer.produces m.03d53lc)))))
Actions:
get_relations(m.03bty3x)
get_neighbors(m.03bty3x,broadcast.genre.content)
get_relations(m.03d53lc)
get_neighbors(m.03d53lc,broadcast.content.producer)
get_relations(#1)
get_neighbors(#1,broadcast.producer.produces)
intersection(#0,#2)
count(#3)
Answer:
3