Demo: Agencies' Dataset Contribution on

From Data-gov Wiki

Jump to: navigation, search

NOTE: This demo is replaced by Demo: Raw Government Data Now! Agencies' Contributions at

Infobox (legacy demo) edit with form
  • name: Demo: Agencies' Dataset Contribution on

live demo here

Facts about this Demonstration

Live Demo(s)
Video Demo(s) Data source(s)
Other Data source(s)
Technology Used
Related SPARQL
Related Demo(s)

Interesting Observations

This demo queries the catalog to list all the agencies that submitted data to, then counts the number of datasets each submitted. From the visualization, web users are presented with the following observations:

This demo queries the latest RDF file (instead of the static triple store) to generate the pie chart. The result is a pie chart of agencies according to how many datasets they have submitted to

Technical Highlights

This demo is a showcase for Tech: RDF-Google Visualization, where SPARQL query results are displayed using various Google Visulization APIs including pie chart, bar chart, column chart, line chart and table.

This demo is a showcase for SPARQL technology

  • The use of "FROM" clause in SPARQL query. This demo uses an online file as the dataset of SPARQL query, which is independent of the triple store.
  • It uses extended SPARQL query (count) to achieve counting task.
  • You can use a general purposed SPARQL web service that handles such query, e.g.
PREFIX dgp92:  <>
SELECT  ?ag  (count(*) AS ?cnt)
  ?entry dgp92:agency ?ag. 

This demo is a showcase for an experimental configurable script for displaying a data table (one column for key, one column for value)

  "title"       : "US Government Agencies' Dataset Contribution",
  "description" : "This demo was created by ... <a href=''>Dataset 92</a> - Catalog</li></ul>",
  "url_query"   : "",
  "url_demo"    : "",
  "url_wiki"    : "",
  "tab_style"   : "height:550px", 
  "show_header" : "true",
  "packages"    : [
     {"package": "Table",       "style":"height:520px", "params":"{height:500, 'allowHtml': true}"},
     {"package": "BarChart",    "style":"height:520px", "params":"{height:500}"},
     {"package": "ColumnChart", "style":"height:520px", "params":"{height:500}"},
     {"package": "LineChart",   "style":"height:520px", "params":"{height:500, logScale:true}"},
     {"package": "PieChart",    "style":"height:520px", "params":"{height:500, pieMinimalAngle: 1, is3D: true}"} 


Personal tools
internal pages