Question: What is the relationship between The Lord of the Rings: The Fellowship of the Ring (the one whose release region is Philippines) and Hong Kong (the one whose inflation rate is 7.4 percentage)?
Choices:
has dialect (DEPRECATED)
facet of
place of birth
contains administrative territorial entity
geographic distribution
operating system
film release region
copyright holder
genre
chairperson
Answer: film release region
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Lord of the Rings: The Fellowship of the Ring" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "Philippines" . ?e_2 <pred:name> "Hong Kong" . ?e_2 <inflation_rate> ?pv . ?pv <pred:unit> "percentage" . ?pv <pred:value> "7.4"^^xsd:double . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Philippines
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: The Lord of the Rings: The Fellowship of the Ring
function: And
dependencies: 1
2
function: Find
inputs: Hong Kong
function: FilterNum
dependencies: 4
inputs: inflation rate
7.4 percentage
=
function: QueryRelation
dependencies: 3
5