Question: How many states of the US make up the country of Cuban American or comprise the headquarters of XL Recordings ?
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> "state of the United States" .  { ?e_1 <country> ?e . ?e_1 <pred:name> "Cuban American" .  } UNION { ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> "XL Recordings" .  } }
Program:
function: Find
inputs: Cuban American
function: Relate
dependencies: 0
inputs: country
forward
function: FilterConcept
dependencies: 1
inputs: state of the United States
function: Find
inputs: XL Recordings
function: Relate
dependencies: 3
inputs: headquarters location
forward
function: FilterConcept
dependencies: 4
inputs: state of the United States
function: Or
dependencies: 2
5
function: Count
dependencies: 6