Question: How many academic disciplines differ from astrology or were published after 1956 ?
Choices:
2
3
4
5
6
7
8
9
10
11
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
1956
>
function: FilterConcept
dependencies: 1
inputs: academic discipline
function: Find
inputs: astrology
function: Relate
dependencies: 3
inputs: different from
forward
function: FilterConcept
dependencies: 4
inputs: academic discipline
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "academic discipline" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1956 ) .  } UNION { ?e_1 <different_from> ?e . ?e_1 <pred:name> "astrology" .  } }
Answer: 4