Question: What is the relationship between Harris County and Houston (the one whose PermID is 4295948789)?
Choices:
capital
nutrient
is a list of
update method
voice type
source of material
field of this occupation
foundational text
composer
designed to carry
Answer: capital
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Harris County" . ?e_2 <pred:name> "Houston" . ?e_2 <PermID> ?pv . ?pv <pred:value> "4295948789" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Harris County
function: Find
inputs: Houston
function: FilterStr
dependencies: 1
inputs: PermID
4295948789
function: QueryRelation
dependencies: 0
2