who are the athletes whose profession is soccer player and who have a country of nationality of the socialist republic of bosnia and herzegovina?
Entity Entity
m.03crwjk m.03d3f8h
Petar Jovanović Milan Đurić
class entity entity
sports.pro_athlete m.0pcq81q m.0c_kgs
sports.pro_athlete people.profession location.country
Athlete Soccer Player Socialist Republic of Bosnia and Herzegovina
none none none
people.person.profession people.person.nationality
Profession Country of nationality
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 :sports.pro_athlete . 
VALUES ?x1 { :m.0pcq81q } 
VALUES ?x2 { :m.0c_kgs } 
?x0 :people.person.profession ?x1 . 
?x0 :people.person.nationality ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND sports.pro_athlete (AND (JOIN people.person.profession m.0pcq81q) (JOIN people.person.nationality m.0c_kgs)))