Question: How many industries were the main subject of Gallipoli?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "industry" . ?e_1 <main_subject> ?e . ?e_1 <pred:name> "Gallipoli" .   }
Program:
function: Find
inputs: Gallipoli
function: Relate
dependencies: 0
inputs: main subject
forward
function: FilterConcept
dependencies: 1
inputs: industry
function: Count
dependencies: 2