Question: How many singles originate in Vatican City or open with the line: I had this perfect dream — Un sueño me envolvió?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "single" .  { ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Vatican City" .  } UNION { ?e <first_line> ?pv . ?pv <pred:value> "I had this perfect dream — Un sueño me envolvió" .  } }
Program:
function: Find
inputs: Vatican City
function: Relate
dependencies: 0
inputs: country of origin
backward
function: FilterConcept
dependencies: 1
inputs: single
function: FindAll
function: FilterStr
dependencies: 3
inputs: first line
I had this perfect dream — Un sueño me envolvió
function: FilterConcept
dependencies: 4
inputs: single
function: Or
dependencies: 2
5
function: Count
dependencies: 6