Question: How many metropolitan boroughs have the official website of http://www.walsall.gov.uk/ or are different from Folkestone?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "metropolitan borough" .  { ?e <official_website> ?pv . ?pv <pred:value> "http://www.walsall.gov.uk/" .  } UNION { ?e_1 <different_from> ?e . ?e_1 <pred:name> "Folkestone" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.walsall.gov.uk/
function: FilterConcept
dependencies: 1
inputs: metropolitan borough
function: Find
inputs: Folkestone
function: Relate
dependencies: 3
inputs: different from
forward
function: FilterConcept
dependencies: 4
inputs: metropolitan borough
function: Or
dependencies: 2
5
function: Count
dependencies: 6