Question: How many businessperson are the occupation of Arnold Schwarzenegger or that usually has Samuel Vincent (who has the occupation of actor) as a property?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Arnold Schwarzenegger
function: Relate
dependencies: 0
inputs: occupation
forward
function: FilterConcept
dependencies: 1
inputs: businessperson
function: Find
inputs: actor
function: Relate
dependencies: 3
inputs: occupation
backward
function: Find
inputs: Samuel Vincent
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: properties for this type
backward
function: FilterConcept
dependencies: 7
inputs: businessperson
function: Or
dependencies: 2
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "businessperson" .  { ?e_1 <occupation> ?e . ?e_1 <pred:name> "Arnold Schwarzenegger" .  } UNION { ?e <properties_for_this_type> ?e_1 . ?e_1 <pred:name> "Samuel Vincent" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "actor" .  } }
Answer: 1