Question: How many symptoms have either a DiseasesDB identifier of 663 or are of a Wikidata property record producer?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "symptom" .  { ?e <DiseasesDB> ?pv . ?pv <pred:value> "663" .  } UNION { ?e_1 <Wikidata_property> ?e . ?e_1 <pred:name> "record producer" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: DiseasesDB
663
function: FilterConcept
dependencies: 1
inputs: symptom
function: Find
inputs: record producer
function: Relate
dependencies: 3
inputs: Wikidata property
forward
function: FilterConcept
dependencies: 4
inputs: symptom
function: Or
dependencies: 2
5
function: Count
dependencies: 6