Question: What city was not established in 1709 and has ISO 3166-2 code DJ-DJ?
Choices:
Brandon
Odense
Seoul
Buenos Aires
Cardiff
Monterrey
Cork
Trieste
Djibouti
Kilkenny
Answer: Djibouti
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1709 ) . ?e <ISO_3166-2_code> ?pv_1 . ?pv_1 <pred:value> "DJ-DJ" .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1709
!=
function: FilterConcept
dependencies: 1
inputs: city
function: FindAll
function: FilterStr
dependencies: 3
inputs: ISO 3166-2 code
DJ-DJ
function: FilterConcept
dependencies: 4
inputs: city
function: And
dependencies: 2
5
function: What
dependencies: 6