Question: How many cities are the twinned administrative body of the large city that is Fort Lauderdale's twinned administrative body, starting on the date 2011-01-01?
Choices: 3
4
5
6
7
8
9
10
11
12
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "big city" . ?e_2 <twinned_administrative_body> ?e_1 . ?e_2 <pred:name> "Fort Lauderdale" . [ <pred:fact_h> ?e_2 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:date> "2011-01-01"^^xsd:date .   }
Program:
function: Find
inputs: Fort Lauderdale
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: QFilterDate
dependencies: 1
inputs: start time
2011-01-01
=
function: FilterConcept
dependencies: 2
inputs: big city
function: Relate
dependencies: 3
inputs: twinned administrative body
backward
function: FilterConcept
dependencies: 4
inputs: city
function: Count
dependencies: 5
Answer: 3