Created
February 15, 2015 16:09
-
-
Save hideokamoto/9469e2e2afe3be1ba3b5 to your computer and use it in GitHub Desktop.
日本の世界遺産情報をDBpediaから引っ張りだす
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<code> | |
PREFIX dbpedia-owl: <http://dbpedia.org/ontology/> | |
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | |
PREFIX dcterms:<http://purl.org/dc/terms/> | |
select distinct * where { | |
?link dcterms:subject <http://ja.dbpedia.org/resource/Category:日本の世界遺産>; | |
rdfs:label ?name; | |
rdfs:comment ?cont; | |
dbpedia-owl:thumbnail ?thumb; | |
rdfs:label ?name. | |
} | |
</code> | |
<a href="http://ja.dbpedia.org/sparql?default-graph-uri=http%3A%2F%2Fja.dbpedia.org&query=PREFIX+dbpedia-owl%3A+%3Chttp%3A%2F%2Fdbpedia.org%2Fontology%2F%3E%0D%0APREFIX+rdfs%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23%3E%0D%0APREFIX+dcterms%3A%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%3E%0D%0A%0D%0Aselect+distinct+*+where+%7B%3Flink+dcterms%3Asubject+%3Chttp%3A%2F%2Fja.dbpedia.org%2Fresource%2FCategory%3A%E6%97%A5%E6%9C%AC%E3%81%AE%E4%B8%96%E7%95%8C%E9%81%BA%E7%94%A3%3E%3Brdfs%3Alabel+%3Fname%3Brdfs%3Acomment+%3Fcont%3Bdbpedia-owl%3Athumbnail+%3Fthumb%3Brdfs%3Alabel+%3Fname.%0D%0A%7D&format=text%2Fhtml&timeout=0&debug=on">http://ja.dbpedia.org/sparql?default-graph-uri=http%3A%2F%2Fja.dbpedia.org&query=PREFIX+dbpedia-owl%3A+%3Chttp%3A%2F%2Fdbpedia.org%2Fontology%2F%3E%0D%0APREFIX+rdfs%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23%3E%0D%0APREFIX+dcterms%3A%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%3E%0D%0A%0D%0Aselect+distinct+*+where+%7B%3Flink+dcterms%3Asubject+%3Chttp%3A%2F%2Fja.dbpedia.org%2Fresource%2FCategory%3A%E6%97%A5%E6%9C%AC%E3%81%AE%E4%B8%96%E7%95%8C%E9%81%BA%E7%94%A3%3E%3Brdfs%3Alabel+%3Fname%3Brdfs%3Acomment+%3Fcont%3Bdbpedia-owl%3Athumbnail+%3Fthumb%3Brdfs%3Alabel+%3Fname.%0D%0A%7D&format=text%2Fhtml&timeout=0&debug=on</a> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment