Question: How many songs published later than 1964 have as their main subject the Chicago twinned as an administrative body to Hamburg?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
1964
>
function: FilterConcept
dependencies: 1
inputs: song
function: Find
inputs: Hamburg
function: Relate
dependencies: 3
inputs: twinned administrative body
forward
function: Find
inputs: Chicago
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: main subject
backward
function: FilterConcept
dependencies: 7
inputs: song
function: And
dependencies: 2
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "song" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1964 ) . ?e <main_subject> ?e_1 . ?e_1 <pred:name> "Chicago" . ?e_2 <twinned_administrative_body> ?e_1 . ?e_2 <pred:name> "Hamburg" .  }
Answer: 0