dpalmisano

composizione-commissione

Dec 10th, 2012
488
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. PREFIX ocd: <http://dati.camera.it/ocd/>
  2. PREFIX osr: <http://dati.senato.it/osr/>
  3. PREFIX foaf: <http://xmlns.com/foaf/0.1/>
  4.  
  5. SELECT DISTINCT ?commissione ?dizioneCommissione ?senatore ?nome ?cognome ?carica ?inizioAfferenza ?fineAfferenza
  6. WHERE
  7. {
  8.     ?commissione osr:titolo ?dizioneCommissione.
  9.     ?afferenza osr:commissione <http://dati.senato.it/commissione/0-1>.
  10.     ?afferenza a osr:Afferenza.
  11.     ?afferenza osr:inizio ?inizioAfferenza
  12.     OPTIONAL { ?afferenza osr:fine ?fineAfferenza }
  13.     ?afferenza osr:carica ?carica.
  14.     ?senatore osr:afferisce ?afferenza.
  15.     ?senatore a osr:Senatore.
  16.     ?senatore foaf:firstName ?nome.
  17.     ?senatore foaf:lastName ?cognome.
  18.     FILTER (?commissione = <http://dati.senato.it/commissione/0-1> )
  19.     FILTER (  (?inizioAfferenza < xsd:dateTime(STR("2009-06-01"))) && ((!BOUND(?fineAfferenza)) || ?fineAfferenza > xsd:dateTime(STR("2009-06-01")))  ) .
  20. }
  21. GROUP BY ?senatore
  22. ORDER BY ?cognome ?nome
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×