Question: How many feature films have the production company of Hollywood Pictures or are related to the sport of American football?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "feature film" .  { ?e <production_company> ?e_1 . ?e_1 <pred:name> "Hollywood Pictures" .  } UNION { ?e <sport> ?e_1 . ?e_1 <pred:name> "American football" .  } }
Program:
function: Find
inputs: Hollywood Pictures
function: Relate
dependencies: 0
inputs: production company
backward
function: FilterConcept
dependencies: 1
inputs: feature film
function: Find
inputs: American football
function: Relate
dependencies: 3
inputs: sport
backward
function: FilterConcept
dependencies: 4
inputs: feature film
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2