Question: How many facilities have a member named Superman (that derives Superman IV: The Quest for Peace) and a visitor count per year that is under 40000000?
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> "facility" . ?e_1 <member_of> ?e . ?e_1 <pred:name> "Superman" . ?e_2 <based_on> ?e_1 . ?e_2 <pred:name> "Superman IV: The Quest for Peace" .  ?e <visitors_per_year> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "40000000"^^xsd:double ) .  }
Program:
function: Find
inputs: Superman IV: The Quest for Peace
function: Relate
dependencies: 0
inputs: based on
forward
function: Find
inputs: Superman
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: member of
forward
function: FilterConcept
dependencies: 4
inputs: facility
function: FindAll
function: FilterNum
dependencies: 6
inputs: visitors per year
40000000
<
function: FilterConcept
dependencies: 7
inputs: facility
function: And
dependencies: 5
8
function: Count
dependencies: 9
Answer: 0