Question: How many silent movies were produced by Irving Thalbert or directed by Clarence Brown (the one that is educated at University of Tennessee)?
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> "silent film" .  { ?e <producer> ?e_1 . ?e_1 <pred:name> "Irving Thalberg" .  } UNION { ?e <director> ?e_1 . ?e_1 <pred:name> "Clarence Brown" . ?e_1 <educated_at> ?e_2 . ?e_2 <pred:name> "University of Tennessee" .  } }
Program:
function: Find
inputs: Irving Thalberg
function: Relate
dependencies: 0
inputs: producer
backward
function: FilterConcept
dependencies: 1
inputs: silent film
function: Find
inputs: University of Tennessee
function: Relate
dependencies: 3
inputs: educated at
backward
function: Find
inputs: Clarence Brown
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: director
backward
function: FilterConcept
dependencies: 7
inputs: silent film
function: Or
dependencies: 2
8
function: Count
dependencies: 9