Question: How many written works titled Carrie are in Bob Bryan's field of work?
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> "written work" . ?e_1 <field_of_work> ?e . ?e_1 <pred:name> "Bob Bryan" .  ?e <title> ?pv . ?pv <pred:value> "Carrie" .  }
Program:
function: Find
inputs: Bob Bryan
function: Relate
dependencies: 0
inputs: field of work
forward
function: FilterConcept
dependencies: 1
inputs: written work
function: FindAll
function: FilterStr
dependencies: 3
inputs: title
Carrie
function: FilterConcept
dependencies: 4
inputs: written work
function: And
dependencies: 2
5
function: Count
dependencies: 6