Question: Was the agent that has the same religion as the journalist Gordon Brown founded after 2003?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "agent" . ?e_1 <religion> ?e . ?e_1 <pred:name> "Gordon Brown" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "journalist" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2003 ) .  }
Program:
function: Find
inputs: journalist
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Gordon Brown
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: religion
forward
function: FilterConcept
dependencies: 4
inputs: agent
function: QueryAttr
dependencies: 5
inputs: inception
function: VerifyYear
dependencies: 6
inputs: 2003
>