Question: How many humans have a hair color of bay, which is the color of Northern Dancer?
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> "human" . ?e <hair_color> ?e_1 . ?e_1 <pred:name> "bay" . ?e_2 <color> ?e_1 . ?e_2 <pred:name> "Northern Dancer" .   }
Program:
function: Find
inputs: Northern Dancer
function: Relate
dependencies: 0
inputs: color
forward
function: Find
inputs: bay
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: hair color
backward
function: FilterConcept
dependencies: 4
inputs: human
function: Count
dependencies: 5
Answer: 0