Question: How many boarding schools have the Twitter username WellingtonUK or are the filming location of American Graffiti?
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> "boarding school" .  { ?e <Twitter_username> ?pv . ?pv <pred:value> "WellingtonUK" .  } UNION { ?e_1 <filming_location> ?e . ?e_1 <pred:name> "American Graffiti" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
WellingtonUK
function: FilterConcept
dependencies: 1
inputs: boarding school
function: Find
inputs: American Graffiti
function: Relate
dependencies: 3
inputs: filming location
forward
function: FilterConcept
dependencies: 4
inputs: boarding school
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 1