SlideShare a Scribd company logo
1 of 36
Linked Environmental Data
  Alex Coley        @alexrcoley

  Stuart Williams   @skwlilac
rationale
Alex
our vision
                                                   a better
                                                   place for
                                                   people and
                                                     wildlife


                                  to achieve this we will
                  Act to reduce                                                     Work with
                                    Protect and          Work with people
                 climate change                                                businesses and other
                                  improve water,        and communities to
                     and its                                                   organisations to use
                                    land and air        create better places
                 consequences                                                    resources wisely




                                             Be the best we
                                                  can




We cannot do this alone. We work closely with a wide range of
partners including government, business, local authorities, other
agencies, civil society groups and the communities we serve.
how we used to supply data



         EA hosted web services
         (and very restricted access to the actual data)




                         data supplies &
                         information requests
INSPIRE
Infrastructure for Spatial Information in
        the European Community
bathing water quality

                               start of season
                                                                           Press interest
                                      15th May




                                                 bathing season
                                                                  20-22 samples
     what information                                               in 22weeks
 is relevant to the public
      about beaches                30th Sept
                                annual report
                                   November

                       what
                       we do      December
Proof of concept (one off)



Pilot




BAU and extend
defining things (and context)
why Linked data
Alex
Tenby
      Tourist Information Centre
    Unit 2 , The Gateway Complex
        Tenby. Wales , SA70 7LT
          Tel: 01834 842 402
          Fax: 01834 845 439
Email: tenby.tic@pembrokeshire.gov.uk




                                        Photo by Skellig2008 (flickr)
Day 1                Day 1-3                            Day 4

                                                              entered onto monitoring /
                                                              operational database



Sampling happens     Lab analysis happens

                                                                                          Tuesday (snapshot)


                              available via data.gov.uk
     Bathing Water
      Weekly/Daily
    assessment run
                                                                                               available on WIYBY




  Linked data
      “feeds”                                                                              available on EyeOnEarth

                                                 available on our own apps


                             available on other apps
more than ‘just’ linked data


                                       api configuration *
                                                             applications
                      update process
    data modelling




                                        additional data
                                                              mini apps




* api as organised URI space
  with consistent behaviours            documentation        others apps
practical issues
Stuart
URIs + Governance
       Stable points of reference

                                                            Applications




                                                          Operational Data



                                                                        Domain
                                                  Reference Data
                                                                      Vocabularies


                                                              Standard
                                                    Vocabularies (RDF, RDFS, OWL)



               Vocabularies and Reference Data form the foundations

Image from Wikimedia Commons CC-BY-2.5
"Cool URI's don't change" but...
 http://www.w3.org/Provider/Style/URI

                                                         Stakeholder              URI Sets
                                                      Sector Governance

                                                            education              school
                                                            transport              station
                                                            environment            bathing-water
                                                            ...                    ...


                                                    http://{sector}.data.gov.uk/id/{concept}/{reference}



                                                                           thematic                code-point

                                                                    id     things
                                                                    doc    documents about things <- reference data
                                                                    data   datasets and data items
              INSPIRE
                                                                    def    vocabularies and terms
                                                                    so     spatial object
        Infrastructure for Spatial Information in
               the European Community
URI Space Map
Modelling




• Access to Domain Expertise (not just data)
    • Linkage to Legislation (terms and definitions)
• Entities and Relationships
• Lifecycles
    • Mutable and Invariant Properties
    • Sameness and difference
• What do things mean?
    • eg. Assessment Criteria
    • Code lists (G,I,F,C,N what do these mean?)
Revising Sample Assessments
http://environment.data.gov.uk/data/bathing-water-quality/in-season/sample/point{bwspid}/date/{sampleDate}/time/{sampleTime}/recordDate/{recordDate}




                                                                                                                                          bwq:recordDate    bwq:recordStatus


                                                                                                                                             2011-08-01    bwq:new

                                                                                           dct:replaces                       dct:isReplacedBy

                                                                                                                                            2011-08-04     bwq:replacement

                                                                                          dct:replaces                        dct:isReplacedBy

                                                                                                                                            2011-08-08     bwq:replacement

                                                                                          dct:replaces                       dct:isReplacedBy

                                                                                                                                            2011-08-11     bwq:withdrawal




                                                                                    recordStatus                    new -> replacement -> withdrawn


                           replaces / isReplaced linkages maintained using SPARQL Update.
Scaling Up
                Update Server
                                                                       Load
                                                                     Balancers




                                      SPARQL Update
 Upload




              Preview /
    Convert
               Review




                          Publish /
                          Remove

                                                      (Disposable)
                                                       Publishing
              Backup / Restore                         Server x N
Encouraging Use and Reuse
   RESTful API
http://environment.data.gov.uk/id/bathing-water/ukc2102-03600
http://environment.data.gov.uk/id/bathing-water
                                                                             SELECT ?item
View Control                                                                 WHERE { ... }
&view=                                                     selector                               Data
&_property={properties}          GET /doc/bathing-water                                           Store
&_metadata=                                                                                         +
                                                            viewer
                                                                             DESCRIBE            SPARQL
Page Control                                                                  <x> <y> ... <z>   Endpoint
&page=                                                     formatter
                                     Formatted Response
&pageSize=
                              'native' linked data  RDF           Endpoint

                                   semantic web      TTL
Filtering
                                                    CSV
&{property}={value}                                                              Publication Server
                            'Developer friendly'    XML    config
&min-{property}={value}                                                          (elda+fuseki+jena)
                                                   JSON
&max-{property}={value}
                          Styled data for people HTML
Misc.
&_sort=
&_lang={langTags}
&callback= (for JSONP)                                                                          Apache Jena
Encouraging Use & Reuse
Developer Friendly Formats
Encouraging Use & Reuse
 Documentation




                                                Data Model and
                                      API URI pattern Reference
http://environment.data.gov.uk/lab/
Rich Web Applications...




     English               Welsh
Embeddable Widgets and Mobile Apps
where next
Alex
Our data and information
will be usable and useful to
 whoever needs to use it
BW
                                          Rivers
                     Profile
           Bathing
            Water                   WFD

                                                   public
                                                   record
                        Reference

                                          Flood

               Linked Data

              Linked Services
Internal
Questions…
Alex and Stuart
Alex Coley
@alexrcoley
alex.coley@environment-agency.gov.uk
www.environment-agency.gov.uk
environment.data.gov.uk




Stuart Williams
@skwlilac
skw@epimorphics.com                    data.gov.uk/linked-data
www. epimorphics.com
SPARQL Update Query (part 1 of 3)
preamble and delete




  # SPARQL update query to patch up store after a publish or remove
  PREFIX qb: <http://purl.org/linked-data/cube#>
  PREFIX bwq: <http://environment.data.gov.uk/def/bathing-water-quality/>
  PREFIX dct: <http://purl.org/dc/terms/>
  PREFIX interval: <http://reference.data.gov.uk/def/intervals/>

  # Remove previous   replaces/replacedBy links for records
  DELETE {
       ?update        dct:replaces     ?predecessor .
       ?predecessor   dct:isReplacedBy ?update . }
  WHERE {
       ?update        dct:replaces     ?predecessor .
       ?predecessor   dct:isReplacedBy ?update . } ;
SPARQL Update Query (part 2 of 3)
insert: find an update record and its predecessors

# Reconstruct links based on current replacements/withdrawals
INSERT {
    ?update      dct:replaces     ?predecessor .
    ?predecessor dct:isReplacedBy ?update . }
WHERE {
   ?update a                   bwq:SampleAssessment;
           bwq:bathingWater    ?bw;
           bwq:samplingPoint   ?sp;
           bwq:sampleDateTime ?u_stime ;
           bwq:recordDate      ?u_recordDate;
   { ?update bwq:recordStatus     ?bwq:withdrawal }
   UNION
   { ?update bwq:recordStatus     ?bwq:replacement }

     # Find a ?prececessor
     ?predecessor a              bwq:SampleAssessment;
            bwq:bathingWater     ?bw;
            bwq:samplingPoint    ?sp;
            bwq:sampleDateTime   ?u_stime;
            bwq:recordDate       ?pred_recordDate;
            .
      FILTER (?pred_recordDate<?u_recordDate)
SPARQL Update Query (part 3 of 3)
insert: ensure there is no matching ?probe between ?update and ?predecessor




      # Make sure that the is no ?probe between ?update and its immediate
      # predecessor.
      OPTIONAL {
        ?probe a                  bwq:SampleAssessment;
              bwq:bathingWater    ?bw;
              bwq:samplingPoint   ?sp;
              bwq:sampleDateTime ?u_stime;
              bwq:recordDate      ?probe_recordDate;
         FILTER ( ?probe_recordDate > ?pred_recordDate &&
                  ?u_recordDate > ?probe_recordDate)
      } FILTER (!bound(?probe))
} ;
Environmental Linked Data - Semtech Biz London

More Related Content

Similar to Environmental Linked Data - Semtech Biz London

Using linked data and the semantic web - "powered by INSPIRE" conference pres...
Using linked data and the semantic web - "powered by INSPIRE" conference pres...Using linked data and the semantic web - "powered by INSPIRE" conference pres...
Using linked data and the semantic web - "powered by INSPIRE" conference pres...Alex Coley
 
Industrialized Linked Data
Industrialized Linked DataIndustrialized Linked Data
Industrialized Linked DataDave Reynolds
 
Linked Data at the Open University: From Technical Challenges to Organization...
Linked Data at the Open University: From Technical Challenges to Organization...Linked Data at the Open University: From Technical Challenges to Organization...
Linked Data at the Open University: From Technical Challenges to Organization...Mathieu d'Aquin
 
Craig Walker_TERN Eco-informatics: Managing and delivering ecological researc...
Craig Walker_TERN Eco-informatics: Managing and delivering ecological researc...Craig Walker_TERN Eco-informatics: Managing and delivering ecological researc...
Craig Walker_TERN Eco-informatics: Managing and delivering ecological researc...TERN Australia
 
Water and Environmental Hub - MP Michell Rempel at University of Lethbridge -...
Water and Environmental Hub - MP Michell Rempel at University of Lethbridge -...Water and Environmental Hub - MP Michell Rempel at University of Lethbridge -...
Water and Environmental Hub - MP Michell Rempel at University of Lethbridge -...Alex Joseph
 
Linked Data for Federation of OER Data &amp; Repositories
Linked Data for Federation of OER Data &amp; RepositoriesLinked Data for Federation of OER Data &amp; Repositories
Linked Data for Federation of OER Data &amp; RepositoriesStefan Dietze
 
Soeren okfn greece meetup
Soeren okfn greece meetupSoeren okfn greece meetup
Soeren okfn greece meetupOKFN-GR
 
Knowledge Base+: a Cloud-Based Community Knowledge Base
Knowledge Base+: a Cloud-Based Community Knowledge BaseKnowledge Base+: a Cloud-Based Community Knowledge Base
Knowledge Base+: a Cloud-Based Community Knowledge Basesherif user group
 
Repository Federation: Towards Data Interoperability
Repository Federation: Towards Data InteroperabilityRepository Federation: Towards Data Interoperability
Repository Federation: Towards Data InteroperabilityRobert H. McDonald
 
Using linked data for dataset publication
Using linked data for dataset publicationUsing linked data for dataset publication
Using linked data for dataset publicationDave Reynolds
 
CNI Fall 2011 Meeting Presentation Margaret Hedstrom & Robert McDonald (Dec. ...
CNI Fall 2011 Meeting Presentation Margaret Hedstrom & Robert McDonald (Dec. ...CNI Fall 2011 Meeting Presentation Margaret Hedstrom & Robert McDonald (Dec. ...
CNI Fall 2011 Meeting Presentation Margaret Hedstrom & Robert McDonald (Dec. ...SEAD
 
Digital Library Federation - DataNets Panel presentation (Nov. 1st, 2011)
Digital Library Federation - DataNets Panel presentation (Nov. 1st, 2011)Digital Library Federation - DataNets Panel presentation (Nov. 1st, 2011)
Digital Library Federation - DataNets Panel presentation (Nov. 1st, 2011)SEAD
 
dsnotify presentation at www2010
dsnotify presentation at www2010 dsnotify presentation at www2010
dsnotify presentation at www2010 Niko Popitsch
 
Water and Environmental Hub - U of L
Water and Environmental Hub - U of LWater and Environmental Hub - U of L
Water and Environmental Hub - U of LCybera Inc.
 
Open Data Open Innovation and The Cloud gayler berlin nov12
Open Data Open Innovation and The Cloud   gayler berlin nov12Open Data Open Innovation and The Cloud   gayler berlin nov12
Open Data Open Innovation and The Cloud gayler berlin nov12Mark Gayler
 
Towards Lightweight Cyber-Physical Energy Systems using Linked Data, the Web ...
Towards Lightweight Cyber-Physical Energy Systems using Linked Data, the Web ...Towards Lightweight Cyber-Physical Energy Systems using Linked Data, the Web ...
Towards Lightweight Cyber-Physical Energy Systems using Linked Data, the Web ...Edward Curry
 
How Linked Data is transforming eGovernment
How Linked Data is transforming eGovernmentHow Linked Data is transforming eGovernment
How Linked Data is transforming eGovernmentNikos Loutas
 

Similar to Environmental Linked Data - Semtech Biz London (20)

Using linked data and the semantic web - "powered by INSPIRE" conference pres...
Using linked data and the semantic web - "powered by INSPIRE" conference pres...Using linked data and the semantic web - "powered by INSPIRE" conference pres...
Using linked data and the semantic web - "powered by INSPIRE" conference pres...
 
Industrialized Linked Data
Industrialized Linked DataIndustrialized Linked Data
Industrialized Linked Data
 
Linked Data at the Open University: From Technical Challenges to Organization...
Linked Data at the Open University: From Technical Challenges to Organization...Linked Data at the Open University: From Technical Challenges to Organization...
Linked Data at the Open University: From Technical Challenges to Organization...
 
Craig Walker_TERN Eco-informatics: Managing and delivering ecological researc...
Craig Walker_TERN Eco-informatics: Managing and delivering ecological researc...Craig Walker_TERN Eco-informatics: Managing and delivering ecological researc...
Craig Walker_TERN Eco-informatics: Managing and delivering ecological researc...
 
Water and Environmental Hub - MP Michell Rempel at University of Lethbridge -...
Water and Environmental Hub - MP Michell Rempel at University of Lethbridge -...Water and Environmental Hub - MP Michell Rempel at University of Lethbridge -...
Water and Environmental Hub - MP Michell Rempel at University of Lethbridge -...
 
Linked Data for Federation of OER Data &amp; Repositories
Linked Data for Federation of OER Data &amp; RepositoriesLinked Data for Federation of OER Data &amp; Repositories
Linked Data for Federation of OER Data &amp; Repositories
 
Soeren okfn greece meetup
Soeren okfn greece meetupSoeren okfn greece meetup
Soeren okfn greece meetup
 
Knowledge Base+: a Cloud-Based Community Knowledge Base
Knowledge Base+: a Cloud-Based Community Knowledge BaseKnowledge Base+: a Cloud-Based Community Knowledge Base
Knowledge Base+: a Cloud-Based Community Knowledge Base
 
Repository Federation: Towards Data Interoperability
Repository Federation: Towards Data InteroperabilityRepository Federation: Towards Data Interoperability
Repository Federation: Towards Data Interoperability
 
Using linked data for dataset publication
Using linked data for dataset publicationUsing linked data for dataset publication
Using linked data for dataset publication
 
CNI Fall 2011 Meeting Presentation Margaret Hedstrom & Robert McDonald (Dec. ...
CNI Fall 2011 Meeting Presentation Margaret Hedstrom & Robert McDonald (Dec. ...CNI Fall 2011 Meeting Presentation Margaret Hedstrom & Robert McDonald (Dec. ...
CNI Fall 2011 Meeting Presentation Margaret Hedstrom & Robert McDonald (Dec. ...
 
Digital Library Federation - DataNets Panel presentation (Nov. 1st, 2011)
Digital Library Federation - DataNets Panel presentation (Nov. 1st, 2011)Digital Library Federation - DataNets Panel presentation (Nov. 1st, 2011)
Digital Library Federation - DataNets Panel presentation (Nov. 1st, 2011)
 
dsnotify presentation at www2010
dsnotify presentation at www2010 dsnotify presentation at www2010
dsnotify presentation at www2010
 
Water and Environmental Hub - U of L
Water and Environmental Hub - U of LWater and Environmental Hub - U of L
Water and Environmental Hub - U of L
 
Saadallah vtls
Saadallah vtlsSaadallah vtls
Saadallah vtls
 
Open Data Open Innovation and The Cloud gayler berlin nov12
Open Data Open Innovation and The Cloud   gayler berlin nov12Open Data Open Innovation and The Cloud   gayler berlin nov12
Open Data Open Innovation and The Cloud gayler berlin nov12
 
Icm sem tech_master
Icm sem tech_masterIcm sem tech_master
Icm sem tech_master
 
Supporting the Research Data Life Cycle
Supporting the Research Data Life CycleSupporting the Research Data Life Cycle
Supporting the Research Data Life Cycle
 
Towards Lightweight Cyber-Physical Energy Systems using Linked Data, the Web ...
Towards Lightweight Cyber-Physical Energy Systems using Linked Data, the Web ...Towards Lightweight Cyber-Physical Energy Systems using Linked Data, the Web ...
Towards Lightweight Cyber-Physical Energy Systems using Linked Data, the Web ...
 
How Linked Data is transforming eGovernment
How Linked Data is transforming eGovernmentHow Linked Data is transforming eGovernment
How Linked Data is transforming eGovernment
 

Recently uploaded

08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 

Recently uploaded (20)

08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 

Environmental Linked Data - Semtech Biz London

  • 1. Linked Environmental Data Alex Coley @alexrcoley Stuart Williams @skwlilac
  • 3. our vision a better place for people and wildlife to achieve this we will Act to reduce Work with Protect and Work with people climate change businesses and other improve water, and communities to and its organisations to use land and air create better places consequences resources wisely Be the best we can We cannot do this alone. We work closely with a wide range of partners including government, business, local authorities, other agencies, civil society groups and the communities we serve.
  • 4. how we used to supply data EA hosted web services (and very restricted access to the actual data) data supplies & information requests
  • 5. INSPIRE Infrastructure for Spatial Information in the European Community
  • 6. bathing water quality start of season Press interest 15th May bathing season 20-22 samples what information in 22weeks is relevant to the public about beaches 30th Sept annual report November what we do December
  • 7. Proof of concept (one off) Pilot BAU and extend
  • 10.
  • 11. Tenby Tourist Information Centre Unit 2 , The Gateway Complex Tenby. Wales , SA70 7LT Tel: 01834 842 402 Fax: 01834 845 439 Email: tenby.tic@pembrokeshire.gov.uk Photo by Skellig2008 (flickr)
  • 12. Day 1 Day 1-3 Day 4 entered onto monitoring / operational database Sampling happens Lab analysis happens Tuesday (snapshot) available via data.gov.uk Bathing Water Weekly/Daily assessment run available on WIYBY Linked data “feeds” available on EyeOnEarth available on our own apps available on other apps
  • 13. more than ‘just’ linked data api configuration * applications update process data modelling additional data mini apps * api as organised URI space with consistent behaviours documentation others apps
  • 14.
  • 16. URIs + Governance Stable points of reference Applications Operational Data Domain Reference Data Vocabularies Standard Vocabularies (RDF, RDFS, OWL) Vocabularies and Reference Data form the foundations Image from Wikimedia Commons CC-BY-2.5
  • 17. "Cool URI's don't change" but... http://www.w3.org/Provider/Style/URI Stakeholder URI Sets Sector Governance education school transport station environment bathing-water ... ... http://{sector}.data.gov.uk/id/{concept}/{reference} thematic code-point id things doc documents about things <- reference data data datasets and data items INSPIRE def vocabularies and terms so spatial object Infrastructure for Spatial Information in the European Community
  • 19. Modelling • Access to Domain Expertise (not just data) • Linkage to Legislation (terms and definitions) • Entities and Relationships • Lifecycles • Mutable and Invariant Properties • Sameness and difference • What do things mean? • eg. Assessment Criteria • Code lists (G,I,F,C,N what do these mean?)
  • 20. Revising Sample Assessments http://environment.data.gov.uk/data/bathing-water-quality/in-season/sample/point{bwspid}/date/{sampleDate}/time/{sampleTime}/recordDate/{recordDate} bwq:recordDate bwq:recordStatus 2011-08-01 bwq:new dct:replaces dct:isReplacedBy 2011-08-04 bwq:replacement dct:replaces dct:isReplacedBy 2011-08-08 bwq:replacement dct:replaces dct:isReplacedBy 2011-08-11 bwq:withdrawal recordStatus new -> replacement -> withdrawn replaces / isReplaced linkages maintained using SPARQL Update.
  • 21. Scaling Up Update Server Load Balancers SPARQL Update Upload Preview / Convert Review Publish / Remove (Disposable) Publishing Backup / Restore Server x N
  • 22. Encouraging Use and Reuse RESTful API http://environment.data.gov.uk/id/bathing-water/ukc2102-03600 http://environment.data.gov.uk/id/bathing-water SELECT ?item View Control WHERE { ... } &view= selector Data &_property={properties} GET /doc/bathing-water Store &_metadata= + viewer DESCRIBE SPARQL Page Control <x> <y> ... <z> Endpoint &page= formatter Formatted Response &pageSize= 'native' linked data RDF Endpoint semantic web TTL Filtering CSV &{property}={value} Publication Server 'Developer friendly' XML config &min-{property}={value} (elda+fuseki+jena) JSON &max-{property}={value} Styled data for people HTML Misc. &_sort= &_lang={langTags} &callback= (for JSONP) Apache Jena
  • 23. Encouraging Use & Reuse Developer Friendly Formats
  • 24. Encouraging Use & Reuse Documentation Data Model and API URI pattern Reference http://environment.data.gov.uk/lab/
  • 25. Rich Web Applications... English Welsh
  • 26. Embeddable Widgets and Mobile Apps
  • 28. Our data and information will be usable and useful to whoever needs to use it
  • 29. BW Rivers Profile Bathing Water WFD public record Reference Flood Linked Data Linked Services Internal
  • 32.
  • 33. SPARQL Update Query (part 1 of 3) preamble and delete # SPARQL update query to patch up store after a publish or remove PREFIX qb: <http://purl.org/linked-data/cube#> PREFIX bwq: <http://environment.data.gov.uk/def/bathing-water-quality/> PREFIX dct: <http://purl.org/dc/terms/> PREFIX interval: <http://reference.data.gov.uk/def/intervals/> # Remove previous replaces/replacedBy links for records DELETE { ?update dct:replaces ?predecessor . ?predecessor dct:isReplacedBy ?update . } WHERE { ?update dct:replaces ?predecessor . ?predecessor dct:isReplacedBy ?update . } ;
  • 34. SPARQL Update Query (part 2 of 3) insert: find an update record and its predecessors # Reconstruct links based on current replacements/withdrawals INSERT { ?update dct:replaces ?predecessor . ?predecessor dct:isReplacedBy ?update . } WHERE { ?update a bwq:SampleAssessment; bwq:bathingWater ?bw; bwq:samplingPoint ?sp; bwq:sampleDateTime ?u_stime ; bwq:recordDate ?u_recordDate; { ?update bwq:recordStatus ?bwq:withdrawal } UNION { ?update bwq:recordStatus ?bwq:replacement } # Find a ?prececessor ?predecessor a bwq:SampleAssessment; bwq:bathingWater ?bw; bwq:samplingPoint ?sp; bwq:sampleDateTime ?u_stime; bwq:recordDate ?pred_recordDate; . FILTER (?pred_recordDate<?u_recordDate)
  • 35. SPARQL Update Query (part 3 of 3) insert: ensure there is no matching ?probe between ?update and ?predecessor # Make sure that the is no ?probe between ?update and its immediate # predecessor. OPTIONAL { ?probe a bwq:SampleAssessment; bwq:bathingWater ?bw; bwq:samplingPoint ?sp; bwq:sampleDateTime ?u_stime; bwq:recordDate ?probe_recordDate; FILTER ( ?probe_recordDate > ?pred_recordDate && ?u_recordDate > ?probe_recordDate) } FILTER (!bound(?probe)) } ;

Editor's Notes

  1. Our reason for being here is to help create a better place for people and wildlife.Increasingly we seek to achieve this by working closely with and/or influencing a wide range of others including businesses, government, local authorities, other agencies, civil society groups, communities and individuals getting them to use our information is critical in this.To help them to use our information when we share it requires us to provide it in ways that allow it to be useful, usable and to be built upon. This in turn will further it’s reach and influence in achieving our environmental outcomes.Critically our remit rightly puts those environmental outcomes first and everything else fits around that core aim
  2. Context about bathing water qualityWe get a lot of interest about bathing water quality, every year there are press articles and lots of information requests. We make our information available through are websiteThe public are interested in lots of things about beachesButOur remit is limited So we need to make our information available in ways that it can be combined with others
  3. Demo visualisation – to show Incremental publication (able to do updates ourselves) Extend and adding scalability plus api documentation to support developers and enhanced application
  4. ContextWe have information about where we sample, the defined beach, the water quality results, other influencing things such as outflow pointsBut also of interest would be access, car parking, toilets, can you walk your dog, fishing rights, photos, history and so on
  5. Repurpose information that was previously locked up