2021-03-10 21:15:12 +01:00
# SMW Graph
This repository contains a script to pull semantic data out of Semantic Mediawiki and into a json. In turn, this json file can be loaded by graph.js to build a d3 graph.
Built for [Security Vision ](https://securityvision.io ).
2021-10-07 08:43:56 +02:00
## Document
```
pandoc EU\ Greens\ Report\ -\ Biometric\ Mass\ Surveillance\ v.3.docx --extract-media=images --template=template.html --section-divs -s -o output.html --metadata title="Biometric and Behavioural Mass Surveillance in EU Member States" -c mvp.css --toc --toc-depth=2
```
2021-05-04 18:40:06 +02:00
2021-03-10 21:15:12 +01:00
## Installation
```bash
wget https://d3js.org/d3.v6.min.js
```
2021-04-17 21:15:03 +02:00
## Data
2021-05-04 18:40:06 +02:00
```
2021-08-12 09:15:45 +02:00
{{#ask: [[Category:Deployments||Institution]] [[Is in Greens Report 2021::True]]
2021-05-04 18:40:06 +02:00
|?Category
|?Geolocation
|?City
|?City.Has Coordinates=City Coordinates
|?City.Is in Country=City Country
|?City Country.Has Coordinates=Country Coordinates
2021-08-12 09:15:45 +02:00
|?Institution Type
2021-05-04 18:40:06 +02:00
|?Clients
|?Managed by
|?Used by
|?Funded by
|?Provided by
|?Software Deployed
|?Software Deployed.Developped by (institutions)=Software Developer
|?Datasets Used
|?Datasets Used.Developed by Institution=Dataset Developer
2021-08-12 09:15:45 +02:00
|?Related Institutions
|?Involved Entities
2021-05-04 18:40:06 +02:00
|format=broadtable
|limit=50
|offset=0
|link=all
|sort=
|order=asc
|headers=show
|searchlabel=... further results
|class=sortable wikitable smwtable
}}
2021-03-10 21:15:12 +01:00
```