Question: How many positions have the deputy of the Vice President of the United States or a term not of 3.9 years?
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> "position" .  { ?e <substitute/deputy/replacement_of_office/officeholder> ?e_1 . ?e_1 <pred:name> "Vice President of the United States" .  } UNION { ?e <term_length_of_office> ?pv . ?pv <pred:unit> "year" . ?pv <pred:value> ?v . FILTER ( ?v != "3.9"^^xsd:double ) .  } }
Program:
function: Find
inputs: Vice President of the United States
function: Relate
dependencies: 0
inputs: substitute/deputy/replacement of office/officeholder
backward
function: FilterConcept
dependencies: 1
inputs: position
function: FindAll
function: FilterNum
dependencies: 3
inputs: term length of office
3.9 year
!=
function: FilterConcept
dependencies: 4
inputs: position
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2