Question: How many literary works derive Frank Herbert's Dune and have the title Trainspotting?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Frank Herbert's Dune
function: Relate
dependencies: 0
inputs: derivative work
backward
function: FilterConcept
dependencies: 1
inputs: literary work
function: FindAll
function: FilterStr
dependencies: 3
inputs: title
Trainspotting
function: FilterConcept
dependencies: 4
inputs: literary work
function: And
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "literary work" . ?e <derivative_work> ?e_1 . ?e_1 <pred:name> "Frank Herbert's Dune" .  ?e <title> ?pv . ?pv <pred:value> "Trainspotting" .  }
Answer: 0