Question: What is the connection between Wallachia (the one whose inception time is 1330-01-01) to Romania (the one that has a diplomatic relation with Taiwan)?
Choices:
place of publication
published in
soundtrack album
commissioned by
platform
professorship
country
geographic distribution
diaspora
member of
Answer: country
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Wallachia" . ?e_1 <inception> ?pv . ?pv <pred:date> "1330-01-01"^^xsd:date . ?e_2 <pred:name> "Romania" . ?e_2 <diplomatic_relation> ?e_3 . ?e_3 <pred:name> "Taiwan" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Wallachia
function: FilterDate
dependencies: 0
inputs: inception
1330-01-01
=
function: Find
inputs: Taiwan
function: Relate
dependencies: 2
inputs: diplomatic relation
backward
function: Find
inputs: Romania
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5