Question: How many social sciences are a component of social science or have the Yahoo Answers category 396545303?
Choices:
4
5
6
7
8
9
10
11
12
13
Answer: 4
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "social science" .  { ?e_1 <has_part> ?e . ?e_1 <pred:name> "social science" .  } UNION { ?e <Yahoo_Answers_category> ?pv . ?pv <pred:value> "396545303" .  } }
Program:
function: Find
inputs: social science
function: Relate
dependencies: 0
inputs: has part
forward
function: FilterConcept
dependencies: 1
inputs: social science
function: FindAll
function: FilterStr
dependencies: 3
inputs: Yahoo Answers category
396545303
function: FilterConcept
dependencies: 4
inputs: social science
function: Or
dependencies: 2
5
function: Count
dependencies: 6