Analisi Dati

1346

Disegni di Legge - Legislatura XVI

PREFIX ars: <http://www.openars.org/core#>
SELECT count(?item)
FROM <http://www.openars.org/9/>
WHERE {
?item a ars:DisegnoDiLegge;
     ars:legislatura <http://dati.openars.org/legislatura/xvi>
}
Esegui

4559

Interrogazioni - Legislatura XVI

PREFIX ars: <http://www.openars.org/core#>
SELECT count(?item)
FROM <http://www.openars.org/9/>
WHERE {
?item a ars:Interrogazione;
     ars:legislatura <http://dati.openars.org/legislatura/xvi>
}
Esegui

513

Interpellanze - Legislatura XVI

PREFIX ars: <http://www.openars.org/core#>
SELECT count(?item)
FROM <http://www.openars.org/9/>
WHERE {
?item a ars:Interpellanza;
     ars:legislatura <http://dati.openars.org/legislatura/xvi>
}
Esegui

572

Ordini del Giorno - Legislatura XVI

PREFIX ars: <http://www.openars.org/core#>
SELECT count(?item)
FROM <http://www.openars.org/9/>
WHERE {
?item a ars:OrdineDelGiorno;
     ars:legislatura <http://dati.openars.org/legislatura/xvi>
}
Esegui

61

Risoluzioni - Legislatura XVI

PREFIX ars: <http://www.openars.org/core#>
SELECT count(?item)
FROM <http://www.openars.org/9/>
WHERE {
?item a ars:Risoluzione;
     ars:legislatura <http://dati.openars.org/legislatura/xvi>
}
Esegui

70

Numero Deputati - Legislatura XVII

PREFIX ars: <http://www.openars.org/core#>
SELECT count(?deputati)
FROM <http://www.openars.org/9/>
WHERE {
?deputati a ars:Deputato;
          ars:mandato ?mandato.
?mandato a ars:MandatoParlamentare;
         ars:legislatura <http://dati.openars.org/legislatura/xvii>
}
Esegui

Confronto in % dei seggi femminili regionale/nazionale (confronto con dati.camera.it)

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX ars: <http://www.openars.org/core#>
PREFIX ocd: <http://dati.camera.it/ocd/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>

SELECT ?legislatura ?genere count(?genere)
FROM <http://www.openars.org>
FROM NAMED <http://dati.camera.it/ocd/>
WHERE {{
    ?p a ars:Persona;e
       foaf:gender ?genere;
       ars:mandato ?mandato.
     ?mandato ars:legislatura ?legislatura;
              a ars:MandatoParlamentare.
}
UNION
{
 SERVICE <http://dati.camera.it/sparql>
{ GRAPH ?g
   {?items a ocd:deputato;
           ocd:rif_leg ?legislatura;
            foaf:gender ?genere.}
   }
  }
}
Esegui

Iter parlamentare del DDL.1014 - Legislatura XVI

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX ars: <http://www.openars.org/core#>
PREFIX ars_16_ddl: <http://dati.openars.org/legislatura/xvi/attivita-parlamentare/ddl/>

SELECT ?iterType ?iterDate ?step ?sitting ?sittingLink
FROM <http://www.openars.org/9/>
WHERE {
        ars_16_ddl:1014 a        ars:DisegnoDiLegge;
                        ars:iter ?iter.
        ?iter ars:tipologiaIter ?iterType.
        ?iter ars:data ?iterDate.
        ?iter ars:stato [ rdfs:label ?step].
        OPTIONAL { ?iter ars:seduta [ rdfs:label ?sitting;
                                      ars:link ?sittingLink]}
        }
ORDER BY ?iterDate ?iterType
Esegui

Disegni di Legge con primo firmatario il deputato Alloro Mario - Legislatura XVI

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX ars: <http://www.openars.org/core#>

SELECT ?ddl ?label ?number ?date ?topic ?title ?nome
FROM <http://www.openars.org/9/>
WHERE {
       ?ddl a ars:DisegnoDiLegge;
            rdfs:label ?label;
            ars:data ?date;
            ars:numero ?number;
            ars:materia ?topic;
            ars:legislatura <http://dati.openars.org/legislatura/xvi>;
            ars:haPrimoFirmatario ?deputato;
            ars:titolo ?title.
       ?deputato ars:mandato ?mandato.
       ?persona ars:mandato ?mandato; foaf:name ?nome.
        FILTER regex(?nome, "Alloro Mario")
      }

Esegui

Numero DDL presentati nella legislatura XVI per materia

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX ars: <http://www.openars.org/core#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>

SELECT ?topic count(?ddl) as ?num
FROM <http://www.openars.org/9/>
WHERE {
?topic a ars:Materia.
?ddl a ars:DisegnoDiLegge;
     ars:materia ?topic;
     ars:legislatura <http://dati.openars.org/legislatura/xvi>.

      }
GROUP BY ?topic
ORDER BY DESC(?num)
LIMIT 10
Esegui

Deputati regionali che hanno ricoperto anche il ruolo di deputato nazionale (federata dati.camera.it)

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX ars: <http://www.openars.org/core#>
PREFIX ocd: <http://dati.camera.it/ocd/>
PREFIX dc: <http://purl.org/dc/elements/1.1/>

SELECT ?person ?person_camera ?legislature
FROM <http://www.openars.org/9/>
FROM NAMED <http://dati.camera.it/ocd/>
WHERE {
     ?person a ars:Persona;
             owl:sameAs ?person_camera.
     SERVICE <http://dati.camera.it/sparql>
       {GRAPH ?g
          {
           ?person_camera ocd:rif_mandatoCamera ?mandato.
           ?d a ocd:deputato;
              ocd:rif_leg [ dc:title ?legislature];
              ocd:rif_mandatoCamera ?mandato.
           }
       }
  }
Esegui