Question: How many fictional career that origins from U.S.A or that may be a relative of Superman (the one this is created by using David S. Goyer).
Choices:
1
2
3
4
5
6
7
8
9
10
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of origin
backward
function: FilterConcept
dependencies: 1
inputs: fictional profession
function: Find
inputs: David S. Goyer
function: Relate
dependencies: 3
inputs: creator
backward
function: Find
inputs: Superman
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: relative
backward
function: FilterConcept
dependencies: 7
inputs: fictional profession
function: Or
dependencies: 2
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "fictional profession" .  { ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "United States of America" .  } UNION { ?e <relative> ?e_1 . ?e_1 <pred:name> "Superman" . ?e_1 <creator> ?e_2 . ?e_2 <pred:name> "David S. Goyer" .  } }
Answer: 3