Data about Brazilian cities

@herrmann I put the DTB csv on the bus: https://databus.dbpedia.org/kurzum/ibge/dtb/2018.01.01

We have tarql mapping capabilities for the databus client. I started mapping the table: https://github.com/dbpedia/format-mappings/blob/master/tarql/2.sparql

So if you run with bin/DatabusClient -f ttl -c gz -s ibge.query it is an effective download csv as ttl in gz.

A question. How did you sameAs link the municipialities with DBpedia. Did you use Nome_Município?

result: http://temporary.dbpedia.org/temporary/dtb_type%3Dmunicipio.ttl.gz

ibge.query

PREFIX dataid: <http://dataid.dbpedia.org/ns/core#>
PREFIX dataid-cv: <http://dataid.dbpedia.org/ns/cv#>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX dcat:  <http://www.w3.org/ns/dcat#>

# Get all files
SELECT DISTINCT ?file WHERE {
 	?dataset dataid:version <https://databus.dbpedia.org/kurzum/ibge/dtb/2018.01.01> .
	?dataset dcat:distribution ?distribution .
	?distribution dcat:downloadURL ?file .
}
1 Like