Question: What is the scope of the statement that David Copperfield (that has 1 season) is based on David Copperfield (that is authored by Charles Dickens)?
Choices:
Shrek 2
Hercules
Giuseppe Verdi
Charles Dickens
Shrek Forever After
Elektra
Hulk
Jonah Hex
Iron Man 3
United States Senate
Answer: Charles Dickens
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "David Copperfield" . ?e_1 <number_of_seasons> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "1"^^xsd:double . ?e_2 <pred:name> "David Copperfield" . ?e_2 <author> ?e_3 . ?e_3 <pred:name> "Charles Dickens" . ?e_1 <based_on> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <based_on> ; <pred:fact_t> ?e_2 ] <of> ?qpv .  }
Program:
function: Find
inputs: David Copperfield
function: FilterNum
dependencies: 0
inputs: number of seasons
1
=
function: Find
inputs: Charles Dickens
function: Relate
dependencies: 2
inputs: author
backward
function: Find
inputs: David Copperfield
function: And
dependencies: 3
4
function: QueryRelationQualifier
dependencies: 1
5
inputs: based on
of