Question: How many academic degrees do we know that study London Symphony Orchestra and have Masters in Law as the short name ?
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> "academic degree" . ?e <short_name> ?pv . ?pv <pred:value> "Masters in Law" . ?e <studies> ?e_1 . ?e_1 <pred:name> "London Symphony Orchestra" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: short name
Masters in Law
function: FilterConcept
dependencies: 1
inputs: academic degree
function: Find
inputs: London Symphony Orchestra
function: Relate
dependencies: 3
inputs: studies
backward
function: FilterConcept
dependencies: 4
inputs: academic degree
function: And
dependencies: 2
5
function: Count
dependencies: 6