Question: What number of literary works of the official website  http://www.prettylittleliars.com/ or those  publication date is earlier than 1965.
Choices:
3
4
5
6
7
8
9
10
11
12
Answer: 12
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "literary work" .  { ?e <official_website> ?pv . ?pv <pred:value> "http://www.prettylittleliars.com/" .  } UNION { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1965 ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.prettylittleliars.com/
function: FilterConcept
dependencies: 1
inputs: literary work
function: FindAll
function: FilterYear
dependencies: 3
inputs: publication date
1965
<
function: FilterConcept
dependencies: 4
inputs: literary work
function: Or
dependencies: 2
5
function: Count
dependencies: 6