Question: What is the relationship between Allegheny County and Westmoreland County (the one whose FIPS 6-4 (US counties) is 42129)?
Choices:
shares border with
successful candidate
airline hub
film release region
present in work
replaced by
programming language
currency
family
occupation
Answer: shares border with
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Allegheny County" . ?e_2 <pred:name> "Westmoreland County" . ?e_2 <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> "42129" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Allegheny County
function: Find
inputs: Westmoreland County
function: FilterStr
dependencies: 1
inputs: FIPS 6-4 (US counties)
42129
function: QueryRelation
dependencies: 0
2