Question: How many religions do we know that differ from agnosticism or are belonging to Christian (also the name given to Pitbull) religion ?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "religion" .  { ?e_1 <different_from> ?e . ?e_1 <pred:name> "agnosticism" .  } UNION { ?e <religion> ?e_1 . ?e_1 <pred:name> "Christian" . ?e_2 <given_name> ?e_1 . ?e_2 <pred:name> "Pitbull" .  } }
Program:
function: Find
inputs: agnosticism
function: Relate
dependencies: 0
inputs: different from
forward
function: FilterConcept
dependencies: 1
inputs: religion
function: Find
inputs: Pitbull
function: Relate
dependencies: 3
inputs: given name
forward
function: Find
inputs: Christian
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: religion
backward
function: FilterConcept
dependencies: 7
inputs: religion
function: Or
dependencies: 2
8
function: Count
dependencies: 9