Difference between revisions of "Project:MyData"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
== Hub initiators meeting work == | == Hub initiators meeting work == | ||
− | * | + | * {{SPARQL|query=#defaultView:Graph |
+ | SELECT ?item ?itemLabel ?object ?objectLabel ?edgeLabel WHERE { | ||
+ | ?item ?rel ?object. | ||
+ | ?edge wikibase:directClaim ?rel. | ||
+ | ?item pdiot:P3 pdio:Q47. | ||
+ | MINUS {pdio:P3 wikibase:directClaim ?rel} | ||
+ | ?edge wikibase:propertyType wikibase:WikibaseItem #If we don't remove this, then those properties pointing to non-item labels mess everything up | ||
+ | |||
+ | SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } | ||
+ | } | ||
+ | LIMIT 1000 | ||
+ | |state=collapsed | ||
+ | |label=map}} | ||
* [http://tiny.cc/hub-map embeddable map] | * [http://tiny.cc/hub-map embeddable map] | ||
* [https://query.personaldata.io/index.html#%0APREFIX%20pdio%3A%20%3Chttp%3A%2F%2Fwiki.personaldata.io%2Fentity%2F%3E%0APREFIX%20pdiot%3A%20%3Chttp%3A%2F%2Fwiki.personaldata.io%2Fprop%2Fdirect%2F%3E%0A%0ASELECT%20%3Fitem%20%3FitemLabel%20%20%3FedgeLabel%20%3Fobject%20%3FobjectLabel%20WHERE%20%7B%0A%20%20%3Fitem%20%3Frel%20%3Fobject.%0A%20%20%3Fedge%20wikibase%3AdirectClaim%20%3Frel.%0A%20%20%3Fitem%20pdiot%3AP3%20pdio%3AQ47.%0A%20%20MINUS%20%7Bpdio%3AP3%20wikibase%3AdirectClaim%20%3Frel%7D%0A%20%20%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%7D%0ALIMIT%201000 table] | * [https://query.personaldata.io/index.html#%0APREFIX%20pdio%3A%20%3Chttp%3A%2F%2Fwiki.personaldata.io%2Fentity%2F%3E%0APREFIX%20pdiot%3A%20%3Chttp%3A%2F%2Fwiki.personaldata.io%2Fprop%2Fdirect%2F%3E%0A%0ASELECT%20%3Fitem%20%3FitemLabel%20%20%3FedgeLabel%20%3Fobject%20%3FobjectLabel%20WHERE%20%7B%0A%20%20%3Fitem%20%3Frel%20%3Fobject.%0A%20%20%3Fedge%20wikibase%3AdirectClaim%20%3Frel.%0A%20%20%3Fitem%20pdiot%3AP3%20pdio%3AQ47.%0A%20%20MINUS%20%7Bpdio%3AP3%20wikibase%3AdirectClaim%20%3Frel%7D%0A%20%20%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%7D%0ALIMIT%201000 table] |
Revision as of 23:25, 26 January 2020
Documenting hubs
For instance:
Visualizations
Network
PREFIX pdio: <https://wiki.personaldata.io/entity/>
PREFIX pdiot: <https://wiki.personaldata.io/prop/direct/>
PREFIX pdiop: <https://wiki.personaldata.io/prop/>
PREFIX pdiops: <https://wiki.personaldata.io/prop/statement/>
PREFIX pdiopq: <https://wiki.personaldata.io/prop/qualifier/>
SELECT ?item ?itemLabel WHERE {
?item pdiot:P3 pdio:Q47.
SERVICE wikibase:label {
bd:serviceParam wikibase:language "en" .
}
}
PREFIX pdio: <https://wiki.personaldata.io/entity/>
PREFIX pdiot: <https://wiki.personaldata.io/prop/direct/>
PREFIX pdiop: <https://wiki.personaldata.io/prop/>
PREFIX pdiops: <https://wiki.personaldata.io/prop/statement/>
PREFIX pdiopq: <https://wiki.personaldata.io/prop/qualifier/>
#defaultView:Graph
SELECT ?node ?nodeLabel ?value ?valueLabel ?edgeLabel
(IF(BOUND(?edge), ?propertyrgb, "FFFFFF") AS ?rgb) #white
{
VALUES (?propertyRel ?propertyrgb)
{
(pdiot:P57 "880000") # red - activity
(pdiot:P55 "00AA00") # light green - country
(pdiot:P137 "0000AA") # blue - partner
(pdiot:P145 "AA00AA") # pink - seeks
(pdiot:P11 "00AAAA") # interested in
}
pdio:Q49 pdiot:P63 ?node.
OPTIONAL
{
?node ?propertyRel ?value.
?edge wikibase:directClaim ?propertyRel.
}.
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
PREFIX pdio: <https://wiki.personaldata.io/entity/>
PREFIX pdiot: <https://wiki.personaldata.io/prop/direct/>
PREFIX pdiop: <https://wiki.personaldata.io/prop/>
PREFIX pdiops: <https://wiki.personaldata.io/prop/statement/>
PREFIX pdiopq: <https://wiki.personaldata.io/prop/qualifier/>
SELECT ?item ?itemLabel ?country ?countryLabel WHERE {
?item pdiot:P3 pdio:Q646.
SERVICE wikibase:label {
bd:serviceParam wikibase:language "en" .
}
OPTIONAL { ?item pdiot:P55 ?country. }
}
data operators around the world (embedded)
PREFIX pdio: <https://wiki.personaldata.io/entity/>
PREFIX pdiot: <https://wiki.personaldata.io/prop/direct/>
PREFIX pdiop: <https://wiki.personaldata.io/prop/>
PREFIX pdiops: <https://wiki.personaldata.io/prop/statement/>
PREFIX pdiopq: <https://wiki.personaldata.io/prop/qualifier/>
SELECT ?item ?itemLabel ?country ?countryLabel ?location ?locationLabel WHERE {
?item pdiot:P3 pdio:Q401.
SERVICE wikibase:label {
bd:serviceParam wikibase:language "en" .
}
OPTIONAL { ?item pdiot:P55 ?country. }
OPTIONAL { ?item pdiot:P80 ?location. } }
associations, with country and location (embedded)
Hub initiators meeting work
PREFIX pdio: <https://wiki.personaldata.io/entity/>
PREFIX pdiot: <https://wiki.personaldata.io/prop/direct/>
PREFIX pdiop: <https://wiki.personaldata.io/prop/>
PREFIX pdiops: <https://wiki.personaldata.io/prop/statement/>
PREFIX pdiopq: <https://wiki.personaldata.io/prop/qualifier/>
#defaultView:Graph
SELECT ?item ?itemLabel ?object ?objectLabel ?edgeLabel WHERE {
?item ?rel ?object.
?edge wikibase:directClaim ?rel.
?item pdiot:P3 pdio:Q47.
MINUS {pdio:P3 wikibase:directClaim ?rel}
?edge wikibase:propertyType wikibase:WikibaseItem #If we don't remove this, then those properties pointing to non-item labels mess everything up
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
LIMIT 1000
Hub Initiators meeting map (embedded)
PREFIX pdio: <https://wiki.personaldata.io/entity/>
PREFIX pdiot: <https://wiki.personaldata.io/prop/direct/>
PREFIX pdiop: <https://wiki.personaldata.io/prop/>
PREFIX pdiops: <https://wiki.personaldata.io/prop/statement/>
PREFIX pdiopq: <https://wiki.personaldata.io/prop/qualifier/>
SELECT ?item ?itemLabel ?edgeLabel ?object ?objectLabel WHERE {
?item ?rel ?object.
?edge wikibase:directClaim ?rel.
?item pdiot:P3 pdio:Q47.
MINUS {pdio:P3 wikibase:directClaim ?rel}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
LIMIT 1000
full triple table of Hub initiators meeting (embedded)
On Wikidata
- MyData org members on Wikidata
- hub list and their flags on Wikidata
- MyData network visuals on Wikidata
Hub initiators meeting work
PREFIX pdio: <https://wiki.personaldata.io/entity/> PREFIX pdiot: <https://wiki.personaldata.io/prop/direct/> PREFIX pdiop: <https://wiki.personaldata.io/prop/> PREFIX pdiops: <https://wiki.personaldata.io/prop/statement/> PREFIX pdiopq: <https://wiki.personaldata.io/prop/qualifier/> #defaultView:Graph SELECT ?item ?itemLabel ?object ?objectLabel ?edgeLabel WHERE { ?item ?rel ?object. ?edge wikibase:directClaim ?rel. ?item pdiot:P3 pdio:Q47. MINUS {pdio:P3 wikibase:directClaim ?rel} ?edge wikibase:propertyType wikibase:WikibaseItem #If we don't remove this, then those properties pointing to non-item labels mess everything up SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } } LIMIT 1000
MyData
Contributor | Topic | Visualization |
---|---|---|
MyData Global | the whole network | |
MyData Scotland | MyData Scotland ecosystem mapping workshop |
health + education health + education + family activity work all together |
MyData Finland | Finnish ecosystem | |
MyData Cameroon | Cameroon ecosystem | |
MyData Japan | Japanese ecosystem |
Of course, it is necessary for these visualisations to engage in a mapping process. We explain here how to do so.