Question: What is the number of genres that have IAB code 642 or are a part of James Bond (whose official website is http://www.007.com/)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "genre" .  { ?e <IAB_code> ?pv . ?pv <pred:value> "642" .  } UNION { ?e <part_of_the_series> ?e_1 . ?e_1 <pred:name> "James Bond" . ?e_1 <official_website> ?pv . ?pv <pred:value> "http://www.007.com/" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: IAB code
642
function: FilterConcept
dependencies: 1
inputs: genre
function: Find
inputs: James Bond
function: FilterStr
dependencies: 3
inputs: official website
http://www.007.com/
function: Relate
dependencies: 4
inputs: part of the series
backward
function: FilterConcept
dependencies: 5
inputs: genre
function: Or
dependencies: 2
6
function: Count
dependencies: 7