Question: Which independent city is the headquarter location of the university whose PermID is 4298207706 ?
Choices:
Roanoke
Winchester
Alexandria
Suffolk
Hampton
Danville
Richmond
Newport News
Williamsburg
Charlottesville
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: PermID
4298207706
function: FilterConcept
dependencies: 1
inputs: university
function: Relate
dependencies: 2
inputs: headquarters location
forward
function: FilterConcept
dependencies: 3
inputs: independent city
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "independent city" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "university" . ?e_1 <PermID> ?pv . ?pv <pred:value> "4298207706" .   }
Answer: Richmond