SPARQL Timeliner

Fumihiro Kato edited this page Jul 16, 2015 · 1 revision

SPARQL Timeliner

http://uedayou.net/SPARQLTimeliner/

DBpedia

http://uedayou.net/SPARQLTimeliner/view/?url=../tmp/1383014964-412.json

PREFIX schema: <http://schema.org/>
PREFIX geo: <http://www.w3.org/2003/01/geo/wgs84_pos#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX dcterm: <http://purl.org/dc/terms/>
PREFIX dbpprop: <http://dbpedia.org/property/>
PREFIX dbponto: <http://dbpedia.org/ontology/>

select distinct 
  ?title ?start ?lat ?long 
  ?description ?image 
where 
{
  ?link a dbponto:PopulatedPlace ;
    rdfs:label ?title;
    dbpprop:year ?start;
    foaf:depiction ?image;
    dbponto:abstract ?description;
    geo:lat ?lat;
    geo:long ?long.
    FILTER(lang(?description) = 'en')
    FILTER(lang(?title) = 'en')
}
LIMIT 100

http://uedayou.net/SPARQLTimeliner/view/?url=..%2Ftmp%2F1383266062-417.json

world heritage site in the U.S.AをDBpedia.orgから。

select distinct * where {
  ?link dcterms:subject <http://dbpedia.org/resource/Category:World_Heritage_Sites_in_the_United_States> ;
    rdfs:label ?title ; 
    geo:lat ?lat;
    geo:long ?long ;
    dbpedia-owl:abstract ?description ;
    dbpedia-owl:thumbnail ?image ;
    dbpprop:established ?start .
  FILTER (lang(?title) ="en" )
  FILTER (lang(?description) ="en" )
}