Question: What is the number of fictional jobs that have Selina Kyle as a birth name or whose name in native language is Wonder Woman.
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "fictional profession" .  { ?e <birth_name> ?pv . ?pv <pred:value> "Selina Kyle" .  } UNION { ?e <name_in_native_language> ?pv . ?pv <pred:value> "Wonder Woman" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: birth name
Selina Kyle
function: FilterConcept
dependencies: 1
inputs: fictional profession
function: FindAll
function: FilterStr
dependencies: 3
inputs: name in native language
Wonder Woman
function: FilterConcept
dependencies: 4
inputs: fictional profession
function: Or
dependencies: 2
5
function: Count
dependencies: 6