Question: How many dogs taller than 1500 ft. are the blue that's the official color of Sheffield Wednesday F.C.)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "dog" . ?e <height> ?pv . ?pv <pred:unit> "foot" . ?pv <pred:value> ?v . FILTER ( ?v > "1500"^^xsd:double ) . ?e <color> ?e_1 . ?e_1 <pred:name> "blue" . ?e_2 <official_color> ?e_1 . ?e_2 <pred:name> "Sheffield Wednesday F.C." .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: height
1500 foot
>
function: FilterConcept
dependencies: 1
inputs: dog
function: Find
inputs: Sheffield Wednesday F.C.
function: Relate
dependencies: 3
inputs: official color
forward
function: Find
inputs: blue
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: color
backward
function: FilterConcept
dependencies: 7
inputs: dog
function: And
dependencies: 2
8
function: Count
dependencies: 9