Question: I need to know the city that has the official website http://www.fredericton.ca/ and that was founded by Acadians.
Choices:
Trieste
Abidjan
Kilkenny
Fredericton
Bergen
Kingston
Santo Domingo
Dundee
Chihuahua
Cairo
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.fredericton.ca/
function: FilterConcept
dependencies: 1
inputs: city
function: Find
inputs: Acadians
function: Relate
dependencies: 3
inputs: founded by
backward
function: FilterConcept
dependencies: 4
inputs: city
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <official_website> ?pv . ?pv <pred:value> "http://www.fredericton.ca/" . ?e <founded_by> ?e_1 . ?e_1 <pred:name> "Acadians" .  }
Answer: Fredericton