%%sparql

PREFIX rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX owl:  <http://www.w3.org/2002/07/owl#>
PREFIX xsd:  <http://www.w3.org/2001/XMLSchema#>

PREFIX loco: <http://www.example.com/location/ontology/>
PREFIX locr: <http://www.example.com/location/resource#>
PREFIX soco: <http://www.example.com/soccer/ontology/>
PREFIX socr: <http://www.example.com/soccer/resource#>
prefix so:   <https://schema.org/>

INSERT DATA
{
#
# Teams
#
  soco:Team a so:SportsTeam .

  socr:Arsenal a soco:Team ;
    rdfs:label "Arsenal" ;
    soco:teamName "Arsenal F.C." ;
    soco:nickname "The Gunners" ;
    soco:founded 1886 ;
    soco:currentLeague socr:EPL ;
    soco:homeStadium socr:The_Emirates .
  socr:Chelsea a soco:Team ;
    rdfs:label "Chelsea" ;
    soco:teamName "Chelsea F.C." ;
    soco:nickname "The Blues" ;
    soco:currentLeague socr:EPL ;
    soco:founded 1905 ;
    soco:homeStadium socr:Stamford_Bridge .
  socr:Spurs a soco:Team ;
    rdfs:label "Tottenham Hotspur" ;
    soco:teamName "Tottenham Hotspur F.C." ;
    soco:nickname "Spurs" ;
    soco:currentLeague socr:EPL ;
    soco:founded 1882 ;
    soco:homeStadium socr:Tottenham_Hotspur_Stadium .
  socr:West_Ham a soco:Team ;
    rdfs:label "West Ham United" ;
    soco:teamName "West Ham United F.C." ;
    soco:nickname "The Hammers" ;
    soco:currentLeague socr:EPL ;
    soco:founded 1895 ;
    soco:homeStadium socr:London_Stadium .
  socr:Liverpool a soco:Team ;
    rdfs:label "Liverpool" ;
    soco:teamName "Liverpool F.C." ;
    soco:nickname "The Reds" ;
    soco:currentLeague socr:EPL ;
    soco:founded 1892 ;
    soco:homeStadium socr:Anfield .
  socr:Everton a soco:Team ;
    rdfs:label "Everton" ;
    soco:teamName "Everton F.C." ;
    soco:nickname "The Toffees" ;
    soco:currentLeague socr:EPL ;
    soco:founded 1878 ;
    soco:homeStadium socr:Goodison_Park .
  socr:Manchester_United a soco:Team ;
    rdfs:label "Manchester United" ;
    soco:teamName "Manchester United F.C." ;
    soco:nickname "The Red Devils" ;
    soco:currentLeague socr:EPL ;
    soco:founded 1878 ;
    soco:homeStadium socr:Old_Trafford .
  socr:Manchester_City a soco:Team ;
    rdfs:label "Manchester City" ;
    soco:teamName "Manchester City F.C" ;
    soco:nickname "The Citizens" ;
    soco:currentLeague socr:EPL ;
    soco:founded 1880 ;
    soco:homeStadium socr:The_Etihad .
  socr:Wolves a soco:Team ;
    rdfs:label "Wolverhampton Wanderers" ;
    soco:teamName "Wolverhampton Wanderers F.C" ;
    soco:nickname "Wolves" ;
    soco:currentLeague socr:EPL ;
    soco:founded 1877 ;
    soco:homeStadium socr:Molineux .
  socr:Burnley a soco:Team ;
    rdfs:label "Burnley" ;
    soco:teamName "Burnley F.C" ;
    soco:nickname "The Clarets" ;
    soco:currentLeague socr:EPL ;
    soco:founded 1882 ;
    soco:homeStadium socr:Turf_Moor .
  socr:Sheffield_United a soco:Team ;
    rdfs:label "Sheffield United" ;
    soco:teamName "Sheffield United F.C" ;
    soco:nickname "The Blades" ;
    soco:currentLeague socr:EPL ;
    soco:founded 1889 ;
    soco:homeStadium socr:Bramall_Lane .
  socr:Crystal_Palace a soco:Team ;
    rdfs:label "Crystal Palace" ;
    soco:teamName "Crystal Palace F.C" ;
    soco:nickname "Eagles" ;
    soco:currentLeague socr:EPL ;
    soco:founded 1905 ;
    soco:homeStadium socr:Selhurst_Park .
  socr:Southampton a soco:Team ;
    rdfs:label "Southampton" ;
    soco:teamName "Southampton F.C" ;
    soco:nickname "The Saints" ;
    soco:currentLeague socr:EPL ;
    soco:founded 1885 ;
    soco:homeStadium socr:St_Marys .
  socr:Newcastle_United a soco:Team ;
    rdfs:label "Newcastle United" ;
    soco:teamName "Newcastle United F.C" ;
    soco:nickname "The Magpies" ;
    soco:currentLeague socr:EPL ;
    soco:founded 1892 ;
    soco:homeStadium socr:St_James_Park .
  socr:Brighton a soco:Team ;
    rdfs:label "Brighton and Hove Albion" ;
    soco:teamName "Brighton and Hove Albion F.C" ;
    soco:nickname "Seagulls" ;
    soco:currentLeague socr:EPL ;
    soco:founded 1901 ;
    soco:homeStadium socr:Amex_Stadium .
  socr:Watford a soco:Team ;
    rdfs:label "Watford" ;
    soco:teamName "Watford F.C." ;
    soco:nickname "Hornets" ;
    soco:currentLeague socr:EPL ;
    soco:founded 1898 ;
    soco:homeStadium socr:Vicarage_Road .
  socr:Bournemouth a soco:Team ;
    rdfs:label "Bournemouth" ;
    soco:teamName "Bournemouth F.C." ;
    soco:nickname "The Cherries" ;
    soco:currentLeague socr:EPL ;
    soco:founded 1899 ;
    soco:homeStadium socr:Vitality_Stadium .
  socr:Aston_Villa a soco:Team ;
    rdfs:label "Aston Villa" ;
    soco:teamName "Aston Villa F.C." ;
    soco:nickname "The Villans" ;
    soco:currentLeague socr:EPL ;
    soco:founded 1897 ;
    soco:homeStadium socr:Villa_Park .
  socr:Leicester_City a soco:Team ;
    rdfs:label "Leicester City" ;
    soco:teamName "Leicester City F.C." ;
    soco:nickname "The Foxes" ;
    soco:currentLeague socr:EPL ;
    soco:founded 1884 ;
    soco:homeStadium socr:King_Power_Stadium .
  socr:Norwich_City a soco:Team ;
    rdfs:label "Norwich City" ;
    soco:teamName "Norwich City F.C." ;
    soco:nickname "The Canaries" ;
    soco:currentLeague socr:EPL ;
    soco:founded 1902 ;
    soco:homeStadium socr:Carrow_Road_Stadium .
#
#
# Stadiums
#
  soco:Stadium a so:StadiumOrArena .

  socr:The_Emirates a soco:Stadium ;
    rdfs:label "The Emirates" ;
    soco:capacity 60704 ;
    soco:opened 2006 ;
    so:location locr:London .
  socr:Stamford_Bridge a soco:Stadium ;
    rdfs:label "Stamford Bridge" ;
    soco:capacity 40834 ;
    soco:opened 1877 ;
    so:location locr:London .
  socr:Tottenham_Hotspur_Stadium a soco:Stadium ;
    rdfs:label "Tottenham Hotspur Stadium" ;
    soco:capacity 62214 ;
    soco:opened 2019 ;
    so:location locr:London .
  socr:London_Stadium a soco:Stadium ;
    rdfs:label "London Stadium" ;
    soco:capacity 60000 ;
    soco:opened 2016 ;
    so:location locr:London .
  socr:Anfield a soco:Stadium ;
    rdfs:label "Anfield" ;
    soco:capacity 53394 ;
    soco:opened 1884 ;
    so:location locr:Liverpool .
  socr:Goodison_Park a soco:Stadium ;
    rdfs:label "Goodison Park" ;
    soco:capacity 39414 ;
    soco:opened 1892 ;
    so:location locr:Liverpool .
  socr:Old_Trafford a soco:Stadium ;
    rdfs:label "Old Trafford" ;
    soco:capacity 75643 ;
    soco:opened 1910 ;
    so:location locr:Manchester .
  socr:The_Etihad a soco:Stadium ;
    rdfs:label "Etihad Stadium" ;
    soco:capacity 55107 ;
    soco:opened 2003 ;
    so:location locr:Manchester .
  socr:Molineux a soco:Stadium ;
    rdfs:label "Molineux Stadium" ;
    soco:capacity 32050 ;
    soco:opened 1889 ;
    so:location locr:Wolverhampton .
  socr:Turf_Moor a soco:Stadium ;
    rdfs:label "Turf Moor" ;
    soco:capacity 21944 ;
    soco:opened 1883 ;
    so:location locr:Burnley .
  socr:Bramall_Lane a soco:Stadium ;
    rdfs:label "Bramall Lane" ;
    soco:capacity 32125 ;
    soco:opened 1855 ;
    so:location locr:Sheffield .
  socr:Selhurst_Park a soco:Stadium ;
    rdfs:label "Selhurst Park Stadium" ;
    soco:capacity 25486 ;
    soco:opened 1924 ;
    so:location locr:London .
  socr:St_Marys a soco:Stadium ;
    rdfs:label "St. Mary's Stadium" ;
    soco:capacity 32384 ;
    soco:opened 2001 ;
    so:location locr:Southampton .
  socr:St_James_Park a soco:Stadium ;
    rdfs:label "St. James' Park" ;
    soco:capacity 52305 ;
    soco:opened 1880 ;
    so:location locr:Newcastle .
  socr:Amex_Stadium a soco:Stadium ;
    rdfs:label "American Express Community Stadium" ;
    soco:capacity 30750 ;
    soco:opened 2011 ;
    so:location locr:Brighton .
  socr:Vicarage_Road a soco:Stadium ;
    rdfs:label "Vicarage Road" ;
    soco:capacity 22200 ;
    soco:opened 1922 ;
    so:location locr:Watford .
  socr:Vitality_Stadium a soco:Stadium ;
    rdfs:label "Vitality Stadium" ;
    soco:capacity 11364 ;
    soco:opened 1910 ;
    so:location locr:Bournemouth .
  socr:Villa_Park a soco:Stadium ;
    rdfs:label "Villa Park" ;
    soco:capacity 42095 ;
    soco:opened 1897 ;
    so:location locr:Birmingham .
  socr:King_Power_Stadium a soco:Stadium ;
    rdfs:label "King Power Stadium" ;
    soco:capacity 32261 ;
    soco:opened 2002 ;
    so:location locr:Leicester .
  socr:Carrow_Road_Stadium a soco:Stadium ;
    rdfs:label "Carrow Road Stadium" ;
    soco:capacity 27359 ;
    soco:opened 1935 ;
    so:location locr:Norwich .

#
# Cities
#
  locr:London a so:City ;
    rdfs:label "London" .
  locr:Liverpool a so:City ;
    rdfs:label "Liverpool" .
  locr:Manchester a so:City ;
    rdfs:label "Manchester" .
  locr:Wolverhampton a so:City ;
    rdfs:label "Wolverhampton" .
  locr:Leicester a so:City ;
    rdfs:label "Leicester" .
  locr:Brighton a so:City ;
    rdfs:label "Brighton" .
  locr:Southampton a so:City ;
    rdfs:label "Southampton" .
  locr:Newcastle a so:City ;
    rdfs:label "Newcastle" .
  locr:Sheffield a so:City ;
    rdfs:label "Sheffield" .
  locr:Birmingham a so:City ;
    rdfs:label "Birmingham" .
  locr:Watford a so:City ;
    rdfs:label "Watford" .
  locr:Norwich a so:City ;
    rdfs:label "Norwich" .
  locr:Bournemouth a so:City ;
    rdfs:label "Bournemouth" .
  locr:Burnley a so:City ;
    rdfs:label "Burnley" .

#
# Leagues
#
socr:EPL a soco:League ;
  rdfs:label "English Premier League" ;
  soco:nickname "EPL"
}