s emantic a ir q uality p ortal semantic e-science fall 2011

26
SEMANTIC AIR QUALITY PORTAL Semantic e-Science Fall 2011

Post on 21-Dec-2015

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: S EMANTIC A IR Q UALITY P ORTAL Semantic e-Science Fall 2011

SEMANTIC AIR QUALITY PORTALSemantic e-Science Fall 2011

Page 2: S EMANTIC A IR Q UALITY P ORTAL Semantic e-Science Fall 2011

GROUP

Apurva Tiwari: Ontology creation Charisma Ladiwala: Data acquisition Linyun Fu: Systems Administration Rohan Dhruva: Usecase & Documentation William Gill: Front End

http://tw.rpi.edu/web/Courses/SemanticeScience/2011/airquality

Page 3: S EMANTIC A IR Q UALITY P ORTAL Semantic e-Science Fall 2011

DATA SOURCES

EPA CASTNET data Collecting measurements for pollutants In 50 sites, since 1991

Air Resources Board California Environmental Protection Agency Standard thresholds for pollutants

Page 4: S EMANTIC A IR Q UALITY P ORTAL Semantic e-Science Fall 2011

USE CASE

“Comparing and analysing Air Quality data” Allow users to visualise the air quality data in

the US Data collated from various sources

Know the air quality in the user’s region of interest Moving Travelling

Determine the risk posed by air-borne pollutants

Page 5: S EMANTIC A IR Q UALITY P ORTAL Semantic e-Science Fall 2011

QUESTION 1

How does the Air Quality of place X compare with the average air quality of New York State and what possible risks are posed by the air at place X?

Very useful for people who are planning to move to another state

Page 6: S EMANTIC A IR Q UALITY P ORTAL Semantic e-Science Fall 2011

QUESTION 2

In place X, which season poses the lowest airborne risks for a person with asthma wishing to conduct outdoor actives?

Question particularly relevant for tourists and outdoor enthusiasts

Select the best route, area, and time, keeping in mind the health restrictions

Page 7: S EMANTIC A IR Q UALITY P ORTAL Semantic e-Science Fall 2011

PROVENANCE• Thresholds for different pollutants: http://www.epa.gov/airnow/aqi_brochure_08-09.pdf A Guide to Air Quality and Health. U.S. Environmental Protection Agency Office of Air Quality Planning and Standards Outreach and Information Division Research Triangle Park, NC August 2009

Collected it from website on 10/30/2011 at 8:32 pm . Why???

• Converting concentration to AQI- Calculator: http://airnow.gov/index.cfm?action=resources.conc_aqi_calc AQI calculator: AQI to concentration U.S. Environmental Protection Agency Collected it from website on 10/30/2011 at 8:35 pm .

Why???

Page 8: S EMANTIC A IR Q UALITY P ORTAL Semantic e-Science Fall 2011

Asthma Hospital Discharges - Rate per 10,000 Population, Total – Ten Year trend.

Department of Health, NY State.

2007-2009 SPARCS Data as of October, 2010

Revised September 2011.

http://www.health.ny.gov/statistics/ny_asthma/hosp/asthma6.htm

Collected on 11/3/2011 at 9:36 am. Why???

About Asthma Emergency Department Visit Data, Hospital Discharge Data and Deaths

Department of Health, NY State.

SPARCS Data as of October, 2010.

Revised June 2009.

http://www.health.ny.gov/statistics/ny_asthma/read.htm#2About

Collected on 11/3/2011 at 10:20 am. Why???

Page 9: S EMANTIC A IR Q UALITY P ORTAL Semantic e-Science Fall 2011

•Air quality statistics and data ( Status and Trends) 2005-2009http://www.epa.gov/airtrends/factbook.htmlAir Quality Monitoring InformationUpdated December 17, 2010.

Collected on 10/31/2011 at 6:20 pm. Why???

Page 10: S EMANTIC A IR Q UALITY P ORTAL Semantic e-Science Fall 2011

ADDITIONAL PROVENANCE INFORMATION

The csv2rdf4lod automation tool:https://github.com/timrdf/csv2rdf4lod-automation.

It was downloaded on October 15,2011 at 7:24pm.

Github social coding Powered by: Dedicated servers and c

loud computing of Rackspace Hosting.

Data on how the asthma data was collected.

>>> This data will be encoded in the visualization!!!

Page 11: S EMANTIC A IR Q UALITY P ORTAL Semantic e-Science Fall 2011

NY ASTHMA HOSPITALITY DATA PROVENANCE Raw data:

http://www.health.ny.gov/statistics/ny_asthma/hosp/asthma6.htm

Companion provenance data: asthma6.htm.pml.ttl Level 2 data (only keep the columns Region/County and

Adjusted Average Rate and add a FIPS code column; delete regional/national total rows and metadata block): asthma-hospitality-discharges-2007-2009.csv

Companion provenance data: asthma-hospitality-discharges-2007-2009.csv.pml.ttl

Level 3 data: asthma-hospitality-discharges-2007-2009.csv.e1.ttl converted with csv2rdf4lod with the enhancement parameters asthma-hospitality-discharges-2007-2009.csv.e1.params.ttl

All files downloadable from http://tw.rpi.edu/web/Courses/SemanticeScience/2011/AirQuality

Page 12: S EMANTIC A IR Q UALITY P ORTAL Semantic e-Science Fall 2011

EPA AQI CATEGORY ONTOLOGY

Source: http://airnow.gov/index.cfm?action=pubs.aqiguideozone

Expressed in OWL: aqiCategory-owl.rdf <owl:Restriction>

<owl:onProperty rdf:resource="&e1prop;daily_aqi_value"/> <owl:someValuesFrom> <rdfs:Datatype> <owl:onDatatype rdf:resource="&xsd;integer"/> <owl:withRestrictions rdf:parseType="Collection“> <rdf:Description rdf:about="#Good-AQI-Category-Min“> <xsd:minInclusive rdf:datatype="&xsd;integer">0</xsd:minInclusive> </rdf:Description> </owl:withRestrictions> </rdfs:Datatype> </owl:someValuesFrom></owl:Restriction>

Tested with Jena

Page 13: S EMANTIC A IR Q UALITY P ORTAL Semantic e-Science Fall 2011

POLLUTANT ONTOLOGY

Pollutant.owl <owl:Class rdf:about="#Aldehyde“>

<rdfs:subClassOf rdf:resource="#Organic"/></owl:Class>

<owl:Class rdf:about="#Alkane“> <rdfs:subClassOf rdf:resource="#PureHydrocarbon"/></owl:Class>

Not so useful now

Page 14: S EMANTIC A IR Q UALITY P ORTAL Semantic e-Science Fall 2011

ONTOLOGY WORK

Two main ontologies in our project Threshold ontology

Defines the threshold levels for each pollutant Data obtained from CA Air Resources Board

Pollutant ontology Provides data for the map/timeline Data obtained from EPA CASTNET project Stipulated to NY State for now, to avoid data

overload

Page 15: S EMANTIC A IR Q UALITY P ORTAL Semantic e-Science Fall 2011

THRESHOLD ONTOLOGY

Page 16: S EMANTIC A IR Q UALITY P ORTAL Semantic e-Science Fall 2011

POLLUTANT ONTOLOGY

Page 17: S EMANTIC A IR Q UALITY P ORTAL Semantic e-Science Fall 2011

PROPERTIES

Data Properties: hasEPAValue- Type: Double hasCAValue- Type Double

Object Properties: hasPollutant

Page 18: S EMANTIC A IR Q UALITY P ORTAL Semantic e-Science Fall 2011

PLANS TO IMPROVE THE ONTOLOGY More Provenance data must be included:

More provenance data like the date and place for which the data has been collected should be incorporated.

Different Degrees of Thresholds: Currently, due to lack of concrete numbers, only one

level threshold has been included. But different levels of thresholds like average, hazardous, lethal etc. can be used.

New Ontology for Asthma: Right now, any knowledge on asthma has not been

admitted into the ontology. So, the ontology can be improved by letting it in the ontology.

Extension of the Pollutant Ontology: The pollutant ontology can be extended to be more

comprehensive and capture more detailed knowledge on pollutants.

Page 19: S EMANTIC A IR Q UALITY P ORTAL Semantic e-Science Fall 2011

MIDDLEWARE PHP scripts that compose pre-built queries

and cache results Take JSON results and arrange data for fast

lookup in client 2 Dimensional arrays

Data[time][fips]

Page 20: S EMANTIC A IR Q UALITY P ORTAL Semantic e-Science Fall 2011

MIDDLEWARE

Page 21: S EMANTIC A IR Q UALITY P ORTAL Semantic e-Science Fall 2011

FUTURE MIDDLEWARE

Smart look-aheads based on time and place settings made by the client

Found sparql endpoint returns max of 10k results

Currently limited data to NYS (~8k rows)

Page 22: S EMANTIC A IR Q UALITY P ORTAL Semantic e-Science Fall 2011

FRONT END

Jquery UI api (slider) http://jqueryui.com/

Polymaps (map) http://polymaps.org/

Page 23: S EMANTIC A IR Q UALITY P ORTAL Semantic e-Science Fall 2011

Dev: http://128.113.124.10/ses/example/map

Page 24: S EMANTIC A IR Q UALITY P ORTAL Semantic e-Science Fall 2011

DISPLAYING PROVENANCE DATA

Page 25: S EMANTIC A IR Q UALITY P ORTAL Semantic e-Science Fall 2011

FUTURE WORK

Add more sources of data Parse and display data for all the states

Page 26: S EMANTIC A IR Q UALITY P ORTAL Semantic e-Science Fall 2011

THANK YOU!Questions?