Question: How many symptoms either have a Wikidata property composer or are a medical condition of Bill Clinton?
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> "symptom" .  { ?e_1 <Wikidata_property> ?e . ?e_1 <pred:name> "composer" .  } UNION { ?e_1 <medical_condition> ?e . ?e_1 <pred:name> "Bill Clinton" .  } }
Program:
function: Find
inputs: composer
function: Relate
dependencies: 0
inputs: Wikidata property
forward
function: FilterConcept
dependencies: 1
inputs: symptom
function: Find
inputs: Bill Clinton
function: Relate
dependencies: 3
inputs: medical condition
forward
function: FilterConcept
dependencies: 4
inputs: symptom
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2