Question: How many colors does the hair color of Jennifer Aniston, as well as Amanda Bynes, consists of?
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> "color" . ?e_1 <hair_color> ?e . ?e_1 <pred:name> "Jennifer Aniston" .  ?e_2 <hair_color> ?e . ?e_2 <pred:name> "Amanda Bynes" .  }
Program:
function: Find
inputs: Jennifer Aniston
function: Relate
dependencies: 0
inputs: hair color
forward
function: FilterConcept
dependencies: 1
inputs: color
function: Find
inputs: Amanda Bynes
function: Relate
dependencies: 3
inputs: hair color
forward
function: FilterConcept
dependencies: 4
inputs: color
function: And
dependencies: 2
5
function: Count
dependencies: 6
Answer: 1