Question: Is Tulsa the native label of the city of the United States which is the birthplace of Tim Duncan (the one that is related to sport American football) ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Tim Duncan" . ?e_1 <sport> ?e_2 . ?e_2 <pred:name> "American football" .  ?e <native_label> ?pv . ?pv <pred:value> "Tulsa" .  }
Program:
function: Find
inputs: American football
function: Relate
dependencies: 0
inputs: sport
backward
function: Find
inputs: Tim Duncan
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of birth
forward
function: FilterConcept
dependencies: 4
inputs: city of the United States
function: QueryAttr
dependencies: 5
inputs: native label
function: VerifyStr
dependencies: 6
inputs: Tulsa