Question: How many professions either have the SBC-2010 occupation code of 610405 or are appointed by the United States House of Representatives?
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> "profession" .  { ?e <SBC-2010_occupation_code> ?pv . ?pv <pred:value> "610405" .  } UNION { ?e <appointed_by> ?e_1 . ?e_1 <pred:name> "United States House of Representatives" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: SBC-2010 occupation code
610405
function: FilterConcept
dependencies: 1
inputs: profession
function: Find
inputs: United States House of Representatives
function: Relate
dependencies: 3
inputs: appointed by
backward
function: FilterConcept
dependencies: 4
inputs: profession
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2