which football player borrows player loans from ogc nice?
Entity
m.0h1gkp6
Valentin Eysseric
class class entity
soccer.football_player soccer.football_player_loan m.0346qt
soccer.football_player soccer.football_player_loan soccer.football_team
Football player Football Player Loan OGC Nice
none none none
soccer.football_player.loans soccer.football_player_loan.borrowing_team
Loans Borrowing team
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 :soccer.football_player . 
?x1 :type.object.type :soccer.football_player_loan . 
VALUES ?x2 { :m.0346qt } 
?x0 :soccer.football_player.loans ?x1 . 
?x1 :soccer.football_player_loan.borrowing_team ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND soccer.football_player (JOIN soccer.football_player.loans (JOIN soccer.football_player_loan.borrowing_team m.0346qt)))