Question: How many literary work are considered to be a part of Die Hard (the one that includes Live Free or Die Hard as a part) ?
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> "literary work" . ?e <part_of_the_series> ?e_1 . ?e_1 <pred:name> "Die Hard" . ?e_1 <has_part> ?e_2 . ?e_2 <pred:name> "Live Free or Die Hard" .   }
Program:
function: Find
inputs: Live Free or Die Hard
function: Relate
dependencies: 0
inputs: has part
backward
function: Find
inputs: Die Hard
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: part of the series
backward
function: FilterConcept
dependencies: 4
inputs: literary work
function: Count
dependencies: 5
Answer: 0