Question: How many chemical elements have the ZVG number 500052 or are named after Moon (that is the narrative location of The Adventures of Pluto Nash)?
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> "chemical element" .  { ?e <ZVG_number> ?pv . ?pv <pred:value> "500052" .  } UNION { ?e <named_after> ?e_1 . ?e_1 <pred:name> "Moon" . ?e_2 <narrative_location> ?e_1 . ?e_2 <pred:name> "The Adventures of Pluto Nash" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ZVG number
500052
function: FilterConcept
dependencies: 1
inputs: chemical element
function: Find
inputs: The Adventures of Pluto Nash
function: Relate
dependencies: 3
inputs: narrative location
forward
function: Find
inputs: Moon
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: named after
backward
function: FilterConcept
dependencies: 7
inputs: chemical element
function: Or
dependencies: 2
8
function: Count
dependencies: 9
Answer: 2