Question: How many film characters are either a citizen of the United States of America or have the official website of http://www.leechild.com/jack-reacher.php?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film character" .  { ?e <country_of_citizenship> ?e_1 . ?e_1 <pred:name> "United States of America" .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> "http://www.leechild.com/jack-reacher.php" .  } }
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: FilterConcept
dependencies: 1
inputs: film character
function: FindAll
function: FilterStr
dependencies: 3
inputs: official website
http://www.leechild.com/jack-reacher.php
function: FilterConcept
dependencies: 4
inputs: film character
function: Or
dependencies: 2
5
function: Count
dependencies: 6