Question: What video game developer is set up in a sovereign state having a diplomatic relation with Armenia (the subject of this statement is Armenia–Japan relations)?
Choices:
Nintendo
Eidos Interactive
Versailles
Atari
id Software
Data East
Bandai Namco Entertainment
Square
Shinto
Sonic Team
Answer: Data East
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "video game developer" . ?e <location_of_formation> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "sovereign state" . ?e_2 <diplomatic_relation> ?e_1 . ?e_2 <pred:name> "Armenia" . [ <pred:fact_h> ?e_2 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> "Armenia–Japan relations" .   }
Program:
function: Find
inputs: Armenia
function: Relate
dependencies: 0
inputs: diplomatic relation
forward
function: QFilterStr
dependencies: 1
inputs: statement is subject of
Armenia–Japan relations
function: FilterConcept
dependencies: 2
inputs: sovereign state
function: Relate
dependencies: 3
inputs: location of formation
backward
function: FilterConcept
dependencies: 4
inputs: video game developer
function: What
dependencies: 5