Question: What is the number of film characters that have the name Veronica Mars in native language or are created by Frank Miller (who is a member of the political party called the Republican Party)?
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> "film character" .  { ?e <name_in_native_language> ?pv . ?pv <pred:value> "Veronica Mars" .  } UNION { ?e <creator> ?e_1 . ?e_1 <pred:name> "Frank Miller" . ?e_1 <member_of_political_party> ?e_2 . ?e_2 <pred:name> "Republican Party" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: name in native language
Veronica Mars
function: FilterConcept
dependencies: 1
inputs: film character
function: Find
inputs: Republican Party
function: Relate
dependencies: 3
inputs: member of political party
backward
function: Find
inputs: Frank Miller
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: creator
backward
function: FilterConcept
dependencies: 7
inputs: film character
function: Or
dependencies: 2
8
function: Count
dependencies: 9
Answer: 2