Question: What is the connection between Orange County (the one whose FIPS 6-4 (US counties) is 12095) to orange (the one that is named after Portugal)?
Choices:
occupation
feast day
founded by
use
relative
league
original film format
industry
named after
religion
Answer: named after
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Orange County" . ?e_1 <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> "12095" . ?e_2 <pred:name> "orange" . ?e_2 <named_after> ?e_3 . ?e_3 <pred:name> "Portugal" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Orange County
function: FilterStr
dependencies: 0
inputs: FIPS 6-4 (US counties)
12095
function: Find
inputs: Portugal
function: Relate
dependencies: 2
inputs: named after
backward
function: Find
inputs: orange
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5