Question: How is Groningen whose Dewey Decimal Classification is 2--49212 related to Europe?
Choices:
record label
instrument
fabrication method
airline hub
chairperson
source of income
kit supplier
continent
copyright holder
languages spoken, written or signed
Answer: continent
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Groningen" . ?e_1 <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> "2--49212" . ?e_2 <pred:name> "Europe" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Groningen
function: FilterStr
dependencies: 0
inputs: Dewey Decimal Classification
2--49212
function: Find
inputs: Europe
function: QueryRelation
dependencies: 1
2