Question: Photographer Roger Moore studied at how many schools of business?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: photographer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Roger Moore
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: educated at
forward
function: FilterConcept
dependencies: 4
inputs: business school
function: Count
dependencies: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "business school" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> "Roger Moore" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "photographer" .   }
Answer: 1