Question: How many softwares weren't published in 2009 or have an edition FreeBSD?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 4
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "software" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2009 ) .  } UNION { ?e_1 <edition_or_translation_of> ?e . ?e_1 <pred:name> "FreeBSD" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2009
!=
function: FilterConcept
dependencies: 1
inputs: software
function: Find
inputs: FreeBSD
function: Relate
dependencies: 3
inputs: edition or translation of
forward
function: FilterConcept
dependencies: 4
inputs: software
function: Or
dependencies: 2
5
function: Count
dependencies: 6