Question: Which United States town has the native label Town of Huntington and is the residence of Mariah Carey?
Choices:
Westport
Uxbridge
West Hartford
Huntington
Brookline
Bedford
Kensington
Litchfield
Greenwich
Chapel Hill
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: native label
Town of Huntington
function: FilterConcept
dependencies: 1
inputs: town of the United States
function: Find
inputs: Mariah Carey
function: Relate
dependencies: 3
inputs: residence
forward
function: FilterConcept
dependencies: 4
inputs: town of the United States
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town of the United States" . ?e <native_label> ?pv . ?pv <pred:value> "Town of Huntington" . ?e_1 <residence> ?e . ?e_1 <pred:name> "Mariah Carey" .  }
Answer: Huntington