what other leagues are in the same football system as the south of scotland football league?
Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.026hn0 m.01h0cn m.026vxr m.027wn6 m.028mnb m.0b8tmd m.01kzgz m.02q338 m.02q340 m.02q218
North Caledonian Football League Scottish Premier League East of Scotland Football League Scottish Junior Football Association, East Region Scottish Junior Football Association, West Region Scottish Junior Football Association, North Region Highland Football League Scottish Football League First Division Scottish Football League Third Division Scottish Football League Second Division
class class entity
soccer.football_league soccer.football_league_system m.08hwtn
soccer.football_league soccer.football_league_system soccer.football_league
Football League Football League System South of Scotland Football League
none none none
soccer.football_league_system.leagues soccer.football_league_system.leagues
Leagues Leagues
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_league . 
?x1 :type.object.type :soccer.football_league_system . 
VALUES ?x2 { :m.08hwtn } 
?x1 :soccer.football_league_system.leagues ?x0 . 
?x1 :soccer.football_league_system.leagues ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND soccer.football_league (JOIN (R soccer.football_league_system.leagues) (JOIN soccer.football_league_system.leagues m.08hwtn)))