Question: How is Northampton County whose FIPS 6-4 (US counties) is 51131 related to Virginia whose FIPS 5-2 numeric code (US states) is 51?
Choices:
source of material
office held by head of the organisation
subject has role
has effect
contains administrative territorial entity
art director
located in the administrative territorial entity
head coach
medical condition
child
Answer: located in the administrative territorial entity
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Northampton County" . ?e_1 <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> "51131" . ?e_2 <pred:name> "Virginia" . ?e_2 <FIPS_5-2_numeric_code_(US_states)> ?pv_1 . ?pv_1 <pred:value> "51" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Northampton County
function: FilterStr
dependencies: 0
inputs: FIPS 6-4 (US counties)
51131
function: Find
inputs: Virginia
function: FilterStr
dependencies: 2
inputs: FIPS 5-2 numeric code (US states)
51
function: QueryRelation
dependencies: 1
3