Question: How many television networks are owned by the agent whose total revenue is 31300000000 USD?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television network" . ?e_1 <owner_of> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "agent" . ?e_1 <total_revenue> ?pv . ?pv <pred:unit> "United States dollar" . ?pv <pred:value> "31300000000"^^xsd:double .   }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: total revenue
31300000000 United States dollar
=
function: FilterConcept
dependencies: 1
inputs: agent
function: Relate
dependencies: 2
inputs: owner of
forward
function: FilterConcept
dependencies: 3
inputs: television network
function: Count
dependencies: 4