Techniques and principles to build creative applications based on Opendata.
Overview of already developed solutions, modules and succesful case histories in the Public/Government sector
fondatore del network italiano ILDN Piacere di conoscervi! [email protected] twitter : @stefanomainardi Paolo Mainardi, sviluppatore PHP, CTO di Twinbit e fondatore del network italiano ILDN Piacere di conoscervi! [email protected] twitter : @paolomainardi giovedì 22 marzo 12
fondatore del network italiano ILDN Piacere di conoscervi! [email protected] twitter : stefanomainardi Paolo Mainardi, sviluppatore PHP, CTO di Twinbit e fondatore del network italiano ILDN Piacere di conoscervi! [email protected] twitter : paolomainardi Piacere, io sono Drupal! :-) giovedì 22 marzo 12
è al tempo stesso una pratica, che implica che alcune tipologie di dati siano liberamente accessibili a tutti sul Web, senza restrizioni di copyright, brevetti o altre forme di controllo che ne limitino la riproduzione. definizione “accademica” da Wikipedia giovedì 22 marzo 12
che ce li immaginiamo, no? Perché i dati di per sé non sono di immediata applicazione Ma in realtà, i dati determinano tantissime cose nelle nostre vite e ciò accade perché c’è qualcuno che prende quei dati e ne fa qualcosa. Tim Berners-Lee 2/2 credits: Ernesto Bellisario “Come si fa OpenData” giovedì 22 marzo 12
Data (D7 RDFa, Nodes, Taxonomy) • Semplici interfacce di amministrazione per utenti non esperti (D7 UX) • Semplice integrazione con i servizi di terze parti (CKAN, OpenCalais, OSM, Mapbox ecc..) giovedì 22 marzo 12
Data (D7 RDFa, Nodes, Taxonomy) • Semplici interfacce di amministrazione per utenti non esperti (D7 UX) • Semplice integrazione con i servizi di terze parti (CKAN, OpenCalais, OSM, Mapbox ecc..) • Importanti case history governative di successo (List of Drupal sites in Government: http://groups.drupal.org/node/19885) giovedì 22 marzo 12
OpenData..... “A piece of content or data is open if anyone is free to use, reuse, and redistribute it — subject only, at most, to the requirement to attribute and share alike.” (Open Knowledge Definition) giovedì 22 marzo 12
OpenData..... Seguiamo queste semplici regole: “A piece of content or data is open if anyone is free to use, reuse, and redistribute it — subject only, at most, to the requirement to attribute and share alike.” (Open Knowledge Definition) giovedì 22 marzo 12
OpenData..... Seguiamo queste semplici regole: •Specificare la fonte “A piece of content or data is open if anyone is free to use, reuse, and redistribute it — subject only, at most, to the requirement to attribute and share alike.” (Open Knowledge Definition) giovedì 22 marzo 12
OpenData..... Seguiamo queste semplici regole: •Specificare la fonte •Usare una licenza aperta “A piece of content or data is open if anyone is free to use, reuse, and redistribute it — subject only, at most, to the requirement to attribute and share alike.” (Open Knowledge Definition) giovedì 22 marzo 12
OpenData..... Seguiamo queste semplici regole: •Specificare la fonte •Usare una licenza aperta •Usare formati aperti e semplici da processare automaticamente (CSV, XLS, XML, JSON) “A piece of content or data is open if anyone is free to use, reuse, and redistribute it — subject only, at most, to the requirement to attribute and share alike.” (Open Knowledge Definition) giovedì 22 marzo 12
OpenData..... Seguiamo queste semplici regole: •Specificare la fonte •Usare una licenza aperta •Usare formati aperti e semplici da processare automaticamente (CSV, XLS, XML, JSON) “A piece of content or data is open if anyone is free to use, reuse, and redistribute it — subject only, at most, to the requirement to attribute and share alike.” (Open Knowledge Definition) OpenDefinition: http://www.opendefinition.org/okd/ Open Data Commons: http://www.opendatacommons.org Cretive Commons: http://www.opendatacommons.org giovedì 22 marzo 12
dati ? x/html core rdf csv contrib modules xml json http://drupal.org/project/modules RDFa RSS kml charts {$other formats} Views + Views Datasource Posso essere anche solo un servizio per la tua applicazione: http://drupal.org/project/services XMLRPC, JSON, JSON-RPC, REST, SOAP, AMF, etc. giovedì 22 marzo 12
Parser: http://drupal.org/project/feeds_querypath_parser Feeds Parser http://drupal.org/project/migrate Data importing projects “The migrate module provides a flexible framework for migrating content into Drupal from other sources (e.g., when converting a web site from another CMS to Drupal)” http://drupal.org/project/data “Data module helps you model, manage and query related sets of tables. It offers an administration interface and a low level API for manipulating tables and accessing their contents. D module provides Views integration for displaying table data and Drupal search integration for searching table content.” giovedì 22 marzo 12
by providing extra APIs and additional serialization formats such as RDF/XML, NTriples, Turtle... API http://api.drupal.org/api/drupal/modules--rdf--rdf.module/group/rdf/7 giovedì 22 marzo 12
by providing extra APIs and additional serialization formats such as RDF/XML, NTriples, Turtle... • RDF UI: allows site administrators to specify the RDF mappings via a user interface API http://api.drupal.org/api/drupal/modules--rdf--rdf.module/group/rdf/7 giovedì 22 marzo 12
by providing extra APIs and additional serialization formats such as RDF/XML, NTriples, Turtle... • RDF UI: allows site administrators to specify the RDF mappings via a user interface • Evoc: user interface to import vocabularies which can be used in RDF UI API http://api.drupal.org/api/drupal/modules--rdf--rdf.module/group/rdf/7 giovedì 22 marzo 12
by providing extra APIs and additional serialization formats such as RDF/XML, NTriples, Turtle... • RDF UI: allows site administrators to specify the RDF mappings via a user interface • Evoc: user interface to import vocabularies which can be used in RDF UI This RDF data can be made available in a SPARQL endpoint with the SPARQL module. API http://api.drupal.org/api/drupal/modules--rdf--rdf.module/group/rdf/7 giovedì 22 marzo 12
against RDF graphs. The syntax resembles SQL, making for a friendly learning curve, but SPARQL is far more powerful, enabling queries spanning multiple disparate (local or remote) data sources containing heterogeneous semistructured data. giovedì 22 marzo 12
against RDF graphs. The syntax resembles SQL, making for a friendly learning curve, but SPARQL is far more powerful, enabling queries spanning multiple disparate (local or remote) data sources containing heterogeneous semistructured data. •SPARQL API module giovedì 22 marzo 12
against RDF graphs. The syntax resembles SQL, making for a friendly learning curve, but SPARQL is far more powerful, enabling queries spanning multiple disparate (local or remote) data sources containing heterogeneous semistructured data. •SPARQL API module •SPARQL Registry module giovedì 22 marzo 12
against RDF graphs. The syntax resembles SQL, making for a friendly learning curve, but SPARQL is far more powerful, enabling queries spanning multiple disparate (local or remote) data sources containing heterogeneous semistructured data. •SPARQL API module •SPARQL Registry module •SPARQL Endpoint module giovedì 22 marzo 12
1: Expose your data using RDF http://www.ibm.com/developerworks/web/library/wa-rdf/index.html?ca=drs- The Semantic Web, Linked Data and Drupal, Part 2: Combine linked datasets with Drupal 7 and SPARQL Views http://openspring.net/blog/2011/05/01/background-research-work-leading-to-rdf-in-drupal-7-released-as-part-of-my-masters Background research work leading to RDF in Drupal 7 released as part of my Master's thesis http://openspring.net/blog/2011/05/01/background-research-work-leading-to-rdf-in-drupal-7-released-as-part-of-my-masters Background research work leading to RDF in Drupal 7 released as part of my Master's thesis http://lin-clark.com/ “Hi, I'm Lin Clark. I support open source and linked data.” giovedì 22 marzo 12