SPARQL Construct and XSLT

位置情報やカレンダーを含むRDFに対してSPARQLによる検索を行い、特定の範囲のデータを表示してみます。検索結果のフォーマットにCONSTRUCT句を用いて、元データと同じXSLTを利用することを試みます。クエリには、ゲートウェイ経由でXMLArmyKnife -- SPARQLを利用しています。

Some queries over geo/calendar RDF with SPARQL, and display the results using the same XSLT/CSS as for original data, taking advantage of CONSTRUCT. Here we use XMLArmyKnife -- SPARQL via gateway.

Example 1: Geo metadata query

東京都内の風景を写した写真を位置情報から検索します。次のフォームのクエリは、 周辺(緯度経度が+/-0.015度の範囲)で撮影したものを調べます。

Search pictures of Tokyo landscape by location metadata. This query will find those taken in the range of +/- 0.015 degree from

SPARQL query




Example 2: Concert calendar query

東京の演奏会カレンダーから、descriptionに を含むものを検索してみます。

Search from Tokyo concert calendar for events whose description include:

SPARQL query




Nearby: Image area and SPARQL