Question: How many genres of literature were published in a year except 1960 or open with the sentence: "Scarlett O’Hara was not beautiful, but men seldom realized it when caught by her charm as the Tarleton twins were."?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "literary genre" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1960 ) .  } UNION { ?e <first_line> ?pv . ?pv <pred:value> "Scarlett O’Hara was not beautiful, but men seldom realized it when caught by her charm as the Tarleton twins were." .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
1960
!=
function: FilterConcept
dependencies: 1
inputs: literary genre
function: FindAll
function: FilterStr
dependencies: 3
inputs: first line
Scarlett O’Hara was not beautiful, but men seldom realized it when caught by her charm as the Tarleton twins were.
function: FilterConcept
dependencies: 4
inputs: literary genre
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 5