Question: Is less than 15 weeks the length of the album that has Yes (that is famous for rock music) as a performer?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "album" . ?e <performer> ?e_1 . ?e_1 <pred:name> "Yes" . ?e_2 <famous_people> ?e_1 . ?e_2 <pred:name> "rock music" .  ?e <duration> ?pv . ?pv <pred:unit> "week" . ?pv <pred:value> ?v . FILTER ( ?v < "15"^^xsd:double ) .  }
Program:
function: Find
inputs: rock music
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: Yes
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: performer
backward
function: FilterConcept
dependencies: 4
inputs: album
function: QueryAttr
dependencies: 5
inputs: duration
function: VerifyNum
dependencies: 6
inputs: 15 week
<