Question: What are the number of class of awards whose inception time is after 1871 or whose official website is http://www.loc.gov/film/filmnfr.html ?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "class of award" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1871 ) .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> "http://www.loc.gov/film/filmnfr.html" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1871
>
function: FilterConcept
dependencies: 1
inputs: class of award
function: FindAll
function: FilterStr
dependencies: 3
inputs: official website
http://www.loc.gov/film/filmnfr.html
function: FilterConcept
dependencies: 4
inputs: class of award
function: Or
dependencies: 2
5
function: Count
dependencies: 6