Question: How many Italian provinces have a founding year prior to 1948 or the official website www.provincia.potenza.it?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of Italy" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1948 ) .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> "http://www.provincia.potenza.it" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1948
<
function: FilterConcept
dependencies: 1
inputs: province of Italy
function: FindAll
function: FilterStr
dependencies: 3
inputs: official website
http://www.provincia.potenza.it
function: FilterConcept
dependencies: 4
inputs: province of Italy
function: Or
dependencies: 2
5
function: Count
dependencies: 6