mark hardy is an olympic athlete affiliated with which country?
Entity
m.0d060g
Canada
class class entity
olympics.olympic_participating_country olympics.olympic_athlete_affiliation m.0j44zb6
olympics.olympic_participating_country olympics.olympic_athlete_affiliation olympics.olympic_athlete
Olympic participating country Olympic athlete affiliation Mark Hardy
none none none
olympics.olympic_participating_country.athletes olympics.olympic_athlete.country
Athletes Country
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX : <http://rdf.freebase.com/ns/> 
SELECT (?x0 AS ?value) WHERE {
SELECT DISTINCT ?x0  WHERE { 
?x0 :type.object.type :olympics.olympic_participating_country . 
?x1 :type.object.type :olympics.olympic_athlete_affiliation . 
VALUES ?x2 { :m.0j44zb6 } 
?x0 :olympics.olympic_participating_country.athletes ?x1 . 
?x2 :olympics.olympic_athlete.country ?x1 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND olympics.olympic_participating_country (JOIN olympics.olympic_participating_country.athletes (JOIN (R olympics.olympic_athlete.country) m.0j44zb6)))