Question: Is the FIPS 6-4 (US counties) of the counties of Illinois that are named after James Madison (the one that has the occupation of lawyer) equal to 17119 ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Illinois" . ?e <named_after> ?e_1 . ?e_1 <pred:name> "James Madison" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "lawyer" .  ?e <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> "17119" .  }
Program:
function: Find
inputs: lawyer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: James Madison
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: named after
backward
function: FilterConcept
dependencies: 4
inputs: county of Illinois
function: QueryAttr
dependencies: 5
inputs: FIPS 6-4 (US counties)
function: VerifyStr
dependencies: 6
inputs: 17119