Question: What is the number of science awards that use animal rights as a discipline or that Frank Gehry won.
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "science award" .  { ?e <award_disciplines_or_subjects> ?e_1 . ?e_1 <pred:name> "animal rights" .  } UNION { ?e <winner> ?e_1 . ?e_1 <pred:name> "Frank Gehry" .  } }
Program:
function: Find
inputs: animal rights
function: Relate
dependencies: 0
inputs: award disciplines or subjects
backward
function: FilterConcept
dependencies: 1
inputs: science award
function: Find
inputs: Frank Gehry
function: Relate
dependencies: 3
inputs: winner
backward
function: FilterConcept
dependencies: 4
inputs: science award
function: Or
dependencies: 2
5
function: Count
dependencies: 6