Question: How many arts are influenced by James Madison (who founded Democratic Party) and have an IAB code of 255?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Democratic Party
function: Relate
dependencies: 0
inputs: found
backward
function: Find
inputs: James Madison
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: influenced by
backward
function: FilterConcept
dependencies: 4
inputs: art
function: FindAll
function: FilterStr
dependencies: 6
inputs: IAB code
255
function: FilterConcept
dependencies: 7
inputs: art
function: And
dependencies: 5
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "art" . ?e <influenced_by> ?e_1 . ?e_1 <pred:name> "James Madison" . ?e_1 <found> ?e_2 . ?e_2 <pred:name> "Democratic Party" .  ?e <IAB_code> ?pv . ?pv <pred:value> "255" .  }
Answer: 0