Question: What is the relationship of Omar Sharif to Greek (that is the official language of Greece)?
Choices:
sex or gender
relative
position held
territory claimed by
honorific suffix
product or material produced
had as last meal
director/manager
languages spoken, written or signed
operator
Program:
function: Find
inputs: Omar Sharif
function: Find
inputs: Greece
function: Relate
dependencies: 1
inputs: official language
forward
function: Find
inputs: Greek
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Omar Sharif" . ?e_2 <pred:name> "Greek" . ?e_3 <official_language> ?e_2 . ?e_3 <pred:name> "Greece" . ?e_1 ?p ?e_2 .  }
Answer: languages spoken, written or signed