Question: How many art schools are part of Panjab University or are registered with Acclaim Entertainment?
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> "art school" .  { ?e_1 <has_part> ?e . ?e_1 <pred:name> "Panjab University" .  } UNION { ?e <registered_with> ?e_1 . ?e_1 <pred:name> "Acclaim Entertainment" .  } }
Program:
function: Find
inputs: Panjab University
function: Relate
dependencies: 0
inputs: has part
forward
function: FilterConcept
dependencies: 1
inputs: art school
function: Find
inputs: Acclaim Entertainment
function: Relate
dependencies: 3
inputs: registered with
backward
function: FilterConcept
dependencies: 4
inputs: art school
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 0