Question: How many public universities have the Twitter handle eiu or are part of the University of London?
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> "public university" .  { ?e <Twitter_username> ?pv . ?pv <pred:value> "eiu" .  } UNION { ?e <part_of> ?e_1 . ?e_1 <pred:name> "University of London" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
eiu
function: FilterConcept
dependencies: 1
inputs: public university
function: Find
inputs: University of London
function: Relate
dependencies: 3
inputs: part of
backward
function: FilterConcept
dependencies: 4
inputs: public university
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 5