Question: How many artists are in the work field of Adam Carolla and study non-fiction?
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> "artist" . ?e_1 <field_of_work> ?e . ?e_1 <pred:name> "Adam Carolla" .  ?e <studies> ?e_2 . ?e_2 <pred:name> "non-fiction" .  }
Program:
function: Find
inputs: Adam Carolla
function: Relate
dependencies: 0
inputs: field of work
forward
function: FilterConcept
dependencies: 1
inputs: artist
function: Find
inputs: non-fiction
function: Relate
dependencies: 3
inputs: studies
backward
function: FilterConcept
dependencies: 4
inputs: artist
function: And
dependencies: 2
5
function: Count
dependencies: 6
Answer: 0