Graph from Semantic Mediawiki data
Find a file
2021-10-07 15:08:33 +02:00
www batch replacements, phase1 2021-10-07 15:08:33 +02:00
.gitignore Basic graph version 2021-03-10 21:15:12 +01:00
graph.js simulation prerendering is now a config var 2021-03-13 13:31:00 +01:00
index.html WIP messy graph 2021-04-16 11:15:57 +02:00
no_credentials.json get rid of beginners mistake: credentials in external file 2021-03-17 18:16:06 +01:00
README.md initial pandoc export 2021-10-07 08:43:56 +02:00
requirements.txt Basic graph version 2021-03-10 21:15:12 +01:00
wiki_relations.py Little ordering of graph 2021-03-31 16:24:46 +02: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.

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

Installation

wget https://d3js.org/d3.v6.min.js

Data

{{#ask: [[Category:Deployments||Institution]]  [[Is in Greens Report 2021::True]]
 |?Category
 |?Geolocation
 |?City
 |?City.Has Coordinates=City Coordinates
 |?City.Is in Country=City Country
 |?City Country.Has Coordinates=Country Coordinates
 |?Institution Type
 |?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
 |?Related Institutions
 |?Involved Entities
 |format=broadtable
 |limit=50
 |offset=0
 |link=all
 |sort=
 |order=asc
 |headers=show
 |searchlabel=... further results
 |class=sortable wikitable smwtable
}}