Question: What does Michelle Pfeiffer have to do with Peter Horton (who uses the English language)?
Choices:
newspaper format
based on
spouse
performer
field of work
professional or sports partner
political alignment
has contributing factor
home port
architect
Program:
function: Find
inputs: Michelle Pfeiffer
function: Find
inputs: English
function: Relate
dependencies: 1
inputs: languages spoken, written or signed
backward
function: Find
inputs: Peter Horton
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Michelle Pfeiffer" . ?e_2 <pred:name> "Peter Horton" . ?e_2 <languages_spoken,_written_or_signed> ?e_3 . ?e_3 <pred:name> "English" . ?e_1 ?p ?e_2 .  }
Answer: spouse