Question: What is the connection between Mauritania to Africa (the one whose demonym is africano)?
Choices:
continent
filming location
work location
collection
has part
famous people
place of death
allegiance
academic degree
uses
Program:
function: Find
inputs: Mauritania
function: Find
inputs: Africa
function: FilterStr
dependencies: 1
inputs: demonym
africano
function: QueryRelation
dependencies: 0
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Mauritania" . ?e_2 <pred:name> "Africa" . ?e_2 <demonym> ?pv . ?pv <pred:value> "africano" . ?e_1 ?p ?e_2 .  }
Answer: continent