Question: How is Cherokee (the one whose ISO 639-2 code is chr) related to North Carolina?
Choices:
located on astronomical location
located in the administrative territorial entity
statistical leader
depicted by
vehicle normally used
said to be the same as
director
used by
influenced by
diplomatic relation
Answer: located in the administrative territorial entity
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Cherokee" . ?e_1 <ISO_639-2_code> ?pv . ?pv <pred:value> "chr" . ?e_2 <pred:name> "North Carolina" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Cherokee
function: FilterStr
dependencies: 0
inputs: ISO 639-2 code
chr
function: Find
inputs: North Carolina
function: QueryRelation
dependencies: 1
2