Question: What is the link between Shakespeare in Love and Mark Williams who has 1 child?
Choices:
cast member
allegiance
screenwriter
occupation
inspired by
has cause
sponsor
medical treatment
sexual orientation
geography of topic
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Shakespeare in Love" . ?e_2 <pred:name> "Mark Williams" . ?e_2 <number_of_children> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "1"^^xsd:double . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Shakespeare in Love
function: Find
inputs: Mark Williams
function: FilterNum
dependencies: 1
inputs: number of children
1
=
function: QueryRelation
dependencies: 0
2