Question: How many animated characters use the Spanish language or have the official website https://www.dccomics.com/characters/lois-lane?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated character" .  { ?e <languages_spoken,_written_or_signed> ?e_1 . ?e_1 <pred:name> "Spanish" .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> "https://www.dccomics.com/characters/lois-lane" .  } }
Program:
function: Find
inputs: Spanish
function: Relate
dependencies: 0
inputs: languages spoken, written or signed
backward
function: FilterConcept
dependencies: 1
inputs: animated character
function: FindAll
function: FilterStr
dependencies: 3
inputs: official website
https://www.dccomics.com/characters/lois-lane
function: FilterConcept
dependencies: 4
inputs: animated character
function: Or
dependencies: 2
5
function: Count
dependencies: 6