Question: How many state make up the main subject of Equus or use Polish language ?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state" .  { ?e_1 <main_subject> ?e . ?e_1 <pred:name> "Equus" .  } UNION { ?e <language_used> ?e_1 . ?e_1 <pred:name> "Polish" .  } }
Program:
function: Find
inputs: Equus
function: Relate
dependencies: 0
inputs: main subject
forward
function: FilterConcept
dependencies: 1
inputs: state
function: Find
inputs: Polish
function: Relate
dependencies: 3
inputs: language used
backward
function: FilterConcept
dependencies: 4
inputs: state
function: Or
dependencies: 2
5
function: Count
dependencies: 6