Question: How many fictional profession that is the partner of the animated person that looks in Howard the Duck (the one that has person Daffy Duck).
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> "fictional profession" . ?e_1 <spouse> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "animated character" . ?e_2 <characters> ?e_1 . ?e_2 <pred:name> "Howard the Duck" . ?e_2 <characters> ?e_3 . ?e_3 <pred:name> "Daffy Duck" .   }
Program:
function: Find
inputs: Daffy Duck
function: Relate
dependencies: 0
inputs: characters
backward
function: Find
inputs: Howard the Duck
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: characters
forward
function: FilterConcept
dependencies: 4
inputs: animated character
function: Relate
dependencies: 5
inputs: spouse
forward
function: FilterConcept
dependencies: 6
inputs: fictional profession
function: Count
dependencies: 7
Answer: 0