Question: How many kinds of crime differ from an 'activity' that caused Pier Paolo Passolini's death ?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "crime" . ?e_1 <different_from> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "activity" . ?e_2 <cause_of_death> ?e_1 . ?e_2 <pred:name> "Pier Paolo Pasolini" .   }
Program:
function: Find
inputs: Pier Paolo Pasolini
function: Relate
dependencies: 0
inputs: cause of death
forward
function: FilterConcept
dependencies: 1
inputs: activity
function: Relate
dependencies: 2
inputs: different from
forward
function: FilterConcept
dependencies: 3
inputs: crime
function: Count
dependencies: 4