Question: How many animated series contain Superman (whose official website is https://www.dccomics.com/characters/superman) or contain Hercules (whose occupation is superhero)?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Superman
function: FilterStr
dependencies: 0
inputs: official website
https://www.dccomics.com/characters/superman
function: Relate
dependencies: 1
inputs: present in work
forward
function: FilterConcept
dependencies: 2
inputs: animated series
function: Find
inputs: superhero
function: Relate
dependencies: 4
inputs: occupation
backward
function: Find
inputs: Hercules
function: And
dependencies: 5
6
function: Relate
dependencies: 7
inputs: present in work
forward
function: FilterConcept
dependencies: 8
inputs: animated series
function: Or
dependencies: 3
9
function: Count
dependencies: 10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated series" .  { ?e_1 <present_in_work> ?e . ?e_1 <pred:name> "Superman" . ?e_1 <official_website> ?pv . ?pv <pred:value> "https://www.dccomics.com/characters/superman" .  } UNION { ?e_1 <present_in_work> ?e . ?e_1 <pred:name> "Hercules" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "superhero" .  } }
Answer: 2