0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

dbpediaの研究 その35

Posted at

概要 

dbpediaが難解なので、手出してみる。
温泉宿・適応症LOD、やってみた。
山形の温泉、leafletで表示してみた。

写真

無題.jpg

投げたsparql

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX schema: <https://schema.org/>
PREFIX dbpedia-owl: <http://dbpedia.org/ontology/>
PREFIX prop-ja: <http://ja.dbpedia.org/property/>
PREFIX hs: <http://purl.org/net/hotspring/>
PREFIX geo: <http://www.w3.org/2003/01/geo/wgs84_pos#>

SELECT DISTINCT ?title ?lat ?lon
WHERE {
    ?link schema:name ?title;
        geo:lat ?lat;
        geo:long ?lon;
        schema:address ?address.
    FILTER regex(?address, "山形")
} 

成果物

以上。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?