Question: What is the official website of Lisbon (the one that is the twinned administrative body of Madrid)?
Choices:
http://www.erfurt.de/
http://www.fig-gymnastics.com/site/
http://www.LeonardNimoyPhotography.com/
http://www.mediaasia.com/home.php
http://www.cm-lisboa.pt/
http://www.auckland.ac.nz/
http://www.wrexhamafc.co.uk
http://www.parlzim.gov.zw/
http://www.chch.ox.ac.uk/
http://www.co.tuscarawas.oh.us
Program:
function: Find
inputs: Madrid
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: Find
inputs: Lisbon
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: official website
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Lisbon" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> "Madrid" .  ?e <official_website> ?pv .  }
Answer: http://www.cm-lisboa.pt/