Question: How many industries are associated with the saint domain of Mars (the one that is the origin of the name March) or developed by Microsoft whose operating income is 24098000000 USD ?
Choices:
1
2
3
4
5
6
7
8
9
10
Program:
function: Find
inputs: March
function: Relate
dependencies: 0
inputs: named after
forward
function: Find
inputs: Mars
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: domain of saint or deity
forward
function: FilterConcept
dependencies: 4
inputs: industry
function: Find
inputs: Microsoft
function: FilterNum
dependencies: 6
inputs: operating income
24098000000 United States dollar
=
function: Relate
dependencies: 7
inputs: developer
backward
function: FilterConcept
dependencies: 8
inputs: industry
function: Or
dependencies: 5
9
function: Count
dependencies: 10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "industry" .  { ?e_1 <domain_of_saint_or_deity> ?e . ?e_1 <pred:name> "Mars" . ?e_2 <named_after> ?e_1 . ?e_2 <pred:name> "March" .  } UNION { ?e <developer> ?e_1 . ?e_1 <pred:name> "Microsoft" . ?e_1 <operating_income> ?pv . ?pv <pred:unit> "United States dollar" . ?pv <pred:value> "24098000000"^^xsd:double .  } }
Answer: 5