Question: What is the connection between Milan (the one that origins from Philippines) to Rome (the one whose Dewey Decimal Classification is 2--45632)?
Choices:
influenced by
developer
location of formation
record label
executive producer
basic form of government
instrument
commissioned by
narrative location
has quality
Answer: narrative location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Milan" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> "Philippines" . ?e_2 <pred:name> "Rome" . ?e_2 <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> "2--45632" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Philippines
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Milan
function: And
dependencies: 1
2
function: Find
inputs: Rome
function: FilterStr
dependencies: 4
inputs: Dewey Decimal Classification
2--45632
function: QueryRelation
dependencies: 3
5