Question: How many regions of France have a population of 900000000 or replace Lorraine (whose official website is http://www.lorraine.eu)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "region of France" .  { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "900000000"^^xsd:double .  } UNION { ?e <replaces> ?e_1 . ?e_1 <pred:name> "Lorraine" . ?e_1 <official_website> ?pv . ?pv <pred:value> "http://www.lorraine.eu" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
900000000
=
function: FilterConcept
dependencies: 1
inputs: region of France
function: Find
inputs: Lorraine
function: FilterStr
dependencies: 3
inputs: official website
http://www.lorraine.eu
function: Relate
dependencies: 4
inputs: replaces
backward
function: FilterConcept
dependencies: 5
inputs: region of France
function: Or
dependencies: 2
6
function: Count
dependencies: 7