Question: How is the United States of America work, The Specialist related to Sylvester Stallone?
Choices:
feast day
fabrication method
religion
Wikidata property
student of
coextensive with
eye color
cast member
ancestral home
league
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Specialist" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> "United States of America" . ?e_2 <pred:name> "Sylvester Stallone" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: The Specialist
function: And
dependencies: 1
2
function: Find
inputs: Sylvester Stallone
function: QueryRelation
dependencies: 3
4