Question: How many departments of France either are the twinned administrative body of Visalia or are in France?
Choices:
16
17
18
19
20
21
22
23
24
25
Answer: 17
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "departments of France" .  { ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> "Visalia" .  } UNION { ?e <country> ?e_1 . ?e_1 <pred:name> "France" .  } }
Program:
function: Find
inputs: Visalia
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: FilterConcept
dependencies: 1
inputs: departments of France
function: Find
inputs: France
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: departments of France
function: Or
dependencies: 2
5
function: Count
dependencies: 6