Question: Does the written work that derives The Stand, (the one whose number of episodes is 4), have a title equal to The Stand?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "written work" . ?e_1 <based_on> ?e . ?e_1 <pred:name> "The Stand" . ?e_1 <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "4"^^xsd:double . ?e <title> ?pv . ?pv <pred:value> "The Stand" .  }
Program:
function: Find
inputs: The Stand
function: FilterNum
dependencies: 0
inputs: number of episodes
4
=
function: Relate
dependencies: 1
inputs: based on
forward
function: FilterConcept
dependencies: 2
inputs: written work
function: QueryAttr
dependencies: 3
inputs: title
function: VerifyStr
dependencies: 4
inputs: The Stand
Answer: yes