未知

cubicweb-accidents的Python项目详细描述


概要
----
data.gouv.fr事故立方体(http://www.data.gouv.fr/fr/dataset/base-de-donnees-accidents-corporels-de-la-circulation-sur-6-annees)




installation
----


create an instance:


create the database:


!不要启动db init!





>psql我的实例事故-f/usr/share/postgresql/9.1/contrib/postgis-1.5/postgis.sql


>psql我的实例事故-f/usr/share/postgresql/9.1/contrib/postgis-1.5/space我的实例事故-f/usr/share/postgresql/9.1/contrib/postgis-1.1.1/contrib/postgis-1.5/postgis/space我的实例事故数据库





>完成数据库:



推送数据:

json中http://fr.dbpedia.org/sparql
上的公社和部门,使用以下请求:



prefix db owl:<;http://dbpedia.org/ontology/>;
select?维尔?密码?名字?拉特?很久了?德普?部门代码?depname在哪里{
?ville db owl:country<;http://fr.dbpedia.org/resource/france>;
?猫头鹰:插入码?代码。
?维尔:名字?姓名。
?猫头鹰:科室?深度
?儿科猫头鹰:插入码?部门代码。
?部门:姓名?部门名称。
?维尔:拉特?纬度
?维尔:长吗?长。
}





/路径/to/cubes/accidents/import_vehicles.py/path/to/vehicles.csv



标签:

  • 实例
  • http
  • db
  • fr
  • contrib
  • 部门
  • cubicweb
  • postgis
  • 事故
  • accidents
  • 欢迎加入QQ群-->: 979659372 Python中文网_新手群

    推荐PyPI第三方库


    热门话题
    AndroidManifest中需要java“类”或“接口”。xml   swing如何在其他计算机上运行java可执行文件   用于Java开发的Linux下的OpenCV 2.8.4安装   java程序未打印索引0处的元素   java selenium phantomjs span标记未显示   java在另一台计算机上运行JavaFX应用程序   保存和更新类的java包名称   java如何开始使用Hibernate搜索?   java使用ksoap2将参数传递给Web服务?   java如何修复Wildfly中managedConnectionReconnected()中未检查的可丢弃项?   使用aws的java多语言网站   java com。jcraft。杰希。JSCHEException:侦听端口19999的远程端口转发失败   javamaven和Ant测试用例