Dataset 10007

From Data-gov Wiki

Jump to: navigation, search
Metadata
RDF data
Links
  • Demos:
NOTES: This dataset covers data with following features: state,fips code.
Infobox (Other Government Dataset) edit with form
  • name: USASpending.gov Code Tables


Example Usage

get FIPS code for each US state

SPARQL

execute query

prefix rdf:    <http://www.w3.org/1999/02/22-rdf-syntax-ns#> 
prefix foaf:   <http://xmlns.com/foaf/0.1/> 
prefix dg10007 <http://data-gov.tw.rpi.edu/vocab/p/10007/>

select ?state_code ?state_name
where {
  graph <http://data-gov.tw.rpi.edu/vocab/Dataset_10007> {
    ?s dg10007:name   ?state_name .
    ?s dg10007:code   ?state_code .
    ?s dg10007:source <http://www.usaspending.gov/apidocsmore.html#FIPS>
  }
}

References

Personal tools
internal pages