Difference between revisions of "Community Call/05"
Jump to navigation
Jump to search
(15 intermediate revisions by one other user not shown) | |||
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 37: | Line 37: | ||
* Fill the next agenda, for [[Community Call/06]] | * Fill the next agenda, for [[Community Call/06]] | ||
== Final video == | == Final video == | ||
− | * https:// | + | * https://yewtu.be/watch?v=D950_JoNDPI |
{{#ev:youtube|D950_JoNDPI}} | {{#ev:youtube|D950_JoNDPI}} | ||
[[Category:Community Call]] | [[Category:Community Call]] | ||
− | Key timepoints: | + | == Key timepoints and notes == |
+ | * [15:00] Explanation of how the GDPR request generator template is loaded: | ||
+ | ** [15:00] [[MediaWiki:Common.js]] (Javascript) | ||
+ | *** [15:44] [[MediaWiki:Access.js]] (Javascript) | ||
+ | **** [16:28] [[Template:Menu]] (wikibase template language) | ||
+ | ***** [16:54] [[Template:MailtoAccess]] (wikibase template language) | ||
+ | ****** [17:42] [[Template:mailto]] (wikibase template language) | ||
+ | ****** (not shown) [[Template:wikidata]] (wikibase template language) | ||
+ | ****** [19:20] [[Template:Access]] (wikibase template language) | ||
+ | ******* [20:53] [[Module:wd]] (Lua) - documented [[https://en.wikipedia.org/wiki/Module:Wd here]] | ||
* [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:32] QuickPresets Gadget - demo. Code is at [[MediaWiki:Gadget-QuickPresets.js]] | ||
+ | ** [28:58] How to turn Gadgets on and off | ||
+ | * [39:41] Explanation of Wikibase Technology: SQL datastore of RDF 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 API help page]]] | ||
+ | *** [43:12] API Sandbox | ||
+ | *** The moment you make an HTTP Post request via the API, that goes into the wiki's SQL database. | ||
+ | *** [43:40] Explanation of what a "claim" is. - it is effectively an RDF triple. e.g. Item - Property - Item or Item - Property - String/datatype | ||
+ | *** Wikibase has a separate layer, its interpretation of the underlying RDF triples. | ||
+ | * [46:29] Namespaces | ||
+ | ** [48:55] Can you move pages between Namespaces? Yes. (show how) | ||
+ | ** [49:25] Do users have their own sandbox namespace? Yes everything under your username is a namespace e.g. you can just make [[User:Alexbfree/ExampleSandboxPage]]. (This could be useful for testing things privately before they are shared with other users) | ||
+ | ** [50:46] The Easy Query Gadget [[MediaWiki:Gadget-EasyQuery.js]] which shows all items that have this property. Activated by default for everyone. Just click the [...] next to a title. | ||
+ | *** [51:25] Using the Easy Query Gadget to see a quick node graph for an Item, and then access the SPARQL for that query. | ||
+ | ** [52:14] Show Derived Statements gadget [[MediaWiki:Gadget-relateditems.js]] - see which pages link to/use this one. | ||
+ | * [53:39] SPARQL demonstrations | ||
+ | ** still need to add timecodes/notes here... |
Latest revision as of 16:11, 12 August 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
- Communication on the wiki:
- use
{{reply_to|Podehaye}}
to ping someone (alert when they log in, email if configured to receive emails) - use
~~~~
to sign, see https://en.wikipedia.org/wiki/Wikipedia:Signatures
- use
- Communication on the wiki:
- Who reads from the wiki?
- once in a while:
- Le Temps for their investigation
- continuously:
- popup, introduced by MediaWiki:Common.js [video timecode 15:00]
- 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) [video timecode 25:25]
- once in a while:
- 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]
- I haven't really has it explained to me. I understand it loosely as wiki plus NoSQL triplestore Db but high level tech explanation would be good. Help:Wikibase technology
- Namespaces (see advanced search)
- 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
- Fill the next agenda, for Community Call/06
Final video
Key timepoints and notes
- [15:00] Explanation of how the GDPR request generator template is loaded:
- [15:00] MediaWiki:Common.js (Javascript)
- [15:44] MediaWiki:Access.js (Javascript)
- [16:28] Template:Menu (wikibase template language)
- [16:54] Template:MailtoAccess (wikibase template language)
- [17:42] Template:mailto (wikibase template language)
- (not shown) Template:wikidata (wikibase template language)
- [19:20] Template:Access (wikibase template language)
- [16:54] Template:MailtoAccess (wikibase template language)
- [16:28] Template:Menu (wikibase template language)
- [15:44] MediaWiki:Access.js (Javascript)
- [15:00] MediaWiki:Common.js (Javascript)
- [25:25] Explanation of User's own common.js
- [28:28] Explanation of Gadgets MediaWiki:Gadgets-definition
- [28:32] QuickPresets Gadget - demo. Code is at MediaWiki:Gadget-QuickPresets.js
- [28:58] How to turn Gadgets on and off
- [39:41] Explanation of Wikibase Technology: SQL datastore of RDF 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 [[API help page]]
- [43:12] API Sandbox
- The moment you make an HTTP Post request via the API, that goes into the wiki's SQL database.
- [43:40] Explanation of what a "claim" is. - it is effectively an RDF triple. e.g. Item - Property - Item or Item - Property - String/datatype
- Wikibase has a separate layer, its interpretation of the underlying RDF triples.
- [46:29] Namespaces
- [48:55] Can you move pages between Namespaces? Yes. (show how)
- [49:25] Do users have their own sandbox namespace? Yes everything under your username is a namespace e.g. you can just make User:Alexbfree/ExampleSandboxPage. (This could be useful for testing things privately before they are shared with other users)
- [50:46] The Easy Query Gadget MediaWiki:Gadget-EasyQuery.js which shows all items that have this property. Activated by default for everyone. Just click the [...] next to a title.
- [51:25] Using the Easy Query Gadget to see a quick node graph for an Item, and then access the SPARQL for that query.
- [52:14] Show Derived Statements gadget MediaWiki:Gadget-relateditems.js - see which pages link to/use this one.
- [53:39] SPARQL demonstrations
- still need to add timecodes/notes here...