Question: What is the height of Chris Martin whose occupation is songwriter?
Choices:
79 inch
1.6764 metre
155 centimetre
1.86 metre
79 centimetre
164 centimetre
71 inch
81 inch
67 inch
72 inch
Program:
function: Find
inputs: songwriter
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Chris Martin
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: height
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Chris Martin" . ?e <occupation> ?e_1 . ?e_1 <pred:name> "songwriter" .  ?e <height> ?pv .  }
Answer: 1.86 metre