Question: How many academic disciplines are studied by engineering or catches the interest of Brian Austin Green?
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> "academic discipline" .  { ?e_1 <studies> ?e . ?e_1 <pred:name> "engineering" .  } UNION { ?e_1 <interested_in> ?e . ?e_1 <pred:name> "Brian Austin Green" .  } }
Program:
function: Find
inputs: engineering
function: Relate
dependencies: 0
inputs: studies
forward
function: FilterConcept
dependencies: 1
inputs: academic discipline
function: Find
inputs: Brian Austin Green
function: Relate
dependencies: 3
inputs: interested in
forward
function: FilterConcept
dependencies: 4
inputs: academic discipline
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2