SparqlProxy

From Data-gov Wiki

Jump to: navigation, search
Important Notice: This page is outdated, for most recent information about SPARQL proxy, check http://logd.tw.rpi.edu/technology/SparqlProxy
Infobox (Web Service) edit with form
  • name: SparqlProxy


SparqlProxy (http://data-gov.tw.rpi.edu/sparql) can be used to query a SPARQL endpoint (i.e. Web Service interface of a triple store), and perform some post-process on the SPARQL query results. The results can be converted to many different formats such as CSV, Google Visualization JSON and Simile Exhibit JSON.

To learn more about SparqlProxy, read How to use SparqlProxy.

Contents

Installation

Software Depenencies

  • php
  • libxslt
  • apc (optional)

Additional Web Pages

The SPARQL XML Bindings returned by service-uri are converted using the following XSLT templates.

RESTful Service Interface Description

Parameter Status Description
service-uri stable URI of SPARQL service, e.g. http://dbpedia.org/sparql, http://logd.tw.rpi.edu:8890/sparql
query stable SPARQL query string
query-uri stable URI of SPARQL query. Use of "query-uri" and "query" are mutually exclusive, i.e., only use one.
output stable (optional) the output format. values: xml,sparql,exhibit,gvds,csv,html. Default is xml
callback experimental (optional) callback function name. This param is only applicable to two output formats: exhibit, sparql
tqx experimental (optional) for Google Visualization API only. e.g. version:0.6;reqId:1;responseHandler:myQueryHandler
refresh-cache experimental (optional) SparqlProxy uses a cache by default. Requestor may avoid caching by setting "refresh-cache=on" in the service request

Demonstrations that use SparqlProxy

Dcterms:creator Technology used
Demo: Agencies' Dataset Contribution on Data.gov Sarah Magidson
Li Ding
RDF
SPARQL
SparqlProxy
Google Visualization Table
Google Visualization Bar Chart
Google Visualization Column Chart
Google Visualization Line Chart
Google Visualization Pie Chart
Tech: RDF-Google Visualization
Demo: Agency Budget Comparison Alvaro Graves
Li Ding
RDF
SPARQL
SparqlProxy
Google Visualization API
PHP
TDB Triple Store
Google Visualization Annotated Timeline
Demo: Agency Budget Summary Li Ding
Sarah Magidson
RDF
SPARQL
SparqlProxy
Google Visualization API
Demo: Analzying Changes of Public Library Statistics (2002 - 2008) Xian Li RDF
SPARQL
SparqlProxy
Google Visualization API
Demo: Annual Outlays by Agency Sarah Magidson RDF
SPARQL
SparqlProxy
Google Visualization API
PHP
TDB Triple Store
Google Visualization Column Chart
XSLT
Demo: Broadband Internet Use versus Total Internet Use - United States Households, 2009 Peter Coons RDF
SPARQL
SparqlProxy
Google Visualization API
Demo: Clean Air Status and Trends - Ozone Dominic DiFranzo
Li Ding
RDF
SPARQL
SparqlProxy
Google Visualization API
Simile Exhibit
Google Visualization Annotated Timeline
Demo: Comparing US-USAID and UK-DFID Global Foreign Aid James Michaelis RDF
SPARQL
SparqlProxy
Google Web Toolkit
Google Visualization API
Google Visualization GeoMap
Google Visualization Pie Chart
How to use New York Times Article Search API
Demo: Connect Tobacco Survey Data with Linked Government Data Li Ding
Tim Lebo
RDF
SPARQL
SparqlProxy
Google Visualization API
Demo: Estimate Correlations between Smoking Rate, Cigarette Tax and Beyond Sarah Magidson RDF
SPARQL
SparqlProxy
Google Visualization API
TDB Triple Store
State Variable Comparison JS API
Demo: Government Revenue Timelines Sarah Magidson RDF
SPARQL
SparqlProxy
Google Visualization API
Google Visualization Annotated Timeline
Demo: Growth of Datasets Available on Data.gov Li Ding RDF
SPARQL
SparqlProxy
Google Visualization Annotated Timeline
TDB Triple Store
Demo: Library Books Per Capita, by State Xian Li RDF
SPARQL
SparqlProxy
Google Visualization API
Demo: Linking Agency Budgets and New York Times News Alvaro Graves RDF
SPARQL
SparqlProxy
Google Visualization API
New York Times News API
Google Visualization Annotated Timeline
Demo: Linking USPS Spending and News Sarah Magidson
Li Ding
RDF
SPARQL
SparqlProxy
Google Visualization API
JavaScript
RSS
Semantic MediaWiki
Demo: Linking Wildland Fire and Government Budget Li Ding RDF
SPARQL
SparqlProxy
Google Visualization API
TDB Triple Store
Google Visualization Annotated Timeline
Demo: Medicare Claims versus Interstate Migration Peter Coons RDF
SPARQL
SparqlProxy
Google Visualization API
TDB Triple Store
Google Visualization GeoMap
Demo: Multifamily Housing Physical Inspection Scores Dominic DiFranzo RDF
SPARQL
SparqlProxy
Google Visualization API
TDB Triple Store
Simile Exhibit
Demo: NSF GRFP Honorable Mention Recipients, 2000-2009 Peter Coons RDF
SPARQL
SparqlProxy
Google Visualization API
TDB Triple Store
Google Visualization OrgChart
Demo: Net Interstate Migration 2004 to 2008 Adam Bell RDF
SPARQL
SparqlProxy
Google Visualization API
TDB Triple Store
Google Visualization GeoMap
Demo: Public Company Bankruptcy Cases, Fiscal Year 2009 Xian Li RDF
SPARQL
SparqlProxy
Google Visualization API
TDB Triple Store
Google Visualization GeoMap
Google Visualization ColumnChart
Demo: Public Housing Stimulus Funds versus Section 8 Units by State, 2009 Johanna Flores RDF
SPARQL
SparqlProxy
Google Visualization API
Google Visualization GeoMap
TDB Triple Store
Demo: State Adjusted Gross Income Versus Medicare Claims (2007) Peter Coons
Li Ding
RDF
SPARQL
SparqlProxy
Google Visualization API
TDB Triple Store
Google Visualization GeoMap
Demo: Tracking Changes of data.gov Catalog via RSS Li Ding RDF
SPARQL
SparqlProxy
SW4J diff
Demo: U.S. Postal Service Statistics, 1926-2009 Adam Bell RDF
SPARQL
SparqlProxy
Google Visualization API
Demo: U.S. Residential Energy Consumption by Appliance Type, 2005 Sarah Magidson RDF
SPARQL
SparqlProxy
Google Visualization API
TDB Triple Store
Demo: US Agency Budget Browser Li Ding RDF
SPARQL
SparqlProxy
Google Visualization API
Demo: US Broadband Adoption in Urban Versus Rural Areas, 2009 Peter Coons RDF
SPARQL
SparqlProxy
Google Visualization API
TDB Triple Store
Demo: US Global Foreign Aid, 1947-2008 James Michaelis RDF
SPARQL
SparqlProxy
Google Web Toolkit
Google Visualization API
Google Visualization GeoMap
Google Visualization Pie Chart
Demo: US Government Agencies' Contributions at Data.gov Li Ding
Sarah Magidson
RDF
SPARQL
SparqlProxy
Google Visualization Table
Google Visualization Bar Chart
Google Visualization Line Chart
Google Visualization Pie Chart
Demo: White House Visitation Patterns Li Ding RDF
SPARQL
SparqlProxy
IBM Many Eyes
Demo: White House Visitor Search Dominic DiFranzo
Li Ding
RDF
SPARQL
SparqlProxy
PHP
Google Visualization API
TDB Triple Store
Google AJAX Search API
Google Visualization Table
Demo: World Eathquake Map (MIT Exhibit) Li Ding RDF
SPARQL
SparqlProxy
Simile Exhibit
Demo: Worldwide Earthquakes Sarah Magidson RDF
SPARQL
SparqlProxy
Google Visualization API
Google Visualization GeoMap
TWDG's CSV-to-RDF web service
Facts about SparqlProxyRDF feed
Dcterms:creatorLi Ding  +, and Zhenning Shangguan  +
Dcterms:descriptionA web service that executes SPARQL query and convert the query results into formats needed by visualization APIs
Dcterms:modified2011-7-19
Foaf:homepagehttp://data-gov.tw.rpi.edu/ws/sparqlproxy.php  +
Foaf:nameSparqlProxy
Skos:altLabelSparqlProxy  +, sparqlproxy  +, and SPARQLPROXY  +
Personal tools
internal pages