Question: Which historical country with native name Regno d'Italia is located on the European continent?
Choices:
Kingdom of Italy
Abyssinia
Wallachia
Union of South Africa
Kingdom of Portugal
Confederate States of America
Spanish Empire
Second French Empire
Kingdom of Hungary
Qing dynasty
Answer: Kingdom of Italy
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "historical country" . ?e <native_label> ?pv . ?pv <pred:value> "Regno d'Italia" . ?e <continent> ?e_1 . ?e_1 <pred:name> "Europe" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: native label
Regno d'Italia
function: FilterConcept
dependencies: 1
inputs: historical country
function: Find
inputs: Europe
function: Relate
dependencies: 3
inputs: continent
backward
function: FilterConcept
dependencies: 4
inputs: historical country
function: And
dependencies: 2
5
function: What
dependencies: 6