Question: What is the relationship between Angel (the one whose number of seasons is 5) and Vincent Kartheiser?
Choices:
kit supplier
use
practiced by
founded by
official color
capital of
worshipped by
sibling
sex or gender
cast member
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Angel" . ?e_1 <number_of_seasons> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "5"^^xsd:double . ?e_2 <pred:name> "Vincent Kartheiser" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Angel
function: FilterNum
dependencies: 0
inputs: number of seasons
5
=
function: Find
inputs: Vincent Kartheiser
function: QueryRelation
dependencies: 1
2