Question: Which M.49 code designates the geographic region Hungary is a part of?
Choices:
151
142
020
024
004
724
035
124
001
376
Answer: 151
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "geographic region" . ?e <has_part> ?e_1 . ?e_1 <pred:name> "Hungary" .  ?e <M.49_code> ?pv .  }
Program:
function: Find
inputs: Hungary
function: Relate
dependencies: 0
inputs: has part
backward
function: FilterConcept
dependencies: 1
inputs: geographic region
function: QueryAttr
dependencies: 2
inputs: M.49 code