@base <https://example.org/honeycomb/demo/> .
@prefix hive: <https://semantic.ds-labs.org/vocab/honeycomb#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix plan: <https://example.org/honeycomb/demo/town-plan/> .

plan:town-plan a hive:Diagram ;
    hive:slug "town-plan" ;
    rdfs:label "Town plan (demo)" ;
    hive:note "Every name on this page is invented." ;
    hive:mode hive:standalone ;
    hive:lattice hive:oddRPointyTop ;
    hive:formatVersion "0.4.0" ;
    hive:generator "honeycomb-core 0.4.0" ;
    hive:group plan:civic , plan:green , plan:market ;
    hive:placement plan:at-hall , plan:at-library , plan:at-station , plan:at-school , plan:at-clinic , plan:at-bakery , plan:at-grocer , plan:at-florist , plan:at-cinema , plan:at-park , plan:at-orchard , plan:at-museum ;
    hive:link plan:commute , plan:errands , plan:greenway .

plan:civic a hive:Group ;
    hive:slug "civic" ;
    rdfs:label "Civic Quarter" ;
    hive:styleKey <https://example.org/honeycomb/demo/style/civic> ;
    hive:note "Rebuilt twice; the name outlasted both." .

plan:green a hive:Group ;
    hive:slug "green" ;
    rdfs:label "Green Belt" ;
    hive:styleKey <https://example.org/honeycomb/demo/style/green> .

plan:market a hive:Group ;
    hive:slug "market" ;
    rdfs:label "Market Row" ;
    hive:styleKey <https://example.org/honeycomb/demo/style/market> .

plan:commute a hive:Link ;
    hive:slug "commute" ;
    hive:from plan:at-station ;
    hive:to plan:civic ;
    hive:routing hive:arc .

plan:errands a hive:Link ;
    hive:slug "errands" ;
    hive:from plan:civic ;
    hive:to plan:market ;
    rdfs:label "errands" .

plan:greenway a hive:Link ;
    hive:slug "greenway" ;
    hive:from plan:green ;
    hive:to plan:at-museum ;
    hive:routing hive:latticePath .

plan:bakery a hive:Tile ;
    hive:slug "bakery" ;
    rdfs:label "Bakery" ;
    hive:styleKey <https://example.org/honeycomb/demo/style/market> .

plan:cinema a hive:Tile ;
    hive:slug "cinema" ;
    rdfs:label "Cinema" ;
    hive:styleKey <https://example.org/honeycomb/demo/style/plain> .

plan:clinic a hive:Tile ;
    hive:slug "clinic" ;
    rdfs:label "Clinic" ;
    hive:styleKey <https://example.org/honeycomb/demo/style/civic> .

plan:florist a hive:Tile ;
    hive:slug "florist" ;
    rdfs:label "Florist" ;
    hive:styleKey <https://example.org/honeycomb/demo/style/market> .

plan:grocer a hive:Tile ;
    hive:slug "grocer" ;
    rdfs:label "Grocer" ;
    hive:styleKey <https://example.org/honeycomb/demo/style/market> .

plan:hall a hive:Tile ;
    hive:slug "hall" ;
    rdfs:label "Town Hall" ;
    hive:styleKey <https://example.org/honeycomb/demo/style/civic> .

plan:library a hive:Tile ;
    hive:slug "library" ;
    rdfs:label "Library" ;
    hive:styleKey <https://example.org/honeycomb/demo/style/civic> .

plan:museum a hive:Tile ;
    hive:slug "museum" ;
    rdfs:label "Museum" ;
    hive:styleKey <https://example.org/honeycomb/demo/style/plain> .

plan:orchard a hive:Tile ;
    hive:slug "orchard" ;
    rdfs:label "Orchard" ;
    hive:styleKey <https://example.org/honeycomb/demo/style/green> .

plan:park a hive:Tile ;
    hive:slug "park" ;
    rdfs:label "Park" ;
    hive:styleKey <https://example.org/honeycomb/demo/style/green> .

plan:school a hive:Tile ;
    hive:slug "school" ;
    rdfs:label "School" ;
    hive:styleKey <https://example.org/honeycomb/demo/style/civic> .

plan:station a hive:Tile ;
    hive:slug "station" ;
    rdfs:label "Station" ;
    hive:styleKey <https://example.org/honeycomb/demo/style/plain> .

plan:at-hall a hive:Placement ;
    hive:col 1 ;
    hive:row 0 ;
    hive:inGroup plan:civic ;
    hive:tile plan:hall .

plan:at-library a hive:Placement ;
    hive:col 2 ;
    hive:row 0 ;
    hive:inGroup plan:civic ;
    hive:tile plan:library .

plan:at-station a hive:Placement ;
    hive:col 5 ;
    hive:row 0 ;
    hive:tile plan:station .

plan:at-school a hive:Placement ;
    hive:col 1 ;
    hive:row 1 ;
    hive:inGroup plan:civic ;
    hive:tile plan:school .

plan:at-clinic a hive:Placement ;
    hive:col 2 ;
    hive:row 1 ;
    hive:inGroup plan:civic ;
    hive:tile plan:clinic .

plan:at-bakery a hive:Placement ;
    hive:col 4 ;
    hive:row 1 ;
    hive:inGroup plan:market ;
    hive:tile plan:bakery .

plan:at-grocer a hive:Placement ;
    hive:col 5 ;
    hive:row 1 ;
    hive:inGroup plan:market ;
    hive:tile plan:grocer .

plan:at-florist a hive:Placement ;
    hive:col 6 ;
    hive:row 1 ;
    hive:inGroup plan:market ;
    hive:tile plan:florist .

plan:at-cinema a hive:Placement ;
    hive:col 4 ;
    hive:row 2 ;
    hive:tile plan:cinema .

plan:at-park a hive:Placement ;
    hive:col 0 ;
    hive:row 3 ;
    hive:inGroup plan:green ;
    hive:tile plan:park .

plan:at-orchard a hive:Placement ;
    hive:col 1 ;
    hive:row 3 ;
    hive:inGroup plan:green ;
    hive:tile plan:orchard .

plan:at-museum a hive:Placement ;
    hive:col 3 ;
    hive:row 3 ;
    hive:tile plan:museum .

