Question: What number of products have the GEMS Code of ML0106 or have the source of German Shepherd dog?
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> "product" .  { ?e <GEMS_Code> ?pv . ?pv <pred:value> "ML0106" .  } UNION { ?e_1 <this_taxon_is_source_of> ?e . ?e_1 <pred:name> "German Shepherd dog" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: GEMS Code
ML0106
function: FilterConcept
dependencies: 1
inputs: product
function: Find
inputs: German Shepherd dog
function: Relate
dependencies: 3
inputs: this taxon is source of
forward
function: FilterConcept
dependencies: 4
inputs: product
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 1