Difference between revisions of "Community Call/05"

From Wikibase Personal data
Jump to navigation Jump to search
Line 12: Line 12:
 
*** [https://labs.letemps.ch/interactive/2020/demander-ses-donnees/ Le Temps] for their [https://www.letemps.ch/societe/reprenez-controle-vos-donnees-temps-propose-une-experience-participative investigation]
 
*** [https://labs.letemps.ch/interactive/2020/demander-ses-donnees/ Le Temps] for their [https://www.letemps.ch/societe/reprenez-controle-vos-donnees-temps-propose-une-experience-participative investigation]
 
** continuously:
 
** continuously:
*** popup, introduced by [[MediaWiki:Common.js]]
+
*** popup, introduced by [[MediaWiki:Common.js]]  [video timecode 15:00]
*** opt-in/opt-out gadgets, introduced via [[MediaWiki:Gadgets-definition]]
+
*** opt-in/opt-out gadgets, introduced via [[MediaWiki:Gadgets-definition]] [video timecode 28:28]
*** eventually augmented by user script (e.g. [[User:Podehaye/common.js]])
+
*** eventually augmented by user script (e.g. [[User:Podehaye/common.js]]) [video timecode 25:25]
 
* hence: need for an ontology  
 
* hence: need for an ontology  
 
** How do we structure [https://en.wikipedia.org/wiki/Internet_of_things Internet of Things] (IoT) devices like Tesla Cars or [https://en.wikipedia.org/wiki/Amazon_Echo Amazon Echo] / [https://en.wikipedia.org/wiki/Amazon_Alexa Alexa]?
 
** How do we structure [https://en.wikipedia.org/wiki/Internet_of_things Internet of Things] (IoT) devices like Tesla Cars or [https://en.wikipedia.org/wiki/Amazon_Echo Amazon Echo] / [https://en.wikipedia.org/wiki/Amazon_Alexa Alexa]?
Line 22: Line 22:
 
** How do we index data controllers? Etc?
 
** How do we index data controllers? Etc?
 
** [[Project:Ontology]]
 
** [[Project:Ontology]]
* Overview of the wiki base technology.  
+
* Overview of the wiki base technology. [video timecode 39:41]
 
** I haven't really has it explained to me. I understand it loosely as wiki plus [https://en.wikipedia.org/wiki/NoSQL NoSQL] triplestore Db but high level tech explanation would be good. [[Help:Wikibase technology]]
 
** I haven't really has it explained to me. I understand it loosely as wiki plus [https://en.wikipedia.org/wiki/NoSQL NoSQL] triplestore Db but high level tech explanation would be good. [[Help:Wikibase technology]]
 
** Namespaces (see [https://wiki.personaldata.io/w/index.php?title=Special:Search&profile=advanced&search=&fulltext=1 advanced search])
 
** Namespaces (see [https://wiki.personaldata.io/w/index.php?title=Special:Search&profile=advanced&search=&fulltext=1 advanced search])
Line 51: Line 51:
 
****** [19:20] [[Template:Access]] (wikibase template language)
 
****** [19:20] [[Template:Access]] (wikibase template language)
 
******* [20:53] [[Module:wd]] (Lua)
 
******* [20:53] [[Module:wd]] (Lua)
 
 
* [25:25] Explanation of User's own common.js
 
* [25:25] Explanation of User's own common.js
 
* [28:28] Explanation of Gadgets [[MediaWiki:Gadgets-definition]]
 
* [28:28] Explanation of Gadgets [[MediaWiki:Gadgets-definition]]
 
** [28:32] QuickPresets Gadget - demo. Code is at [[MediaWiki:Gadget-QuickPresets.js]]
 
** [28:32] QuickPresets Gadget - demo. Code is at [[MediaWiki:Gadget-QuickPresets.js]]
 
** [28:58] How to turn Gadgets on and off
 
** [28:58] How to turn Gadgets on and off
 +
* [39:41] Explanation of Wikibase Technology: SQL datastore of triples. There is a CRUD API that interfaces with that. But it also uses a graph database to enable SPARQL queries. The SQL database gets fed into BlazeGraph using the 'updater' but this has a delay (a second to several hours). So query results may not be as up to date as what is in the database.
 +
** [42:05] how to access SPARQL query service
 +
** [[Help:Wikibase_technology]]
 +
** [43:00] API [[https://wiki.personaldata.io/w/Api.php]]

Revision as of 10:40, 27 January 2020

Invitation

The invitation, including the Zoom link, is here.

Agenda

  • Goal today: best practices for working together, not actually solving the problems
  • Communication channels and rationale
  • Who reads from the wiki?
  • hence: need for an ontology
    • How do we structure Internet of Things (IoT) devices like Tesla Cars or Amazon Echo / Alexa?
    • Should we make on item by model? Group of model?
    • One item by services? But what is the services? Typically Amazon Echo devices are linked to Alexa services, but they may differ in data collection.
    • Can we do a type of data collection and inject it in all Tesla Cars Model?
    • How do we index data controllers? Etc?
    • Project:Ontology
  • Overview of the wiki base technology. [video timecode 39:41]
  • Help:Templates
    • Including importantly how to enable a new one
    • Template syntax (maybe that might need to be a separate call)
  • Help:SPARQL
    • Querying .. whatever the equivalent of SQL is
    • How to generate visual query results (nodes, tables etc)
  • Merging?
  • Update queries/batch operations Help:Quick Statements
  • Other cool/useful stuff you can do that I might not be aware of (edited).>
USEFUL TOOL: Descriptions: Show the description of items and properties when hovering them. https://www.wikidata.org/wiki/MediaWiki:Gadget-Descriptions.js

Final video

Key timepoints:

  • [15:00] Explanation of how the GDPR request generator template is loaded:
  • [25:25] Explanation of User's own common.js
  • [28:28] Explanation of Gadgets MediaWiki:Gadgets-definition
  • [39:41] Explanation of Wikibase Technology: SQL datastore of triples. There is a CRUD API that interfaces with that. But it also uses a graph database to enable SPARQL queries. The SQL database gets fed into BlazeGraph using the 'updater' but this has a delay (a second to several hours). So query results may not be as up to date as what is in the database.