Question: How many universities are the operator of the Hollywood Walk of Fame or are the subsidiary organization of the University of London?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "university" .  { ?e_1 <operator> ?e . ?e_1 <pred:name> "Hollywood Walk of Fame" .  } UNION { ?e <parent_organization> ?e_1 . ?e_1 <pred:name> "University of London" .  } }
Program:
function: Find
inputs: Hollywood Walk of Fame
function: Relate
dependencies: 0
inputs: operator
forward
function: FilterConcept
dependencies: 1
inputs: university
function: Find
inputs: University of London
function: Relate
dependencies: 3
inputs: parent organization
backward
function: FilterConcept
dependencies: 4
inputs: university
function: Or
dependencies: 2
5
function: Count
dependencies: 6