Question: How many fictional professions are based on the superhero that derives Superman (born 1980)?
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> "fictional profession" . ?e <based_on> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "superhero" . ?e_3 <based_on> ?e_1 . ?e_3 <pred:name> "Superman" . ?e_3 <date_of_birth> ?pv . ?pv <pred:year> 1980 .   }
Program:
function: Find
inputs: Superman
function: FilterYear
dependencies: 0
inputs: date of birth
1980
=
function: Relate
dependencies: 1
inputs: based on
forward
function: FilterConcept
dependencies: 2
inputs: superhero
function: Relate
dependencies: 3
inputs: based on
backward
function: FilterConcept
dependencies: 4
inputs: fictional profession
function: Count
dependencies: 5
Answer: 4