Question: How many hip hop music renditions originate in the sovereign state that contains the Alabama administrative division (that is an administrative division of the United States of America) starting in the year 1819?
Choices: 2
3
4
5
6
7
8
9
10
11
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "hip hop music" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "sovereign state" . ?e_1 <contains_administrative_territorial_entity> ?e_2 . ?e_2 <pred:name> "Alabama" . ?e_3 <contains_administrative_territorial_entity> ?e_2 . ?e_3 <pred:name> "United States of America" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <contains_administrative_territorial_entity> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv . ?qpv <pred:year> 1819 .   }
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: Find
inputs: Alabama
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: contains administrative territorial entity
backward
function: QFilterYear
dependencies: 4
inputs: start time
1819
=
function: FilterConcept
dependencies: 5
inputs: sovereign state
function: Relate
dependencies: 6
inputs: country of origin
backward
function: FilterConcept
dependencies: 7
inputs: hip hop music
function: Count
dependencies: 8
Answer: 11