Question: media tools ltd. owns how many active websites?
Topic entities:
Active: m.02hsn4g
Media Tools Ltd.: m.01285gc2
Logical form: (COUNT (AND internet.website (AND (JOIN internet.website.status m.02hsn4g) (JOIN (R internet.website_owner.websites_owned) m.01285gc2))))
Actions:
get_relations(m.02hsn4g)
get_neighbors(m.02hsn4g,internet.website_status.sites)
get_relations(m.01285gc2)
get_neighbors(m.01285gc2,internet.website_owner.websites_owned)
intersection(#0,#1)
count(#2)
Answer:
1