Question: How is Romania (the successor of Kingdom of Romania) related to Romanian ?
Choices:
office held by head of the organisation
vehicle normally used
separated from
language used
designed by
chief executive officer
cites
country
official language
parent club
Answer: official language
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Romania" . ?e_1 <followed_by> ?e_3 . ?e_3 <pred:name> "Kingdom of Romania" . ?e_2 <pred:name> "Romanian" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Kingdom of Romania
function: Relate
dependencies: 0
inputs: followed by
backward
function: Find
inputs: Romania
function: And
dependencies: 1
2
function: Find
inputs: Romanian
function: QueryRelation
dependencies: 3
4