Question: How many constituencies of Jaya Sabha are different from Uttar Pradesh (with Urdu as the official language) ?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "constituency of the Rajya Sabha" . ?e <different_from> ?e_1 . ?e_1 <pred:name> "Uttar Pradesh" . ?e_1 <official_language> ?e_2 . ?e_2 <pred:name> "Urdu" .   }
Program:
function: Find
inputs: Urdu
function: Relate
dependencies: 0
inputs: official language
backward
function: Find
inputs: Uttar Pradesh
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: different from
backward
function: FilterConcept
dependencies: 4
inputs: constituency of the Rajya Sabha
function: Count
dependencies: 5
Answer: 1