Question: How many electronic musics have origins from Netherlands and are in the country Romania (the release region of Toy Story 3)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "electronic music" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Netherlands" .  ?e <country> ?e_2 . ?e_2 <pred:name> "Romania" . ?e_3 <film_release_region> ?e_2 . ?e_3 <pred:name> "Toy Story 3" .  }
Program:
function: Find
inputs: Netherlands
function: Relate
dependencies: 0
inputs: country of origin
backward
function: FilterConcept
dependencies: 1
inputs: electronic music
function: Find
inputs: Toy Story 3
function: Relate
dependencies: 3
inputs: film release region
forward
function: Find
inputs: Romania
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: country
backward
function: FilterConcept
dependencies: 7
inputs: electronic music
function: And
dependencies: 2
8
function: Count
dependencies: 9