Question: What does US citizen Erin Brockovich have to do with the law?
Choices:
language of work or name
designed to carry
symptoms
lyrics by
costume designer
published in
airline alliance
officeholder
field of work
works in collection
Answer: field of work
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Erin Brockovich" . ?e_1 <country_of_citizenship> ?e_3 . ?e_3 <pred:name> "United States of America" . ?e_2 <pred:name> "law" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: Erin Brockovich
function: And
dependencies: 1
2
function: Find
inputs: law
function: QueryRelation
dependencies: 3
4