Question: How is Portsmouth whose local dialing code is 740 related to the USA?
Choices:
terminus
game mode
located in the administrative territorial entity
country
connects with
voice type
professorship
participant
territory claimed by
season starts
Answer: country
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Portsmouth" . ?e_1 <local_dialing_code> ?pv . ?pv <pred:value> "740" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Portsmouth
function: FilterStr
dependencies: 0
inputs: local dialing code
740
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 1
2