Skip to content

Instantly share code, notes, and snippets.

@gpirrotta
Created November 14, 2019 19:04
Show Gist options
  • Save gpirrotta/5e08825aa1e7baa0d9b59bd64b583830 to your computer and use it in GitHub Desktop.
Save gpirrotta/5e08825aa1e7baa0d9b59bd64b583830 to your computer and use it in GitHub Desktop.
PREFIX osr: <http://dati.senato.it/osr/>
SELECT DISTINCT ?dataSeduta ?numeroSeduta ?votazione ?numero ?oggetto ?esito
?presenti ?maggioranza ?numeroLegale ?votanti ?favorevoli ?contrari
?astenuti ?presidente
WHERE
{
?votazione a osr:Votazione.
?votazione osr:numero ?numero.
?votazione osr:seduta ?seduta.
?votazione osr:presenti ?presenti.
?votazione osr:favorevoli ?favorevoli.
?votazione osr:maggioranza ?maggioranza.
?votazione osr:votanti ?votanti.
?votazione osr:contrari ?contrari.
?votazione rdfs:label ?oggetto.
?seduta osr:numeroSeduta ?numeroSeduta.
?seduta osr:dataSeduta ?dataSeduta.
?seduta osr:legislatura 17 .
?votazione osr:esito ?esito.
?votazione osr:astenuti ?astenuti.
?votazione osr:numeroLegale ?numeroLegale.
?votazione osr:presidente ?presidente
}
ORDER BY DESC(?dataSeduta) DESC(?numeroSeduta) DESC(?numero)
LIMIT 100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment