Question: How many kinds of artist distinct from film director match Caleb Deschanel's trade?
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 <different_from> ?e . ?e_1 <pred:name> "film director" .  ?e_2 <occupation> ?e . ?e_2 <pred:name> "Caleb Deschanel" .  }
Program:
function: Find
inputs: film director
function: Relate
dependencies: 0
inputs: different from
forward
function: FilterConcept
dependencies: 1
inputs: artist
function: Find
inputs: Caleb Deschanel
function: Relate
dependencies: 3
inputs: occupation
forward
function: FilterConcept
dependencies: 4
inputs: artist
function: And
dependencies: 2
5
function: Count
dependencies: 6
Answer: 1