Question: How many TV series include as a character Italian-speaking Thomas Jefferson or depict the fictional Buffyverse?
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> "television series" .  { ?e <characters> ?e_1 . ?e_1 <pred:name> "Thomas Jefferson" . ?e_1 <languages_spoken,_written_or_signed> ?e_2 . ?e_2 <pred:name> "Italian" .  } UNION { ?e_1 <fictional_universe_described_in> ?e . ?e_1 <pred:name> "Buffyverse" .  } }
Program:
function: Find
inputs: Italian
function: Relate
dependencies: 0
inputs: languages spoken, written or signed
backward
function: Find
inputs: Thomas Jefferson
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: characters
backward
function: FilterConcept
dependencies: 4
inputs: television series
function: Find
inputs: Buffyverse
function: Relate
dependencies: 6
inputs: fictional universe described in
forward
function: FilterConcept
dependencies: 7
inputs: television series
function: Or
dependencies: 5
8
function: Count
dependencies: 9