Question: Which Wisconsin county is named for someone who is also the namesake for Columbia, capital of South Carolina?
Choices:
Washington County
Columbus
Fond du Lac County
Colombia
Polk County
La Crosse County
Sauk County
Wood County
Columbia County
Jefferson County
Program:
function: Find
inputs: South Carolina
function: Relate
dependencies: 0
inputs: capital of
backward
function: Find
inputs: Columbia
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: named after
forward
function: FilterConcept
dependencies: 4
inputs: human
function: Relate
dependencies: 5
inputs: named after
backward
function: FilterConcept
dependencies: 6
inputs: county of Wisconsin
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Wisconsin" . ?e <named_after> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_2 <named_after> ?e_1 . ?e_2 <pred:name> "Columbia" . ?e_2 <capital_of> ?e_3 . ?e_3 <pred:name> "South Carolina" .   }
Answer: Columbia County