Wikidata:WikiProject International relations

This WikiProject is centered around articles on international relations (Q166542). The talk page is a useful place to coordinate efforts and standardize approaches.

Properties & structure of items edit

Ontology for an item which is an instance of (P31) sovereign state (Q3624078) edit

Property Expected values Qualifier properties
diplomatic relation (P530) Item which is an instance of (P31) sovereign state (Q3624078)

Ontology for an item which is an instance of (P31) foreign policy (Q181648) edit

Property Expected values Qualifier properties
has part(s) (P527)

Optionally one or more of the following:

none
country (P17)

One of the following:

none

Ontology for an item which is an instance of (P31) bilateral relation (Q15221623) edit

Property Expected values Qualifier properties
part of (P361)

Both of the following:

none
country (P17)

Both of the following:

has part(s) (P527) Links to articles related to both countries' relations or joint history none
image (P18) Image highlighting the first sovereign state (Q3624078) and second sovereign state (Q3624078) in the bilateral relation (Q15221623) on a world map none

Ontology for an item which is an instance of (P31) diplomatic mission (Q213283) or instance of (P31) a subclass of (P279) diplomatic mission (Q213283) edit

Property Expected values Qualifier properties
country (P17) (sending state or organization (Q64779666))

One of the following:

none
operator (P137) (receiving state or organization (Q64779710)) One of the following:
operating area (P2541) One or more of the following:
located in the administrative territorial entity (P131)

One of the following:

office held by head of the organization (P2388)

One of the following:

none
replaces (P1365)

One of the following:

point in time (P585)
replaced by (P1366)

One of the following:

point in time (P585)
inception (P571) Date the diplomatic mission (Q213283) was established none
dissolved, abolished or demolished date (P576) Date the diplomatic mission (Q213283) was abolished none

Ontology for an item which is an instance of (P31) head of mission (Q1251687) or instance of (P31) a subclass of (P279) head of mission (Q1251687) edit

Property Expected values Qualifier properties
country (P17)

One of the following:

none
organization directed by the office or position (P2389)

One or more of the following:

none
appointed by (P748)

One of the following:

point in time (P585)
honorific prefix (P511)

One of the following:

none
replaces (P1365)

One of the following:

point in time (P585)
replaced by (P1366)

One of the following:

point in time (P585)
inception (P571) Date the diplomatic mission (Q213283) was established none
dissolved, abolished or demolished date (P576) Date the diplomatic mission (Q213283) was abolished none

Ontology for an item which is an instance of (P31) human (Q5) edit

Property Expected values Qualifier properties
position held (P39)

One of the following:

occupation (P106) At least the following item: none

Ontology for an item which is an instance of (P31) chancery (Q2750585) edit

Property Expected values Qualifier properties
occupant (P466)

One or more of the following:

none

Ontology for an item which is an instance of (P31) treaty (Q131569) edit

Property Expected values Qualifier properties
location (P276) Place where treaty is concluded
point in time (P585) date of adoption (avoid start time (P580), inception (P571)...)
significant event (P793) coming into force (Q490812) point in time (P585)
language of work or name (P407)
depositary (P2058) Item which is an instance of (P31) position (Q4164871) or organization (Q43229)
image (P18) in the case of a multilateral treaty, the map of participation to the treaty
number of participants (P1132)
signatory (P1891)

Queries edit

Countries by number of treaties signed edit

The following query uses these:

Features: BubbleChart (Q24515280)     

#defaultView:BubbleChart
SELECT ?signatory ?signatoryLabel (COUNT(?treaty) AS ?signed_count) WHERE {
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
  ?treaty wdt:P31/wdt:P279* wd:Q131569.
  ?treaty wdt:P1891 ?signatory.
}
GROUP BY ?signatory ?signatoryLabel
ORDER BY DESC(?signed_count)

Countries by number of treaties ratified edit

The following query uses these:

Features: BubbleChart (Q24515280)     

#defaultView:BubbleChart
SELECT ?ratifier ?ratifierLabel (COUNT(?treaty) AS ?ratified_count) WHERE {
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
  ?treaty wdt:P31/wdt:P279* wd:Q131569.
  ?treaty wdt:P6193 ?ratifier.
}
GROUP BY ?ratifier ?ratifierLabel
ORDER BY DESC(?ratified_count)

Participants edit

The participants listed below can be notified using the following template in discussions:
{{Ping project|International relations}}

Maintenance reports edit

  To-do list for Wikidata:WikiProject International relations:
Violations :
  • List of ambassadors having follows (P155) or followed by (P156) qualifiers
  • # List of people with generic function "ambassador" and qualifiers
    SELECT ?item ?itemLabel
    WHERE
    {
        ?item wdt:P31 wd:Q5 ;
        p:P39 ?fonction .
        ?fonction ps:P39 wd:Q121998 .
            {?fonction pq:P156 ?p156.}
      UNION {?fonction pq:P155 ?p155.}
      UNION {?fonction pq:P580 ?p580.}
      UNION {?fonction pq:P582 ?p582.}
      UNION {?fonction pq:P1365 ?p1365.}
      UNION {?fonction pq:P1366 ?p1366.}
              
        SERVICE wikibase:label { bd:serviceParam wikibase:language "fr,en".
              ?item rdfs:label ?itemLabel .}
    }
    GROUP BY ?item ?itemLabel
    
    Try it!
  • List of people with a function that refers to an embassy or to a foreign ministry


Reference reports edit

Related WikiProjects edit