Question: What does Philadelphia (the one that origins from Canada) have in common with ballad?
Choices:
feast day
voice actor
office held by head of government
said to be the same as
occupation
genre
family name
author
product or material produced
characters
Program:
function: Find
inputs: Canada
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Philadelphia
function: And
dependencies: 1
2
function: Find
inputs: ballad
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Philadelphia" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> "Canada" . ?e_2 <pred:name> "ballad" . ?e_1 ?p ?e_2 .  }
Answer: genre