Open main menu

Wikidata:WikiProject Sustainable Development

Contents

AboutEdit

WikiProject Sustainable Development (Q56507949) is concerned with curating information about sustainable development (Q131201) and related topics. We are just getting started, and you are most welcome to join in.

ItemsEdit

PropertiesEdit

QueriesEdit

Line chart of Human Development Index over time for a set of countriesEdit

The following query uses these:

  • Properties: instance of (P31)    , Human Development Index (P1081)    , point in time (P585)    
     1 #defaultView:LineChart
     2 # The following implementation was inspired by the code here: https://stackoverflow.com/questions/49066390/how-to-get-only-the-most-recent-value-from-a-wikidata-property
     3 # Read https://en.wikipedia.org/wiki/Human_Development_Index for more on the Human Development Index.
     4 
     5 SELECT ?year ?hdiValue ?country ?countryLabel WHERE {
     6   ?country wdt:P31 wd:Q6256.
     7   OPTIONAL {
     8     ?country p:P1081 ?hdi.
     9     ?hdi pq:P585 ?hdiDate.
    10     ?hdi ps:P1081 ?hdiValue.
    11   }
    12   SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
    13   BIND(STR(YEAR(?hdiDate)) AS ?year).
    14   FILTER (?country IN (wd:Q33, wd:Q30, wd:Q148, wd:Q668, wd:Q851, wd:Q159, wd:Q20, wd:Q929))
    15 }
    

List of Sustainable Development GoalsEdit

The following query uses these:

  • Properties: part of (P361)    
    1 SELECT ?item ?label ?itemDescription
    2 WHERE {
    3   ?item wdt:P361 wd:Q7649586.
    4   SERVICE wikibase:label {
    5     bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en".
    6     ?item rdfs:label ?label.
    7   }
    8 }
    

Fields of work of the Sustainable Development GoalsEdit

  • to do

List of Sustainable Development Goal TargetsEdit

The following query uses these:

  • Properties: instance of (P31)    
    1 SELECT ?item ?label ?itemDescription
    2 WHERE {
    3   ?item wdt:P31 wd:Q56724848.
    4   SERVICE wikibase:label {bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". ?item rdfs:label ?label.}
    5 }
    6 ORDER BY (?label)
    

Ordered List of Sustainable Development Goal TargetsEdit

The following query uses these:

  • Properties: has part (P527)    , series ordinal (P1545)    
     1 SELECT ?goal ?goalLabel ?serial ?goalDescription
     2 WHERE {
     3   SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
     4   wd:Q7649586 p:P527 ?goal_statement.
     5   ?goal_statement ps:P527 ?goal.
     6   OPTIONAL {
     7     ?goal_statement pq:P1545 ?serial.
     8   }
     9 }
    10 Order by xsd:integer(?serial)
    

List of Sustainable Development Goal IndicatorsEdit

The following query uses these:

  • Properties: instance of (P31)    
    1 SELECT ?item ?label ?itemDescription
    2 WHERE {
    3   ?item wdt:P31 wd:Q56726345.
    4   SERVICE wikibase:label {
    5     bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en".
    6     ?item rdfs:label ?label.
    7   }
    8 }
    

Sustainable Development Goals and their topicsEdit

The following query uses these:

Features: Graph (Q24515287)    

 1 #defaultView:Graph
 2 SELECT ?item ?label ?_image ?topic ?topicLabel WHERE {
 3   ?item wdt:P361 wd:Q7649586.
 4   OPTIONAL {?item wdt:P921 ?topic.}.
 5   SERVICE wikibase:label {
 6     bd:serviceParam wikibase:language "en" . 
 7   }
 8   
 9 OPTIONAL { ?item wdt:P18 ?_image. }
10 }
11 LIMIT 100

Organizations working on topics of the SDGsEdit

See discussion for more info

The following query uses these:

Organizations whose field of work is any SDGsEdit

See discussion for more info

The following query uses these:

  • Properties: instance of (P31)    , field of work (P101)    
    1 SELECT ?subjectLabel ?sdgLabel
    2 WHERE {
    3   ?sdg wdt:P31 wd:Q53580881.
    4   ?subject wdt:P101 ?sdg.
    5   SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } 
    6 }
    

ParticipantsEdit

The participants listed below can be notified using the following template in discussions:

{{Ping project|Sustainable Development}}

WikimaniaEdit

Note that Wikimania 2019 (Q48010913) have the SDG's as its theme.[1]

See alsoEdit

ReferencesEdit