diff --git a/bechdelai/data/wikipedia.py b/bechdelai/data/wikipedia.py index a52ac4e..39ba8e4 100644 --- a/bechdelai/data/wikipedia.py +++ b/bechdelai/data/wikipedia.py @@ -4,6 +4,7 @@ import requests from bs4 import BeautifulSoup import re +import pandas as pd import outputformat as ouf import wikipediaapi from bechdelai.data.scrap import get_json_from_url @@ -254,7 +255,8 @@ def get_categories(query, lang="en"): 'prop': 'categories', 'titles': query, 'format':'json', - 'redirects': 1 + 'redirects': 1, + 'cllimit':'max' } R = requests.get(url=URL, params=PARAMS) @@ -294,3 +296,168 @@ def page_exists(request_dict): raise ValueError("This query does not correspond to a Wikipedia page.") return False return True + +def get_qid_from_query(query,language="en",verbose=False): + """ + QID is the unique identifier of a data item on Wikidata, comprising the letter "Q" followed by one or more digits. + For a given query, find the list of QID that might correspond to it. + + Parameters + ---------- + query : str + query to research on wikidata + language : str + Language of Wikidata to research + + + Returns + ------- + list + list of str containing the QID that may be related to the query + + """ + URL = "https://www.wikidata.org/w/api.php" + PARAMS = { + 'action': 'wbsearchentities', + 'search': query, + 'format':'json', + 'language':language + } + + R = requests.get(url=URL, params=PARAMS) + data = R.json() + + qid = [] + for entity in data['search']: + if verbose: + print('{} ({}): {}'.format(entity['label'], entity['id'], entity['description'])) + qid.append(entity['id']) + return qid + +def get_json_from_qid(qid): + """ + Get Wikidata from entity QID + + Parameters + ---------- + qid : str + QID to get + + Returns + ------- + json + json with all wikidata related to QID + + """ + URL = "https://www.wikidata.org/w/api.php" + PARAMS = { + 'action': 'wbgetentities', + 'ids': qid, + 'format':'json', + 'sites':"enwiki" + } + + R = requests.get(url=URL, params=PARAMS) + return R.json() + +def get_json_from_query(query): + """ + Get Wikidata from entity chosen according to query. + Wikidata uses the the most probable QID, but in some cases, it may not be the precise entity we are looking for. + To have mor control over the entity retrieved, use get_json_from_qid() + + Parameters + ---------- + query : str + query to get related wikidata + + Returns + ------- + json + json with all wikidata related to query + + """ + URL = "https://www.wikidata.org/w/api.php" + PARAMS = { + 'action': 'wbgetentities', + 'titles': query, + 'format':'json', + 'sites':"enwiki" + } + + R = requests.get(url=URL, params=PARAMS) + return R.json() + +def get_label_of_entity(qid,language="en"): + """ + Get the label that corresponds to the qid. This allows for human readable data. + + Parameters + ---------- + qid : str + unique identifier of an entity or property + + Returns + ------- + str + the corresponding label + + """ + URL = "https://www.wikidata.org/w/api.php" + PARAMS = { + 'action': 'wbgetentities', + 'ids': qid, + 'format':'json', + 'sites':"enwiki", + 'props':'labels', + 'languages':language + } + R = requests.get(url=URL, params=PARAMS) + try: + label = R.json()['entities'][qid]['labels'][language]['value'] + except KeyError: + print("Error. QID not found.") + label = None + return label + + +def dataframe_from_json(json, properties,language="en"): + """ + Transform raw json in human-readable dataframe + + Parameters + ---------- + json : str + json corresponding to wikidata. Can be retrieved using functions get_json_from_qid() or get_json_from_query() + properties : list + list of properties to extract from json. The list should use the wikidata identifiers (starts with a P followed by numbers) + + Returns + ------- + DataFrame + pandas DataFrame with the properties and their extracted values + + """ + + df = pd.DataFrame(columns = ['property','value']) + json_key = list(json['entities'].keys()) + claims = json['entities'][json_key[0]]['claims'] + + for prop in properties: + key = get_label_of_entity(prop,language=language) + values_list = [] + + try: + values_json = claims[prop] + except KeyError: + print('The property {} was not found in the given json'.format(prop)) + continue + + for dataval in values_json: # a property can contain multiple values + val = dataval['mainsnak']['datavalue']['value'] + if type(val)==dict: # if its a dict, the value is represented by the id. + val_id = val['id'] + val = get_label_of_entity(val_id,language=language) + values_list.append(val) + df = df.append({'property':key,'value':values_list},ignore_index=True) + return df diff --git a/notebooks/wikidata/get_wikidata.ipynb b/notebooks/wikidata/get_wikidata.ipynb index f03ab44..0c7bf25 100644 --- a/notebooks/wikidata/get_wikidata.ipynb +++ b/notebooks/wikidata/get_wikidata.ipynb @@ -2,16 +2,16 @@ "cells": [ { "cell_type": "markdown", - "id": "based-lancaster", + "id": "early-yorkshire", "metadata": {}, "source": [ - "# Get data from WikiData" + "# Get data from Wikidata and Wikipedia" ] }, { "cell_type": "code", "execution_count": 1, - "id": "north-diagnosis", + "id": "compliant-starter", "metadata": {}, "outputs": [ { @@ -38,10 +38,10 @@ }, { "cell_type": "markdown", - "id": "cooked-catch", + "id": "documented-authorization", "metadata": {}, "source": [ - "# Get sections from specific page\n", + "# Get sections from specific Wikipedia page\n", "\n", "It is a good approach to always use '(release_year film)' after the movie title. It helps redirecting to the right page." ] @@ -49,7 +49,7 @@ { "cell_type": "code", "execution_count": 2, - "id": "printable-cambodia", + "id": "passive-myanmar", "metadata": { "scrolled": true }, @@ -60,58 +60,60 @@ "text": [ " Page sections\n", "╭─────────────\n", - "├ Plot..................: 1\n", - "├ Cast..................: 2\n", - "├ Production............: 3\n", - "├ Development...........: 4\n", - "├ Ben_Affleck...........: 5\n", - "├ Matt_Reeves...........: 6\n", - "├ Writing...............: 7\n", - "├ Casting...............: 8\n", - "├ Design................: 9\n", - "├ Sets_and_props........: 10\n", - "├ Costumes..............: 11\n", - "├ Filming...............: 12\n", - "├ COVID-19_pandemic.....: 13\n", - "├ Editing...............: 14\n", - "├ Visual_effects........: 15\n", - "├ Music.................: 16\n", - "├ Marketing.............: 17\n", - "├ Release...............: 18\n", - "├ Theatrical............: 19\n", - "├ Home_media............: 20\n", - "├ Reception.............: 21\n", - "├ Box_office............: 22\n", - "├ Critical_response.....: 23\n", - "├ Accolades.............: 24\n", - "├ Thematic_analysis.....: 25\n", - "├ Tie-in_media..........: 26\n", - "├ Future................: 27\n", - "├ Sequels...............: 28\n", - "├ Spin-off_series.......: 29\n", - "├ Canceled_GCPD_series..: 30\n", - "├ The_Penguin...........: 31\n", - "├ Untitled_Arkham_series: 32\n", - "├ Notes.................: 33\n", - "├ References............: 34\n", - "╰ External_links........: 35\n", + "├ Plot.........................: 1\n", + "├ Cast.........................: 2\n", + "├ Production...................: 3\n", + "├ Development..................: 4\n", + "├ Ben_Affleck..................: 5\n", + "├ Matt_Reeves..................: 6\n", + "├ Writing......................: 7\n", + "├ Casting......................: 8\n", + "├ Design.......................: 9\n", + "├ Sets_and_props...............: 10\n", + "├ Costumes.....................: 11\n", + "├ Filming......................: 12\n", + "├ COVID-19_pandemic............: 13\n", + "├ Editing......................: 14\n", + "├ Visual_effects...............: 15\n", + "├ Music........................: 16\n", + "├ Marketing....................: 17\n", + "├ Release......................: 18\n", + "├ Theatrical...................: 19\n", + "├ Home_media...................: 20\n", + "├ Reception....................: 21\n", + "├ Box_office...................: 22\n", + "├ Critical_response............: 23\n", + "├ Accolades....................: 24\n", + "├ Thematic_analysis............: 25\n", + "├ Class_conflict_and_inequality: 26\n", + "├ Depiction_of_Batman..........: 27\n", + "├ Tie-in_media.................: 28\n", + "├ Future.......................: 29\n", + "├ Sequels......................: 30\n", + "├ Spin-off_series..............: 31\n", + "├ Canceled_GCPD_series.........: 32\n", + "├ The_Penguin..................: 33\n", + "├ Untitled_Arkham_series.......: 34\n", + "├ Notes........................: 35\n", + "├ References...................: 36\n", + "╰ External_links...............: 37\n", "\n", "╭──────╮\n", "│ Plot │\n", "╰──────╯\n", "On Halloween, Gotham City mayor Don Mitchell Jr. is murdered by a man calling himself the Riddler. Reclusive billionaire Bruce Wayne, who has operated for two years as the vigilante Batman, investigates alongside the Gotham City Police Department (GCPD). At the crime scene, lieutenant James Gordon discovers a message that the Riddler left for Batman. Soon after, the Riddler kills commissioner Pete Savage and leaves another message for Batman.\n", - "Batman and Gordon discover that the Riddler left a thumb drive in Mitchell's car containing images of Mitchell with a woman, Annika Kosolov, at the Iceberg Lounge—a nightclub operated by the Penguin, mobster Carmine Falcone's lieutenant. While the Penguin pleads ignorance, Batman notices that Selina Kyle, Annika's roommate and close friend, works at the club as a waitress. Batman follows Selina home to question Annika, but Annika disappears, so he sends Selina back to the Iceberg Lounge to search for answers. Through Selina, Batman discovers that Savage was on Falcone's payroll, as is district attorney Gil Colson. Selina shuts off communication when Batman presses her about her relationship with Falcone.\n", - "The Riddler abducts Colson, straps a timed collar bomb to his neck, and sends him to interrupt Mitchell's funeral. When Batman arrives, the Riddler calls him via Colson's phone and threatens to detonate the bomb if Colson cannot answer three riddles. Batman helps Colson answer the first two, but Colson refuses to answer the third—the name of the informant who gave the GCPD information that led to a historic drug bust, ending mobster Salvatore Maroni's operation—and dies. Batman and Gordon deduce that the informant may be the Penguin and track him to a drug deal. They discover that Maroni's operation transferred to Falcone, with many GCPD officers involved. Selina inadvertently exposes them when she arrives to steal money. As the Penguin flees, Selina discovers Annika's corpse in a car trunk. Batman captures the Penguin but learns that he was not the informant.\n", + "Batman and Gordon discover that the Riddler left a thumb drive in Mitchell's car containing images of Mitchell with a woman, Annika Koslov, at the Iceberg Lounge—a nightclub operated by the Penguin, mobster Carmine Falcone's lieutenant. While the Penguin pleads ignorance, Batman notices that Selina Kyle, Annika's roommate and close friend, works at the club as a waitress. Batman follows Selina home to question Annika, but Annika disappears, so he sends Selina back to the Iceberg Lounge to search for answers. Through Selina, Batman discovers that Savage was on Falcone's payroll, as is district attorney Gil Colson. Selina shuts off communication when Batman presses her about her relationship with Falcone.\n", + "The Riddler abducts Colson, straps a timed collar bomb to his neck, and sends him to interrupt Mitchell's funeral. When Batman arrives, the Riddler calls him via Colson's phone and threatens to detonate the bomb if Colson cannot answer three riddles. Batman helps Colson answer the first two, but Colson refuses to answer the third—the name of the informant who gave the GCPD information that led to a historic drug bust, ending mobster Salvatore Maroni's operation—and dies. Batman and Gordon deduce that the informant may be the Penguin and track him to a drug deal. They discover that Maroni's operation transferred to Falcone, with many corrupt GCPD officers involved. Selina inadvertently exposes them when she arrives to steal money. As the Penguin flees, Selina discovers Annika's corpse in a car trunk. Batman captures the Penguin but learns that he was not the informant.\n", "Batman and Gordon follow the Riddler's trail to the ruins of an orphanage funded by Bruce's murdered parents, Thomas and Martha Wayne, where they learn that the Riddler holds a grudge against the Wayne family. Bruce's butler and caretaker, Alfred Pennyworth, is hospitalized after opening a letter bomb addressed to Bruce. The Riddler leaks evidence that Thomas, who was running for mayor before he was murdered, hired Falcone to kill a journalist for threatening to reveal embarrassing details about Martha and her family's history of mental illnesses. Bruce, who grew up believing his father was morally upstanding, confronts Alfred, who maintains that Thomas only asked Falcone to threaten the journalist into silence, and planned to turn himself and Falcone over to the police once he found out the journalist was murdered. Alfred believes that Falcone had Thomas and Martha killed to prevent this.\n", - "Selina tells Batman that Falcone is her neglectful father and plans to kill him, after learning that he strangled Annika because Mitchell told her that Falcone was the informant. Batman and Gordon arrive at the Iceberg Lounge in time to stop her, but the Riddler kills Falcone as he is being arrested. The Riddler is unmasked as forensic accountant Edward Nashton and is incarcerated in the Arkham State Hospital, where he tells Batman he idolizes and took inspiration from him when targeting the corrupt. Searching his apartment, Batman learns that Nashton has stationed car bombs around Gotham and cultivated an online following that plans to assassinate mayor-elect Bella Reál.\n", - "The bombs destroy the breakwaters around Gotham and flood the city. A shelter is set up in an indoor arena, where Nashton's followers attempt to kill Reál but are stopped by Batman and Selina. In the aftermath, Nashton befriends another inmate,[a] while Selina deems Gotham beyond saving and leaves. Batman aids recovery efforts and vows to inspire hope in Gotham.\n", + "Selina tells Batman that Falcone is her neglectful father and plans to kill him, after learning that he strangled Annika because Mitchell inadvertently told her that Falcone was the informant. Batman and Gordon arrive at the Iceberg Lounge in time to stop her, but the Riddler shoots and kills Falcone as he is being arrested. The Riddler is unmasked as forensic accountant Edward Nashton and is incarcerated in the Arkham State Hospital, where he tells Batman he idolizes and took inspiration from him when targeting the corrupt. Searching his apartment, Batman learns that Nashton has stationed several car bombs around Gotham and cultivated an online following that plans to assassinate mayor-elect Bella Reál.\n", + "The bombs destroy the seawall around Gotham and flood the city. A shelter is set up in an indoor arena, where Nashton's followers attempt to kill Reál but are stopped by Batman and Selina. In the aftermath, Nashton befriends another inmate,[a] while Selina deems Gotham beyond saving and leaves. Batman aids recovery efforts and vows to inspire hope in Gotham.\n", "\n", "╭──────╮\n", "│ Cast │\n", "╰──────╯\n", - "Robert Pattinson as Bruce Wayne / Batman:A reclusive billionaire who obsessively protects Gotham City as a masked vigilante to cope with his traumatic past. Batman is around 30 years old and is not yet an experienced crime fighter, as director Matt Reeves wanted to explore the character before he becomes \"fully formed\". Reeves and Pattinson described Batman as an insomniac who cannot delineate between the Batman persona and his \"recluse rockstar\" public identity as Bruce, with Reeves comparing his obsession with being Batman to a drug addiction. Pattinson said the film questions the nature of heroism, as Batman is more flawed than traditional superheroes and unable to control himself, seeking to work out his rage and \"inflict his kind of justice\". Reeves considered The Batman a story about Batman learning that he must not exact vengeance, but inspire hope. Oscar Novak portrays a young Bruce.\n", + "Robert Pattinson as Bruce Wayne / Batman:A reclusive billionaire who obsessively protects Gotham City as a masked vigilante to cope with his traumatic past. Batman is around 30 years old and is not yet an experienced crime fighter, as director Matt Reeves wanted to explore the character before he becomes \"fully formed\". Reeves and Pattinson described Batman as an insomniac who cannot delineate between the Batman persona and his \"recluse rockstar\" public identity as Bruce, with Reeves comparing his obsession with being Batman to a drug addiction. Pattinson said the film questions the nature of heroism, as Batman is more flawed than traditional superheroes and unable to control himself, seeking to work out his rage and \"inflict his kind of justice\". Reeves considered The Batman a story about Batman learning that he must not exact vengeance, but inspire hope. Oscar Novak portrays a young Bruce, while Rick English was Pattinson's stunt double.\n", "Zoë Kravitz as Selina Kyle / Catwoman:A nightclub waitress, drug dealer, and cat burglar who meets Batman while searching for her missing roommate; her moral ambiguity challenges Batman's black-and-white view of good and evil. Kravitz said the character is becoming a femme fatale and \"figuring out who she is, beyond just someone trying to survive\". She described her as a mysterious character with unclear motivations, who represents femininity in contrast to Batman's masculinity. She said the pair are \"partner[s] in crime\", drawn together by their desire to fight for vulnerable people. Reeves saw Selina as Batman's awakening to his own sheltered upbringing and preconceived assumptions. Kravitz focused more on Selina than her Catwoman persona because she did not want to distract from the character's emotional journey, and interpreted Selina as bisexual, like the comics.\n", - "Paul Dano as Edward Nashton / Riddler:A forensic accountant who is inspired by Batman to become a serial killer who targets elite Gotham citizens and livestreams his crimes. He seeks to \"unmask the truth\" about Gotham, taunting Batman and law enforcement with riddles. Reeves said Batman inspiring the Riddler reflects the idea from the comics that he creates his own enemies and that the Riddler's attack on Gotham gives the character a \"political agenda\" as a terrorist-like figure. He found Batman and the Riddler being \"kind of two sides of the same coin\" unsettling, as they have similar goals. He likened the Riddler to the Zodiac Killer, whom he felt was the \"real-life\" Riddler for his practice of communicating with ciphers and riddles, while Dano said his performance balanced the real-life basis with the Batman franchise's theatricality. Joseph Walker portrays a young Nashton.[citation needed]\n", + "Paul Dano as Edward Nashton / Riddler:A forensic accountant who is inspired by Batman to become a serial killer who targets elite Gotham citizens and livestreams his crimes. He seeks to \"unmask the truth\" about Gotham, taunting Batman and law enforcement with riddles. Reeves said Batman inspiring the Riddler reflects the idea from the comics that he creates his own enemies and that the Riddler's attack on Gotham gives the character a \"political agenda\" as a terrorist-like figure. He found Batman and the Riddler being \"kind of two sides of the same coin\" unsettling, as they have similar goals. He likened the Riddler to the Zodiac Killer, whom he felt was the \"real-life\" Riddler for his practice of communicating with ciphers and riddles, while Dano said his performance balanced the real-life basis with the Batman franchise's theatricality. Joseph Walker portrays a young Nashton.\n", "Jeffrey Wright as James Gordon:An ally of Batman in the Gotham City Police Department (GCPD). He is the only GCPD officer whom Batman trusts, and they work together to solve the Riddler case. Wright described Gordon as \"relative to Gotham City, to the Gotham City Police Department, to Batman, to justice and to corruption\". Similar to Christopher Nolan's The Dark Knight Trilogy (2005–2012), Gordon begins as a GCPD lieutenant in The Batman, allowing his progression to commissioner to be depicted in subsequent films. Wright felt starting Gordon as the lieutenant enabled him to play a larger role compared to previous film iterations. Reeves felt that Batman and Gordon's partnership is emphasized more in The Batman than it was in previous Batman films, and compared them to Carl Bernstein (Dustin Hoffman) and Bob Woodward (Robert Redford) from All the President's Men (1974).\n", "John Turturro as Carmine Falcone:A Gotham crime lord and Selina's father. The Riddler's primary target, Falcone has much of Gotham under his control; Turturro described him as a \"dangerous guy\", while Reeves said he was \"seemingly...a genteel mobster but [he] turns out to have a very, very dark history behind him\" and compared him to Noah Cross (John Huston) from Chinatown (1974). The Batman suggests that Falcone played a role in Batman's origin story by ordering the murder of Thomas and Martha Wayne. Turturro collaborated with his son Amadeo, who is an editor at DC Comics, and Reeves to develop Falcone and his mannerisms, and was inspired by the warnings his father told him about the Mafia as a child growing up in New York City. Falcone wears vintage sunglasses throughout the film, as Turturro felt the character needed a \"mask\".\n", "Peter Sarsgaard as Gil Colson: Gotham's district attorney, whom Sarsgaard described as untruthful and \"distasteful\".\n", @@ -134,7 +136,7 @@ }, { "cell_type": "markdown", - "id": "martial-dallas", + "id": "welsh-rescue", "metadata": {}, "source": [ "# Ambiguous query\n", @@ -144,7 +146,7 @@ { "cell_type": "code", "execution_count": 3, - "id": "atomic-nowhere", + "id": "rocky-aerospace", "metadata": { "scrolled": true }, @@ -259,7 +261,7 @@ }, { "cell_type": "markdown", - "id": "pacific-mustang", + "id": "ahead-privacy", "metadata": {}, "source": [ "# Non existing pages\n", @@ -269,7 +271,7 @@ { "cell_type": "code", "execution_count": 4, - "id": "forward-retrieval", + "id": "historical-holly", "metadata": {}, "outputs": [ { @@ -280,9 +282,9 @@ "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", "\u001b[0;31mValueError\u001b[0m Traceback (most recent call last)", "\u001b[0;32m\u001b[0m in \u001b[0;36m\u001b[0;34m\u001b[0m\n\u001b[1;32m 1\u001b[0m \u001b[0mquery\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;34m\"pjfpk,c\"\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m----> 2\u001b[0;31m \u001b[0msections\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mwiki\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mget_section_text\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mquery\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m'Plot'\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m'Cast'\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0mverbose\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;32mTrue\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m", - "\u001b[0;32m~/Documents/projets/bechdelai/bechdelai/data/wikipedia.py\u001b[0m in \u001b[0;36mget_section_text\u001b[0;34m(query, section_list, lang, verbose)\u001b[0m\n\u001b[1;32m 145\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 146\u001b[0m \u001b[0;31m# get sections and corresponding index in page\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 147\u001b[0;31m \u001b[0msections\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mget_sections\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mquery\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0mlang\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mlang\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 148\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0msections\u001b[0m \u001b[0;32mis\u001b[0m \u001b[0;32mNone\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 149\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0mverbose\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/Documents/projets/bechdelai/bechdelai/data/wikipedia.py\u001b[0m in \u001b[0;36mget_sections\u001b[0;34m(query, lang)\u001b[0m\n\u001b[1;32m 36\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 37\u001b[0m \u001b[0mR\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mrequests\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mget\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0murl\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mURL\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mparams\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mPARAMS\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---> 38\u001b[0;31m \u001b[0;32mif\u001b[0m \u001b[0mpage_exists\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mR\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mjson\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 39\u001b[0m \u001b[0mDATA\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mR\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mjson\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m\"parse\"\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m'sections'\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 40\u001b[0m \u001b[0mdict_sections\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;34m{\u001b[0m\u001b[0;34m}\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/Documents/projets/bechdelai/bechdelai/data/wikipedia.py\u001b[0m in \u001b[0;36mpage_exists\u001b[0;34m(request_dict)\u001b[0m\n\u001b[1;32m 286\u001b[0m \"\"\"\n\u001b[1;32m 287\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0;34m'error'\u001b[0m \u001b[0;32min\u001b[0m \u001b[0mrequest_dict\u001b[0m\u001b[0;34m:\u001b[0m \u001b[0;31m# when using parse\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 288\u001b[0;31m \u001b[0;32mraise\u001b[0m \u001b[0mValueError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m\"This query does not correspond to a Wikipedia page.\"\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 289\u001b[0m \u001b[0;32mreturn\u001b[0m \u001b[0;32mFalse\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 290\u001b[0m \u001b[0;32melif\u001b[0m \u001b[0;34m'query'\u001b[0m \u001b[0;32min\u001b[0m \u001b[0mrequest_dict\u001b[0m\u001b[0;34m:\u001b[0m \u001b[0;31m# when using query\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", + "\u001b[0;32m~/Documents/projets/bechdelai/bechdelai/data/wikipedia.py\u001b[0m in \u001b[0;36mget_section_text\u001b[0;34m(query, section_list, lang, verbose)\u001b[0m\n\u001b[1;32m 146\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 147\u001b[0m \u001b[0;31m# get sections and corresponding index in page\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 148\u001b[0;31m \u001b[0msections\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mget_sections\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mquery\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0mlang\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mlang\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 149\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0msections\u001b[0m \u001b[0;32mis\u001b[0m \u001b[0;32mNone\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 150\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0mverbose\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", + "\u001b[0;32m~/Documents/projets/bechdelai/bechdelai/data/wikipedia.py\u001b[0m in \u001b[0;36mget_sections\u001b[0;34m(query, lang)\u001b[0m\n\u001b[1;32m 37\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 38\u001b[0m \u001b[0mR\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mrequests\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mget\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0murl\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mURL\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mparams\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mPARAMS\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---> 39\u001b[0;31m \u001b[0;32mif\u001b[0m \u001b[0mpage_exists\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mR\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mjson\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 40\u001b[0m \u001b[0mDATA\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mR\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mjson\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m\"parse\"\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m'sections'\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 41\u001b[0m \u001b[0mdict_sections\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;34m{\u001b[0m\u001b[0;34m}\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", + "\u001b[0;32m~/Documents/projets/bechdelai/bechdelai/data/wikipedia.py\u001b[0m in \u001b[0;36mpage_exists\u001b[0;34m(request_dict)\u001b[0m\n\u001b[1;32m 288\u001b[0m \"\"\"\n\u001b[1;32m 289\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0;34m'error'\u001b[0m \u001b[0;32min\u001b[0m \u001b[0mrequest_dict\u001b[0m\u001b[0;34m:\u001b[0m \u001b[0;31m# when using parse\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 290\u001b[0;31m \u001b[0;32mraise\u001b[0m \u001b[0mValueError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m\"This query does not correspond to a Wikipedia page.\"\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 291\u001b[0m \u001b[0;32mreturn\u001b[0m \u001b[0;32mFalse\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 292\u001b[0m \u001b[0;32melif\u001b[0m \u001b[0;34m'query'\u001b[0m \u001b[0;32min\u001b[0m \u001b[0mrequest_dict\u001b[0m\u001b[0;34m:\u001b[0m \u001b[0;31m# when using query\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", "\u001b[0;31mValueError\u001b[0m: This query does not correspond to a Wikipedia page." ] } @@ -295,7 +297,7 @@ { "cell_type": "code", "execution_count": 5, - "id": "talented-cover", + "id": "convenient-copyright", "metadata": {}, "outputs": [ { @@ -306,8 +308,8 @@ "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", "\u001b[0;31mValueError\u001b[0m Traceback (most recent call last)", "\u001b[0;32m\u001b[0m in \u001b[0;36m\u001b[0;34m\u001b[0m\n\u001b[0;32m----> 1\u001b[0;31m \u001b[0mquery_options\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mwiki\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mget_links\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mquery\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m", - "\u001b[0;32m~/Documents/projets/bechdelai/bechdelai/data/wikipedia.py\u001b[0m in \u001b[0;36mget_links\u001b[0;34m(query, lang, verbose)\u001b[0m\n\u001b[1;32m 196\u001b[0m \u001b[0mdata\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mR\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mjson\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 197\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 198\u001b[0;31m \u001b[0;32mif\u001b[0m \u001b[0mpage_exists\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mdata\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 199\u001b[0m \u001b[0mpages\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mdata\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m\"query\"\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m\"pages\"\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 200\u001b[0m \u001b[0mpg_count\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;36m1\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/Documents/projets/bechdelai/bechdelai/data/wikipedia.py\u001b[0m in \u001b[0;36mpage_exists\u001b[0;34m(request_dict)\u001b[0m\n\u001b[1;32m 292\u001b[0m \u001b[0mpageid\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mlist\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mpage\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mkeys\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;36m0\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 293\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0;34m'missing'\u001b[0m \u001b[0;32min\u001b[0m \u001b[0mpage\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0mpageid\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 294\u001b[0;31m \u001b[0;32mraise\u001b[0m \u001b[0mValueError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m\"This query does not correspond to a Wikipedia page.\"\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 295\u001b[0m \u001b[0;32mreturn\u001b[0m \u001b[0;32mFalse\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 296\u001b[0m \u001b[0;32mreturn\u001b[0m \u001b[0;32mTrue\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", + "\u001b[0;32m~/Documents/projets/bechdelai/bechdelai/data/wikipedia.py\u001b[0m in \u001b[0;36mget_links\u001b[0;34m(query, lang, verbose)\u001b[0m\n\u001b[1;32m 197\u001b[0m \u001b[0mdata\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mR\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mjson\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 198\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 199\u001b[0;31m \u001b[0;32mif\u001b[0m \u001b[0mpage_exists\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mdata\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 200\u001b[0m \u001b[0mpages\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mdata\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m\"query\"\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m\"pages\"\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 201\u001b[0m \u001b[0mpg_count\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;36m1\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", + "\u001b[0;32m~/Documents/projets/bechdelai/bechdelai/data/wikipedia.py\u001b[0m in \u001b[0;36mpage_exists\u001b[0;34m(request_dict)\u001b[0m\n\u001b[1;32m 294\u001b[0m \u001b[0mpageid\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mlist\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mpage\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mkeys\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;36m0\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 295\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0;34m'missing'\u001b[0m \u001b[0;32min\u001b[0m \u001b[0mpage\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0mpageid\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 296\u001b[0;31m \u001b[0;32mraise\u001b[0m \u001b[0mValueError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m\"This query does not correspond to a Wikipedia page.\"\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 297\u001b[0m \u001b[0;32mreturn\u001b[0m \u001b[0;32mFalse\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 298\u001b[0m \u001b[0;32mreturn\u001b[0m \u001b[0;32mTrue\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", "\u001b[0;31mValueError\u001b[0m: This query does not correspond to a Wikipedia page." ] } @@ -315,6 +317,3355 @@ "source": [ "query_options = wiki.get_links(query)" ] + }, + { + "cell_type": "markdown", + "id": "failing-apache", + "metadata": {}, + "source": [ + "# Get Wikidata\n", + "1. get QID\n", + "2. retrieve json\n", + "3. get properties of interest" + ] + }, + { + "cell_type": "code", + "execution_count": 6, + "id": "needed-graham", + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Catwoman (Q158952): fictional character associated with DC Comics' Batman franchise\n", + "Catwoman (Q115760): 2004 film directed by Pitof\n", + "Catwoman (Q5054224): 2004 video game\n", + "Catwoman (Q342478): Wikimedia disambiguation page\n", + "Holly Robinson (Q5882236): fictional character in DC universe\n", + "Patience Phillips (Q52199465): main protagonist of the 2004 film Catwoman\n", + "Catwoman (Q70991896): Anti-heroine in the film Batman Returns\n" + ] + } + ], + "source": [ + "# In some cases it might be necessary to choose among the QID related to the query\n", + "query = \"Catwoman\"\n", + "qids = wiki.get_qid_from_query(query,language=\"en\",verbose=True)\n" + ] + }, + { + "cell_type": "code", + "execution_count": 7, + "id": "chinese-asthma", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "{'entities': {'Q158952': {'pageid': 159911,\n", + " 'ns': 0,\n", + " 'title': 'Q158952',\n", + " 'lastrevid': 1613486296,\n", + " 'modified': '2022-04-07T16:38:06Z',\n", + " 'type': 'item',\n", + " 'id': 'Q158952',\n", + " 'labels': {'zh-hans': {'language': 'zh-hans', 'value': '猫女'},\n", + " 'zh-hant': {'language': 'zh-hant', 'value': '貓女'},\n", + " 'zh-hk': {'language': 'zh-hk', 'value': '貓女'},\n", + " 'zh-cn': {'language': 'zh-cn', 'value': '猫女'},\n", + " 'zh-sg': {'language': 'zh-sg', 'value': '猫女'},\n", + " 'zh-tw': {'language': 'zh-tw', 'value': '貓女'},\n", + " 'pl': {'language': 'pl', 'value': 'Catwoman'},\n", + " 'fr': {'language': 'fr', 'value': 'Catwoman'},\n", + " 'he': {'language': 'he', 'value': 'קאטוומן'},\n", + " 'ko': {'language': 'ko', 'value': '캣우먼'},\n", + " 'es': {'language': 'es', 'value': 'Catwoman'},\n", + " 'ta': {'language': 'ta', 'value': 'கேட்வுமன்'},\n", + " 'hu': {'language': 'hu', 'value': 'Macskanő'},\n", + " 'it': {'language': 'it', 'value': 'Catwoman'},\n", + " 'de': {'language': 'de', 'value': 'Catwoman'},\n", + " 'ja': {'language': 'ja', 'value': 'キャットウーマン'},\n", + " 'en': {'language': 'en', 'value': 'Catwoman'},\n", + " 'sv': {'language': 'sv', 'value': 'Catwoman'},\n", + " 'nl': {'language': 'nl', 'value': 'Catwoman'},\n", + " 'pt': {'language': 'pt', 'value': 'Mulher-Gato'},\n", + " 'ru': {'language': 'ru', 'value': 'Женщина-кошка'},\n", + " 'sr-el': {'language': 'sr-el', 'value': 'Žena-mačka'},\n", + " 'sr-ec': {'language': 'sr-ec', 'value': 'Жена-мачка'},\n", + " 'tr': {'language': 'tr', 'value': 'Kedi Kadın'},\n", + " 'fi': {'language': 'fi', 'value': 'Kissanainen'},\n", + " 'uk': {'language': 'uk', 'value': 'Жінка-Кішка'},\n", + " 'fa': {'language': 'fa', 'value': 'زن گربه\\u200cای'},\n", + " 'ka': {'language': 'ka', 'value': 'ქალი-კატა'},\n", + " 'hr': {'language': 'hr', 'value': 'Žena-mačka'},\n", + " 'tl': {'language': 'tl', 'value': 'Catwoman'},\n", + " 'sr': {'language': 'sr', 'value': 'Жена-мачка'},\n", + " 'zh': {'language': 'zh', 'value': '猫女'},\n", + " 'th': {'language': 'th', 'value': 'แคตวูแมน'},\n", + " 'ar': {'language': 'ar', 'value': 'المرأة القطة'},\n", + " 'yue': {'language': 'yue', 'value': '貓女'},\n", + " 'frp': {'language': 'frp', 'value': 'Femèla-Chat'},\n", + " 'sh': {'language': 'sh', 'value': 'Catwoman'},\n", + " 'vi': {'language': 'vi', 'value': 'Catwoman'},\n", + " 'lt': {'language': 'lt', 'value': 'Moteris katė'},\n", + " 'ml': {'language': 'ml', 'value': 'പൂച്ചപ്പെണ്ണ്'},\n", + " 'bg': {'language': 'bg', 'value': 'Жената-котка'},\n", + " 'de-ch': {'language': 'de-ch', 'value': 'Catwoman'},\n", + " 'en-ca': {'language': 'en-ca', 'value': 'Catwoman'},\n", + " 'en-gb': {'language': 'en-gb', 'value': 'Catwoman'},\n", + " 'pt-br': {'language': 'pt-br', 'value': 'Mulher-Gato'},\n", + " 'eu': {'language': 'eu', 'value': 'Catwoman'},\n", + " 'wuu': {'language': 'wuu', 'value': '猫女'},\n", + " 'sq': {'language': 'sq', 'value': 'Catwoman'},\n", + " 'ca': {'language': 'ca', 'value': 'Catwoman'},\n", + " 'ast': {'language': 'ast', 'value': 'Catwoman'},\n", + " 'ms': {'language': 'ms', 'value': 'Catwoman'},\n", + " 'uz': {'language': 'uz', 'value': 'Mushuk ayol'},\n", + " 'lb': {'language': 'lb', 'value': 'Catwoman'},\n", + " 'id': {'language': 'id', 'value': 'Catwoman'},\n", + " 'srn': {'language': 'srn', 'value': 'Catwoman'},\n", + " 'da': {'language': 'da', 'value': 'Catwoman'},\n", + " 'el': {'language': 'el', 'value': 'Catwoman'},\n", + " 'kk': {'language': 'kk', 'value': 'Мысық-әйел'},\n", + " 'az': {'language': 'az', 'value': 'Pişik-qadın'},\n", + " 'eo': {'language': 'eo', 'value': 'Catwoman'},\n", + " 'is': {'language': 'is', 'value': 'Kattakona'},\n", + " 'skr': {'language': 'skr', 'value': 'المرأة القطة'},\n", + " 'ceb': {'language': 'ceb', 'value': 'Catwoman'},\n", + " 'et': {'language': 'et', 'value': 'Kassnaine'},\n", + " 'hi': {'language': 'hi', 'value': 'कैटवूमन'},\n", + " 'nb': {'language': 'nb', 'value': 'Catwoman'}},\n", + " 'descriptions': {'en': {'language': 'en',\n", + " 'value': \"fictional character associated with DC Comics' Batman franchise\"},\n", + " 'it': {'language': 'it',\n", + " 'value': \"personaggio immaginario dell'Universo DC\"},\n", + " 'nl': {'language': 'nl', 'value': 'personage uit Batman'},\n", + " 'de': {'language': 'de', 'value': 'fiktive Figur'},\n", + " 'ru': {'language': 'ru', 'value': 'персонаж комиксов DC Comics'},\n", + " 'fr': {'language': 'fr', 'value': 'personnage de fiction'},\n", + " 'es': {'language': 'es',\n", + " 'value': 'supervillana y anti-heroína ficticia de DC Comics'},\n", + " 'eu': {'language': 'eu', 'value': 'Komiki pertsonaia DC Unibertsokoa'},\n", + " 'ca': {'language': 'ca', 'value': \"personatge de ficció de l'Univers DC\"},\n", + " 'id': {'language': 'id',\n", + " 'value': 'karakter fiksi yang terkait dengan waralaba Batman DC Comics'},\n", + " 'tr': {'language': 'tr', 'value': 'Kurgusal karakter'},\n", + " 'fa': {'language': 'fa',\n", + " 'value': 'شخصیت خیالی که گاهی قهرمان و گاهی ابرشرور در دنیای دیسی ظاهر میشود'},\n", + " 'pt': {'language': 'pt', 'value': 'personagem fictícia da DC'}},\n", + " 'aliases': {'zh': [{'language': 'zh', 'value': '貓女俠'},\n", + " {'language': 'zh', 'value': '塞琳娜·凱爾'},\n", + " {'language': 'zh', 'value': 'Catwoman'},\n", + " {'language': 'zh', 'value': '塞琳娜·凯尔'},\n", + " {'language': 'zh', 'value': '猫女侠'}],\n", + " 'fr': [{'language': 'fr', 'value': 'Femme-chat'},\n", + " {'language': 'fr', 'value': 'Femme-chatte'},\n", + " {'language': 'fr', 'value': 'Holly Robinson'},\n", + " {'language': 'fr', 'value': 'Selina Kyle'}],\n", + " 'ko': [{'language': 'ko', 'value': '셀리나 카일'},\n", + " {'language': 'ko', 'value': '캣 우먼'}],\n", + " 'es': [{'language': 'es', 'value': 'Gatubela'},\n", + " {'language': 'es', 'value': 'Gatúbela'},\n", + " {'language': 'es', 'value': 'Selina Kyle'}],\n", + " 'it': [{'language': 'it', 'value': 'Cat woman'},\n", + " {'language': 'it', 'value': 'Selina Kyle'}],\n", + " 'ja': [{'language': 'ja', 'value': 'ミス・キャット'},\n", + " {'language': 'ja', 'value': 'セリーナ・カイル'}],\n", + " 'sv': [{'language': 'sv', 'value': 'Kattkvinnan'},\n", + " {'language': 'sv', 'value': 'Selina Kyle'}],\n", + " 'nl': [{'language': 'nl', 'value': 'Selina Kyle'}],\n", + " 'pt': [{'language': 'pt', 'value': 'Selina kyle'},\n", + " {'language': 'pt', 'value': 'Mulher Gato'}],\n", + " 'ru': [{'language': 'ru', 'value': 'Селина Кайл'},\n", + " {'language': 'ru', 'value': 'Кэтвумен'},\n", + " {'language': 'ru', 'value': 'Кошка'},\n", + " {'language': 'ru', 'value': 'Ирена Будровна'}],\n", + " 'tr': [{'language': 'tr', 'value': 'Cat Woman'}],\n", + " 'fa': [{'language': 'fa', 'value': 'سلینا کایل'},\n", + " {'language': 'fa', 'value': 'زن گربه ای'},\n", + " {'language': 'fa', 'value': 'کت وومن'}],\n", + " 'hr': [{'language': 'hr', 'value': 'Žena mačka'},\n", + " {'language': 'hr', 'value': 'Catwoman'}],\n", + " 'en': [{'language': 'en', 'value': 'Selina Kyle'},\n", + " {'language': 'en', 'value': 'The Cat'},\n", + " {'language': 'en', 'value': 'Irena Dubrovna'}],\n", + " 'ar': [{'language': 'ar', 'value': 'الإمرأة القطة'}],\n", + " 'id': [{'language': 'id', 'value': 'Selina Kyle'}],\n", + " 'mk': [{'language': 'mk', 'value': 'Селина Кајл'}]},\n", + " 'claims': {'P373': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P373',\n", + " 'hash': '59c134c615ad9a5777bb19947f294cd32a2608ab',\n", + " 'datavalue': {'value': 'Catwoman', 'type': 'string'},\n", + " 'datatype': 'string'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$a2448213-4537-0872-8f3e-fad85bca2109',\n", + " 'rank': 'normal'}],\n", + " 'P345': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P345',\n", + " 'hash': 'f23a044ebdbf18957388ceb2ef3b388afe33de77',\n", + " 'datavalue': {'value': 'ch0000184', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'qualifiers': {'P2241': [{'snaktype': 'value',\n", + " 'property': 'P2241',\n", + " 'hash': 'b5a95dd10e545d7e57bfcc86e5f3290b6c1231d3',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 44374960,\n", + " 'id': 'Q44374960'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'}]},\n", + " 'qualifiers-order': ['P2241'],\n", + " 'id': 'Q158952$f1a5ce26-40c4-d342-c11f-8e36ce074bc9',\n", + " 'rank': 'deprecated'}],\n", + " 'P31': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P31',\n", + " 'hash': '4b61b3ead02d77bdf2ce33a93a40d3329882267d',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 1114461,\n", + " 'id': 'Q1114461'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$53974ec5-4967-3698-b21b-58064dc935cf',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P31',\n", + " 'hash': 'f963dc19bd5650f5822ec55162163e4a826d8cf0',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 15632617,\n", + " 'id': 'Q15632617'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$aa4517ac-4049-f253-5651-675cea3779c9',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P31',\n", + " 'hash': '29d6e6de9e4e48dd1692512778e3f46581c6b976',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 15773317,\n", + " 'id': 'Q15773317'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$8de66a6b-4791-565a-9f6b-c22295217e2d',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P31',\n", + " 'hash': '40b2f4488342e4cd4d7ee494559a3435baccf706',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 15711870,\n", + " 'id': 'Q15711870'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$c31b6331-485e-0b40-1b76-64a26d102146',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P31',\n", + " 'hash': '97e49731a58eacce9a90e9e2e39852787368c18b',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 63998451,\n", + " 'id': 'Q63998451'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$7f018474-43cb-c757-f4a4-d05e6e441ce7',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P31',\n", + " 'hash': '8783a9391733b599aef753a56b06af750c22b23b',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 1569167,\n", + " 'id': 'Q1569167'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$497761d2-409f-6578-0413-6bf8c0d95499',\n", + " 'rank': 'normal'}],\n", + " 'P214': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P214',\n", + " 'hash': 'a385e61b6a7bc58e986900a1aafa4ef0fbe93e8d',\n", + " 'datavalue': {'value': '10149415108289551507', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'q158952$E6C64441-0D6D-4158-B941-05C92EA44788',\n", + " 'rank': 'normal',\n", + " 'references': [{'hash': '9a24f7c0208b05d6be97077d855671d1dfdbc0dd',\n", + " 'snaks': {'P143': [{'snaktype': 'value',\n", + " 'property': 'P143',\n", + " 'hash': 'd38375ffe6fe142663ff55cd783aa4df4301d83d',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 48183,\n", + " 'id': 'Q48183'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'}]},\n", + " 'snaks-order': ['P143']}]},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P214',\n", + " 'hash': '197f297e7990324d8f334c866c08d3a363a03f41',\n", + " 'datavalue': {'value': '87148752250341202156', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$ccf365cd-4446-9fe9-00be-035e63f458ae',\n", + " 'rank': 'normal'}],\n", + " 'P227': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P227',\n", + " 'hash': '469744a780a71d5a49c707d8f322f55dc4c61de8',\n", + " 'datavalue': {'value': '122812549', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'q158952$16CD9CA2-4F32-4E31-8906-1C0FA3E54A0A',\n", + " 'rank': 'normal',\n", + " 'references': [{'hash': '9a24f7c0208b05d6be97077d855671d1dfdbc0dd',\n", + " 'snaks': {'P143': [{'snaktype': 'value',\n", + " 'property': 'P143',\n", + " 'hash': 'd38375ffe6fe142663ff55cd783aa4df4301d83d',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 48183,\n", + " 'id': 'Q48183'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'}]},\n", + " 'snaks-order': ['P143']}]}],\n", + " 'P21': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P21',\n", + " 'hash': '5760796ff6ebc63aae12cdcbf509b07ebf0bd201',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 6581072,\n", + " 'id': 'Q6581072'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$40E8ED17-4BC6-4426-AB62-5DFEAA11CF48',\n", + " 'rank': 'normal'}],\n", + " 'P646': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P646',\n", + " 'hash': '6d4249f60859bd719c5e5dad874f8b03a8c2d171',\n", + " 'datavalue': {'value': '/m/027j55', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$4D05FE85-E306-43DD-AF09-ED1888F7058A',\n", + " 'rank': 'normal',\n", + " 'references': [{'hash': '2b00cb481cddcac7623114367489b5c194901c4a',\n", + " 'snaks': {'P248': [{'snaktype': 'value',\n", + " 'property': 'P248',\n", + " 'hash': 'a94b740202b097dd33355e0e6c00e54b9395e5e0',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 15241312,\n", + " 'id': 'Q15241312'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'}],\n", + " 'P577': [{'snaktype': 'value',\n", + " 'property': 'P577',\n", + " 'hash': 'fde79ecb015112d2f29229ccc1ec514ed3e71fa2',\n", + " 'datavalue': {'value': {'time': '+2013-10-28T00:00:00Z',\n", + " 'timezone': 0,\n", + " 'before': 0,\n", + " 'after': 0,\n", + " 'precision': 11,\n", + " 'calendarmodel': 'http://www.wikidata.org/entity/Q1985727'},\n", + " 'type': 'time'},\n", + " 'datatype': 'time'}]},\n", + " 'snaks-order': ['P248', 'P577']}]}],\n", + " 'P175': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P175',\n", + " 'hash': 'f0d41c9df6f4ab49633a05eeb2455f1707485c37',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 36301,\n", + " 'id': 'Q36301'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'qualifiers': {'P642': [{'snaktype': 'value',\n", + " 'property': 'P642',\n", + " 'hash': 'f2770e65c079227645efe0d894a96f4c1dd2f516',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 189330,\n", + " 'id': 'Q189330'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'}]},\n", + " 'qualifiers-order': ['P642'],\n", + " 'id': 'Q158952$F0BB4454-E8E5-49DE-A13A-3C3FDDD70084',\n", + " 'rank': 'normal',\n", + " 'references': [{'hash': 'd5847b9b6032aa8b13dae3c2dfd9ed5d114d21b3',\n", + " 'snaks': {'P143': [{'snaktype': 'value',\n", + " 'property': 'P143',\n", + " 'hash': '5a343e7e758a4282a01316d3e959b6e653b767fc',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 11920,\n", + " 'id': 'Q11920'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'}]},\n", + " 'snaks-order': ['P143']}]},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P175',\n", + " 'hash': '13dc76317cf62aaaf9dcbb4e6d12c65f2f841d68',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 17166313,\n", + " 'id': 'Q17166313'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'qualifiers': {'P642': [{'snaktype': 'value',\n", + " 'property': 'P642',\n", + " 'hash': '574681e18e3a623417ce560e648ebd9fcbcb1e9c',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 15726959,\n", + " 'id': 'Q15726959'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'}]},\n", + " 'qualifiers-order': ['P642'],\n", + " 'id': 'Q158952$0fda214a-4a7f-ecc3-36d8-d2b0461a44bc',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P175',\n", + " 'hash': '844105478b0a3177f485976684848f9c51281c66',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 159778,\n", + " 'id': 'Q159778'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'qualifiers': {'P642': [{'snaktype': 'value',\n", + " 'property': 'P642',\n", + " 'hash': '7e4d2e5f80a47991e96f81fa4a04e25415a094e0',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 189054,\n", + " 'id': 'Q189054'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'}]},\n", + " 'qualifiers-order': ['P642'],\n", + " 'id': 'Q158952$f70d093c-499e-b175-abbc-0a48a02e9b90',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P175',\n", + " 'hash': '1e893611ec1164c4fa8a43359a823acb23328755',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 237221,\n", + " 'id': 'Q237221'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'qualifiers': {'P642': [{'snaktype': 'value',\n", + " 'property': 'P642',\n", + " 'hash': 'cfcac32e803d3998cfc14e149946ef6ce9c4ca17',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 1247201,\n", + " 'id': 'Q1247201'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'}]},\n", + " 'qualifiers-order': ['P642'],\n", + " 'id': 'Q158952$ec81f1db-4689-5695-bc00-223bb4bdb6ff',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P175',\n", + " 'hash': 'e7c800e30b6a033b3eb20dc455836381216775e9',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 222818,\n", + " 'id': 'Q222818'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'qualifiers': {'P642': [{'snaktype': 'value',\n", + " 'property': 'P642',\n", + " 'hash': 'cfcac32e803d3998cfc14e149946ef6ce9c4ca17',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 1247201,\n", + " 'id': 'Q1247201'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'}]},\n", + " 'qualifiers-order': ['P642'],\n", + " 'id': 'Q158952$8f9b8049-45bb-5a6c-a490-8e3f8af9d84a',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P175',\n", + " 'hash': 'f8dbc3d3e5c8a65d53cbc14b5bc48f978a14b0f8',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 267175,\n", + " 'id': 'Q267175'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'qualifiers': {'P642': [{'snaktype': 'value',\n", + " 'property': 'P642',\n", + " 'hash': 'e84460af91c127bed5acd0bc7cd0d907f3b211d3',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 810857,\n", + " 'id': 'Q810857'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'}]},\n", + " 'qualifiers-order': ['P642'],\n", + " 'id': 'Q158952$1733be0e-40f9-8d6f-4698-caf3f957b51f',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P175',\n", + " 'hash': '1df55ad904c38d43019d2fca7d7966ceade30002',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 1033016,\n", + " 'id': 'Q1033016'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'qualifiers': {'P642': [{'snaktype': 'value',\n", + " 'property': 'P642',\n", + " 'hash': 'fa7808d34e0e57198bea112a8f3dd578f674cb0f',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 115760,\n", + " 'id': 'Q115760'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'}]},\n", + " 'qualifiers-order': ['P642'],\n", + " 'id': 'Q158952$3ee53018-4b39-5b3c-fe46-0fecb7c05c44',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P175',\n", + " 'hash': '126d6ffcc1a3cf092f33f9d6f9bf28898d9851c1',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 15944829,\n", + " 'id': 'Q15944829'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'qualifiers': {'P642': [{'snaktype': 'value',\n", + " 'property': 'P642',\n", + " 'hash': '574681e18e3a623417ce560e648ebd9fcbcb1e9c',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 15726959,\n", + " 'id': 'Q15726959'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'}]},\n", + " 'qualifiers-order': ['P642'],\n", + " 'id': 'Q158952$f5c290a4-4cab-4cdd-a367-b71475e2cb61',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P175',\n", + " 'hash': '95e56d56f18882d92cd712be8094eecdd2ed2e51',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 227129,\n", + " 'id': 'Q227129'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'qualifiers': {'P642': [{'snaktype': 'value',\n", + " 'property': 'P642',\n", + " 'hash': '77d0c130452745d428efec247821a3459526f1b9',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 61117344,\n", + " 'id': 'Q61117344'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'}]},\n", + " 'qualifiers-order': ['P642'],\n", + " 'id': 'Q158952$5f6077d3-42c4-8cea-7a06-caf07f628664',\n", + " 'rank': 'normal'}],\n", + " 'P1080': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1080',\n", + " 'hash': '30af99f24639dc2ce719e66bdc0186946b1c563b',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 1152150,\n", + " 'id': 'Q1152150'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$3238A39F-9F10-45DE-A0C6-3DA985AE4A33',\n", + " 'rank': 'normal'}],\n", + " 'P170': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P170',\n", + " 'hash': 'f94f83a23002f3a0ddd3f9a8d6aeca06ebf672cc',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 313048,\n", + " 'id': 'Q313048'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$223B09C8-81FD-4D3F-AD77-989232AF308F',\n", + " 'rank': 'normal',\n", + " 'references': [{'hash': 'd5847b9b6032aa8b13dae3c2dfd9ed5d114d21b3',\n", + " 'snaks': {'P143': [{'snaktype': 'value',\n", + " 'property': 'P143',\n", + " 'hash': '5a343e7e758a4282a01316d3e959b6e653b767fc',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 11920,\n", + " 'id': 'Q11920'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'}]},\n", + " 'snaks-order': ['P143']}]},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P170',\n", + " 'hash': 'b5048a1185c5d32c47812212f9f45e35bd991e1b',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 464282,\n", + " 'id': 'Q464282'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$574FDDF9-0BBC-4237-9290-89BC3E87D5AC',\n", + " 'rank': 'normal'}],\n", + " 'P1441': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': '2c3fb72308390d3e29e2b36df468af52bbb5cbbc',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 2633138,\n", + " 'id': 'Q2633138'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$c6e888ef-4e3d-2ee4-2388-0a3570240282',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': '5d4ebffbf8f3d5fd16a913c210811f09b1b03bda',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 15726959,\n", + " 'id': 'Q15726959'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$b6c1670b-4865-5505-4d97-0edd0afecb50',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': '5abef28378d2d951e83012037550a8a1824eab24',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 288811,\n", + " 'id': 'Q288811'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$cd6acbed-4104-fc55-021c-8c02fe3af32c',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': 'dabfe8985959d4090ef985251262ee6895946640',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 15891648,\n", + " 'id': 'Q15891648'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$9dd36a3f-4f7a-6096-dae0-4d3193264c35',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': '3997815c86a1e6582959bcac7783f49e82bc3a56',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 189054,\n", + " 'id': 'Q189054'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$2fb041b9-4a92-2934-5732-bee89908032b',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': '5a40183fa0d07ce111bbf38fceb78f7229bdeab4',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 189330,\n", + " 'id': 'Q189330'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$64afb0ec-46ec-5f78-2703-0ac8e35a3047',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': '737b8a8ba5c31e54121834cd5ca095bbd3f45337',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 810857,\n", + " 'id': 'Q810857'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$f9b5ffb2-4cf1-63be-2955-4bd8db43d930',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': '2f2f7a50e6f63e49d23cfc0ab6018e3f8165bd91',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 129161,\n", + " 'id': 'Q129161'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$6b61f91e-4c39-f13d-b95e-a2cd7edd3aec',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': '6832c1bb34b7020cd236ae053f7e8c7a1a826c1c',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 2709431,\n", + " 'id': 'Q2709431'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$20abb418-463c-c419-1e67-4103a5311402',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': '4341174fdb06c937a2f69065f5f6e7addfd3f582',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 26684198,\n", + " 'id': 'Q26684198'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$cf4f7228-408a-e69d-46f2-d06afaee222c',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': 'aba243c2a7cf46393a1eb7318ad52600435fcf88',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 23013169,\n", + " 'id': 'Q23013169'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$b717581f-48f2-7c2d-da15-ea62ee6fbe1c',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': 'bab064c6c81352b93b9a4f26134cd890cc7d0959',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 30764967,\n", + " 'id': 'Q30764967'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$ca2583f3-4775-fe1e-3ee5-058420c7a107',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': '19fd27a34faffe6b8c999b389389ac5990a12ee3',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 43259960,\n", + " 'id': 'Q43259960'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$05849744-467f-9d39-892a-d602756f7bf1',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': '56fe1e1f97e47114d0e417ca81b3e75edcf012f4',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 44353698,\n", + " 'id': 'Q44353698'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$ae1e30d0-455f-01ef-bd6d-dac5425dc3fa',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': 'f9b4d537e9c6069b95b81fec157fb36d9f0adfae',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 1247201,\n", + " 'id': 'Q1247201'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$7da430c0-4b15-be9f-2b8d-8163d05d2f40',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': 'ce1e866dd9cd5978a53285a42c067b2966e09fc4',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 673517,\n", + " 'id': 'Q673517'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$3202ad8b-478f-aff4-0c68-de705ee069ca',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': '68cd17cbe4eedb1a2b8be31e98d75843be36fa2a',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 2362994,\n", + " 'id': 'Q2362994'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$3c69e1f2-41a2-8254-583f-74ba4d01587e',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': 'cd608cd87a2097ce0e4a5ee6f7d06c0dd167f049',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 635933,\n", + " 'id': 'Q635933'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$e06ddae2-46b2-7fa1-394b-1ed2641a23bb',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': '8e86e91fdbcad33e321fe86e4fa79116f4153850',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 371440,\n", + " 'id': 'Q371440'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$54aac7b3-4dac-3122-430e-c390190202fb',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': 'ac6e32d7206e4874554a06c57b5bcee29dcdcf9b',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 11855112,\n", + " 'id': 'Q11855112'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$5df09b55-40e8-8ccf-2a57-1744b97fc8b0',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': '3f2e6e6409c7d89f13707bdedd4ba2d1f74e63e6',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 619427,\n", + " 'id': 'Q619427'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$da1c9b16-42f2-07bc-f3a7-504bdb4706fd',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': '533dce6bb50ef3941727a44eb850b16c2737879e',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 24717189,\n", + " 'id': 'Q24717189'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$df73fcd1-43e9-f654-32d5-8683a7a2f999',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': '39eaf1ab5757473ffaa9664e9baf4bce9c6a77e7',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 979831,\n", + " 'id': 'Q979831'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$e5b4b775-4c84-a295-8482-bd8673cd461e',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': '2859ff8796108c76bb912a27ea5bb9ab86d64c4b',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 10856847,\n", + " 'id': 'Q10856847'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$13eef81e-4747-870c-a0f8-c03c5dfb26d2',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': '96947c9f91c3a1501e94f4dd8d5fe2f4442a5f14',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 63919331,\n", + " 'id': 'Q63919331'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$C4CA5EEF-E4ED-4C5A-B35F-4DCC98AF2D5C',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': '4c114e60f880eea4a98c5481b9fc92d199918004',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 61117344,\n", + " 'id': 'Q61117344'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$053f491a-41d6-0c15-6994-133f90ecfb79',\n", + " 'rank': 'normal'}],\n", + " 'P40': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P40',\n", + " 'hash': '552d44669f8529ea857ee5ded12556f9d7b3fd72',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 397953,\n", + " 'id': 'Q397953'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$fe060bea-4ef9-7acc-3ca6-ebcdc341aa8a',\n", + " 'rank': 'normal'}],\n", + " 'P734': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P734',\n", + " 'hash': '3a1fdbb2bbfd8a855436459e14631ba6574af866',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 16257621,\n", + " 'id': 'Q16257621'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$fff51c32-4f27-f23a-ec94-a970ad87d0fb',\n", + " 'rank': 'normal'}],\n", + " 'P735': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P735',\n", + " 'hash': '02903fb2306e47c53c2540ac1a79cc9c81133205',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 2335092,\n", + " 'id': 'Q2335092'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$38868e9c-4c74-445e-1d16-a840b822b123',\n", + " 'rank': 'normal'}],\n", + " 'P106': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P106',\n", + " 'hash': '64e63d07a2c6bf83117640105fdcd04d369b4aa0',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 6498903,\n", + " 'id': 'Q6498903'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$6597e982-439d-bb2e-84b2-65b6a7b58865',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P106',\n", + " 'hash': '038c8fa95561ca6e8ce3da2142d0b578ee2bdb70',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 3562775,\n", + " 'id': 'Q3562775'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$ad31f4ca-4a81-fbf9-779d-42155b8f1938',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P106',\n", + " 'hash': '15df8c3df8dc39dd5a128cb31e8b67fed82ac174',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 188784,\n", + " 'id': 'Q188784'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$9c1e357c-4b8b-10dd-d4dc-6315097db654',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P106',\n", + " 'hash': 'e75eb343e76c6eb5ce874f61dc7ffe916f9e7c68',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 20085850,\n", + " 'id': 'Q20085850'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$d4af62e9-469c-d756-171a-0ac22e4c257d',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P106',\n", + " 'hash': 'c01bb5cbc8fecd714ec8be0c20d94ae03a3d47f9',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 14915751,\n", + " 'id': 'Q14915751'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$cda4df94-41e3-7f7b-f2b5-95dc6e9828c8',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P106',\n", + " 'hash': 'b82c3487fc72c4b6934b7e59ac62d41dae265de5',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 11124885,\n", + " 'id': 'Q11124885'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$f27c78c6-455f-f475-952f-5e79cdc9fbde',\n", + " 'rank': 'normal'}],\n", + " 'P3417': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P3417',\n", + " 'hash': '0beb488c8aadf2298e02efbdb3d400dc7435b81a',\n", + " 'datavalue': {'value': 'Catwoman-DC-character', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$c32d996c-48b3-c34f-0cdd-3805c129078f',\n", + " 'rank': 'normal'}],\n", + " 'P26': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P26',\n", + " 'hash': '54baedf3facdc08352185e8725fb794af20b227a',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 3636199,\n", + " 'id': 'Q3636199'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$F52716A0-18D5-482D-8FA1-13B001E1F51D',\n", + " 'rank': 'normal',\n", + " 'references': [{'hash': '066d00ffb5a0ba47ac3e2cfe072dac893e3684b5',\n", + " 'snaks': {'P3452': [{'snaktype': 'value',\n", + " 'property': 'P3452',\n", + " 'hash': '6402585f5cc74017009d3ec43843a7efc7005a2b',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 3636199,\n", + " 'id': 'Q3636199'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'}]},\n", + " 'snaks-order': ['P3452']}]}],\n", + " 'P451': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P451',\n", + " 'hash': 'd7fc22471de958c7c9bb9df7149af90a7cd023e6',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 2695156,\n", + " 'id': 'Q2695156'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$0eb5e653-40e0-9c96-75bd-4ba947a5f854',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P451',\n", + " 'hash': 'e672d41fe28aac44b26b4dbaad059d07e1ec09e0',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 4869384,\n", + " 'id': 'Q4869384'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$ae59d00f-4006-d9de-e9b4-763a4f62df31',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P451',\n", + " 'hash': 'c62c8a77f72ece63e336367de04947400fcbdd9a',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 60043905,\n", + " 'id': 'Q60043905'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$e1f20a6f-4daa-35b5-6980-d8c6c02674e9',\n", + " 'rank': 'normal'}],\n", + " 'P27': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P27',\n", + " 'hash': '52d0408c7915122e0519a22577f0cbdcb28f749b',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 30,\n", + " 'id': 'Q30'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$db80cc4e-401b-12d6-3a33-7a5bcf6fec1a',\n", + " 'rank': 'normal'}],\n", + " 'P1559': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1559',\n", + " 'hash': '2d6c84b95e80dd66bee14148c066d04acca46296',\n", + " 'datavalue': {'value': {'text': 'Catwoman', 'language': 'en'},\n", + " 'type': 'monolingualtext'},\n", + " 'datatype': 'monolingualtext'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$89307638-4a88-0882-6ad0-ffc1510c89f2',\n", + " 'rank': 'normal',\n", + " 'references': [{'hash': '288ab581e7d2d02995a26dfa8b091d96e78457fc',\n", + " 'snaks': {'P143': [{'snaktype': 'value',\n", + " 'property': 'P143',\n", + " 'hash': '6a164248fc96bfa583bbb495cb63ae6401ec203c',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 206855,\n", + " 'id': 'Q206855'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'}]},\n", + " 'snaks-order': ['P143']}]}],\n", + " 'P856': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P856',\n", + " 'hash': '00336b27daa32ab19067bb8fefd4ec38a0910fe8',\n", + " 'datavalue': {'value': 'https://www.dccomics.com/characters/catwoman',\n", + " 'type': 'string'},\n", + " 'datatype': 'url'},\n", + " 'type': 'statement',\n", + " 'qualifiers': {'P407': [{'snaktype': 'value',\n", + " 'property': 'P407',\n", + " 'hash': 'daf1c4fcb58181b02dff9cc89deb084004ddae4b',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 1860,\n", + " 'id': 'Q1860'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'}]},\n", + " 'qualifiers-order': ['P407'],\n", + " 'id': 'Q158952$d1cd1b1e-44ef-1276-c9a6-c793a473001b',\n", + " 'rank': 'normal'}],\n", + " 'P1477': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1477',\n", + " 'hash': '27b075e61a0837919c280132516a366571fd7d9a',\n", + " 'datavalue': {'value': {'text': 'Selina Kyle', 'language': 'en'},\n", + " 'type': 'monolingualtext'},\n", + " 'datatype': 'monolingualtext'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$02e5329a-42a7-04d0-aa15-2056ccfb6d78',\n", + " 'rank': 'normal'}],\n", + " 'P19': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P19',\n", + " 'hash': 'ab07fbb92253da9ec1caa92fd6c655273327958e',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 732858,\n", + " 'id': 'Q732858'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$493d9b15-42c4-1122-0c96-282d870c8bfa',\n", + " 'rank': 'normal'}],\n", + " 'P1417': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1417',\n", + " 'hash': '854613b5a2a053f04ed826957b8adcc7ef7bdd75',\n", + " 'datavalue': {'value': 'topic/Catwoman', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$7F5B9038-362A-4EF2-BF99-4A1AB932BA2A',\n", + " 'rank': 'normal'}],\n", + " 'P4969': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P4969',\n", + " 'hash': 'f4198270fe8f8fb3d63b55a26c07c6601683243b',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 5054223,\n", + " 'id': 'Q5054223'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$F026E6D7-C372-4653-9E3B-CCBE07DA3348',\n", + " 'rank': 'normal',\n", + " 'references': [{'hash': '5ff4017035cf9401f46707644f09ec1eb622cd3a',\n", + " 'snaks': {'P3452': [{'snaktype': 'value',\n", + " 'property': 'P3452',\n", + " 'hash': 'da77e1c42f4084865e2eac90881eca4e0d782ea8',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 5054223,\n", + " 'id': 'Q5054223'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'}]},\n", + " 'snaks-order': ['P3452']}]},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P4969',\n", + " 'hash': 'e8b9c1107c01ffeb614b4b3c4beb77ad6fe4295f',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 11855112,\n", + " 'id': 'Q11855112'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$E14C8191-B8C1-4E28-A177-754727C7DC9F',\n", + " 'rank': 'normal',\n", + " 'references': [{'hash': '5eb5d821a18294d1816df4dbc5b5d0cbce26dc13',\n", + " 'snaks': {'P3452': [{'snaktype': 'value',\n", + " 'property': 'P3452',\n", + " 'hash': 'a7e3d20b3fa24f12ea88ec31f1136ad4f65b86cf',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 11855112,\n", + " 'id': 'Q11855112'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'}]},\n", + " 'snaks-order': ['P3452']}]},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P4969',\n", + " 'hash': 'ce8f98b7dae1895c47d624a8eedf1b727acdb619',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 115760,\n", + " 'id': 'Q115760'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$058e0fb9-439a-5798-131f-af731ed7cb9b',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P4969',\n", + " 'hash': 'aefbcbe56c8ee0c78c8009fcdbe66f1c4716b6d6',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 52199465,\n", + " 'id': 'Q52199465'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$cacd7de3-4134-9586-2213-0168c11b1c03',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P4969',\n", + " 'hash': '289d30e18c5dfe30f4f7908554b6ada387d3e6f0',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 64026997,\n", + " 'id': 'Q64026997'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$f838b6d6-4e08-472a-968c-d0d32c778d25',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P4969',\n", + " 'hash': 'f9543a67ca2b6744ee5e8a1c441fc8347a5765c3',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 70991896,\n", + " 'id': 'Q70991896'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$d6a93873-4782-db35-3b93-5b599e704240',\n", + " 'rank': 'normal'}],\n", + " 'P5905': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P5905',\n", + " 'hash': '74c3902a109ecde21820b218e4ae02160c2d14b9',\n", + " 'datavalue': {'value': '4005-1698', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$29a6497d-4a78-669d-a834-21cf1d199a39',\n", + " 'rank': 'normal'}],\n", + " 'P244': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P244',\n", + " 'hash': '95f43da31ab68dad72b36181beb3fac3fde7bf5b',\n", + " 'datavalue': {'value': 'nb2017009531', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$FFEF9CE3-179E-468E-83A5-C5D27D37671E',\n", + " 'rank': 'normal',\n", + " 'references': [{'hash': 'ac5d47e9fbcc281bc0d27a205ae02e22ad24ce31',\n", + " 'snaks': {'P854': [{'snaktype': 'value',\n", + " 'property': 'P854',\n", + " 'hash': 'b560dc6b281a39d061e189d2eb299a426a06f1a2',\n", + " 'datavalue': {'value': 'https://github.com/JohnMarkOckerbloom/ftl/blob/master/data/wikimap',\n", + " 'type': 'string'},\n", + " 'datatype': 'url'}],\n", + " 'P813': [{'snaktype': 'value',\n", + " 'property': 'P813',\n", + " 'hash': '0dcf4f64e93fdcc654e2c7534285881fe48b9f3d',\n", + " 'datavalue': {'value': {'time': '+2019-04-03T00:00:00Z',\n", + " 'timezone': 0,\n", + " 'before': 0,\n", + " 'after': 0,\n", + " 'precision': 11,\n", + " 'calendarmodel': 'http://www.wikidata.org/entity/Q1985727'},\n", + " 'type': 'time'},\n", + " 'datatype': 'time'}]},\n", + " 'snaks-order': ['P854', 'P813']}]},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P244',\n", + " 'hash': '877e95c624cf406d1460b3bf1871c5262972e4d5',\n", + " 'datavalue': {'value': 'sh92005790', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$99ceb4b0-465d-f058-48e2-f7a4bad767e7',\n", + " 'rank': 'deprecated'}],\n", + " 'P949': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P949',\n", + " 'hash': '1c46dd0d60b66e0939f7a42b94eaa382ddf22347',\n", + " 'datavalue': {'value': '005167757', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$6b184f58-4a20-cc07-b984-a3c1b4a331d6',\n", + " 'rank': 'normal'}],\n", + " 'P2163': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P2163',\n", + " 'hash': 'b4f7b953f03c8fbea03621c5097df1686615d6cc',\n", + " 'datavalue': {'value': '849765', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$3bd4d6e6-49a2-312a-8c0c-9858f325a70f',\n", + " 'rank': 'normal'}],\n", + " 'P268': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P268',\n", + " 'hash': '2517d142ee84b98d33881f1d31489027e0f15d1f',\n", + " 'datavalue': {'value': '14599700j', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$86bed710-4128-afd1-e37c-4ed0a60d87ff',\n", + " 'rank': 'normal'}],\n", + " 'P269': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P269',\n", + " 'hash': '53693f0c1eac2fbf80f6cd220b98e0c44a47c5dc',\n", + " 'datavalue': {'value': '083973877', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$603d2efd-4573-9ff8-fce0-ff30b6b66b4c',\n", + " 'rank': 'normal'}],\n", + " 'P463': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P463',\n", + " 'hash': '14a1aa1dbc7e6543a1ad86aee23c08cd89ee5376',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 6318133,\n", + " 'id': 'Q6318133'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$b8bd4a15-48ba-a1db-6885-c23610798bff',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P463',\n", + " 'hash': '6df0419db13a0d3b4cd83056bfb351ae768eb961',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 735744,\n", + " 'id': 'Q735744'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$d9328e4d-4f0d-c548-df18-74e280df57d2',\n", + " 'rank': 'normal'}],\n", + " 'P910': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P910',\n", + " 'hash': '71999de54009a830dfcaca49488f8578b3dc3e2c',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 65599582,\n", + " 'id': 'Q65599582'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$f15ae36e-4664-9457-dadd-f7692efa1d9b',\n", + " 'rank': 'normal'}],\n", + " 'P7047': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P7047',\n", + " 'hash': '1393fb0a3bac6f71918a77e43360d921ddd665b2',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 2321516,\n", + " 'id': 'Q2321516'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$3d2a9c2f-4b2f-8cd5-73fc-a0095a759021',\n", + " 'rank': 'normal'}],\n", + " 'P7704': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P7704',\n", + " 'hash': '519c9f029fe36ef0807f9dfb9403c275850b83c2',\n", + " 'datavalue': {'value': 'agent/base/148998', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$A9CC6C37-7768-4EB5-AA51-84C86DD6DDB4',\n", + " 'rank': 'normal',\n", + " 'references': [{'hash': '985639b756cedf794738c3255691812093799d32',\n", + " 'snaks': {'P813': [{'snaktype': 'value',\n", + " 'property': 'P813',\n", + " 'hash': '5d49dcad58178bb6a589bfc4b86e95ff3e11bd3a',\n", + " 'datavalue': {'value': {'time': '+2019-12-25T00:00:00Z',\n", + " 'timezone': 0,\n", + " 'before': 0,\n", + " 'after': 0,\n", + " 'precision': 11,\n", + " 'calendarmodel': 'http://www.wikidata.org/entity/Q1985727'},\n", + " 'type': 'time'},\n", + " 'datatype': 'time'}]},\n", + " 'snaks-order': ['P813']}]}],\n", + " 'P1889': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1889',\n", + " 'hash': '13ca5e81244138e4b20286f7a36f3e9a067def23',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 11572006,\n", + " 'id': 'Q11572006'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$c7ef3fd3-49be-aac2-cfc7-6086211e219f',\n", + " 'rank': 'normal'}],\n", + " 'P7859': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P7859',\n", + " 'hash': '07a2df5b097a76ddf0b9ae9f593bb344f14f5abb',\n", + " 'datavalue': {'value': 'lccn-nb2017009531', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$9491DD59-8614-4602-AEBB-C4B1C47A8704',\n", + " 'rank': 'normal',\n", + " 'references': [{'hash': 'c519f9b7204b6030901269ae58e9290d32183b41',\n", + " 'snaks': {'P214': [{'snaktype': 'value',\n", + " 'property': 'P214',\n", + " 'hash': 'a385e61b6a7bc58e986900a1aafa4ef0fbe93e8d',\n", + " 'datavalue': {'value': '10149415108289551507', 'type': 'string'},\n", + " 'datatype': 'external-id'}]},\n", + " 'snaks-order': ['P214']}]},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P7859',\n", + " 'hash': '8ad44aa89f85a37a3876b066e99a9e4b6216e039',\n", + " 'datavalue': {'value': 'viaf-8278446', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$A6F5141B-2A76-43C4-BDD7-F0A294BB6A78',\n", + " 'rank': 'normal',\n", + " 'references': [{'hash': 'aa07acb974ca9f0287ea25e3647df348f3ab2051',\n", + " 'snaks': {'P214': [{'snaktype': 'value',\n", + " 'property': 'P214',\n", + " 'hash': 'a60b521c7f07799c1f13ced2c62da44172091f9a',\n", + " 'datavalue': {'value': '8278446', 'type': 'string'},\n", + " 'datatype': 'external-id'}]},\n", + " 'snaks-order': ['P214']}]},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P7859',\n", + " 'hash': 'a405dc07fcb10b5dd4aa8b75123c1a183b88819d',\n", + " 'datavalue': {'value': 'viaf-87148752250341202156', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$8AD3E698-BAC8-408A-AAF2-180D4BBF99B7',\n", + " 'rank': 'normal',\n", + " 'references': [{'hash': 'f04b59d1740c1afb1153d11691e4ea1b3e1f5c66',\n", + " 'snaks': {'P214': [{'snaktype': 'value',\n", + " 'property': 'P214',\n", + " 'hash': '197f297e7990324d8f334c866c08d3a363a03f41',\n", + " 'datavalue': {'value': '87148752250341202156', 'type': 'string'},\n", + " 'datatype': 'external-id'}]},\n", + " 'snaks-order': ['P214']}]},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P7859',\n", + " 'hash': '878ca85c4612a7e539af1652969a7c038bb5ca3c',\n", + " 'datavalue': {'value': 'viaf-294935236', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$F12B9748-B306-48A5-A2AF-EAA0C272BACC',\n", + " 'rank': 'normal',\n", + " 'references': [{'hash': '46fc2ef7087c8a6c27cd3b5ba14447e0c612a6a8',\n", + " 'snaks': {'P214': [{'snaktype': 'value',\n", + " 'property': 'P214',\n", + " 'hash': 'f3bc222e152158b86cdfb8cfecd6ff0d27192b52',\n", + " 'datavalue': {'value': '294935236', 'type': 'string'},\n", + " 'datatype': 'external-id'}]},\n", + " 'snaks-order': ['P214']}]}],\n", + " 'P1412': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1412',\n", + " 'hash': '219313e4b5be93abc58d1e0abcc02ee784a8582c',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 7976,\n", + " 'id': 'Q7976'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$dccf2a1c-49ea-27fb-0b7c-601e1f6f22c8',\n", + " 'rank': 'normal'}],\n", + " 'P5648': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P5648',\n", + " 'hash': '8b53bc046876b8e60c6ed018f10a1c5f507b6686',\n", + " 'datavalue': {'value': '111475', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$3D14A106-5EC5-4D91-90E5-EA0A2FF0E959',\n", + " 'rank': 'normal',\n", + " 'references': [{'hash': '40eed45c24e6c43945dec5752d212c8b75edb012',\n", + " 'snaks': {'P854': [{'snaktype': 'value',\n", + " 'property': 'P854',\n", + " 'hash': 'd6afdbb3f1885368ffb7e5ed1c3b4b9c176fb882',\n", + " 'datavalue': {'value': 'https://anidb.net/character/111475',\n", + " 'type': 'string'},\n", + " 'datatype': 'url'}],\n", + " 'P1476': [{'snaktype': 'value',\n", + " 'property': 'P1476',\n", + " 'hash': 'c44aa2835ea429db14b187cd0415811ed554441e',\n", + " 'datavalue': {'value': {'text': 'Catwoman - Character (111475) - AniDB',\n", + " 'language': 'en'},\n", + " 'type': 'monolingualtext'},\n", + " 'datatype': 'monolingualtext'}],\n", + " 'P813': [{'snaktype': 'value',\n", + " 'property': 'P813',\n", + " 'hash': '1404ed43c31d4e2b8b834d065951afce7838bfe2',\n", + " 'datavalue': {'value': {'time': '+2020-11-30T00:00:00Z',\n", + " 'timezone': 0,\n", + " 'before': 0,\n", + " 'after': 0,\n", + " 'precision': 11,\n", + " 'calendarmodel': 'http://www.wikidata.org/entity/Q1985727'},\n", + " 'type': 'time'},\n", + " 'datatype': 'time'}]},\n", + " 'snaks-order': ['P854', 'P1476', 'P813']}]}],\n", + " 'P7293': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P7293',\n", + " 'hash': 'ab7dd118f1604288b980837adfae8b54dab2b83e',\n", + " 'datavalue': {'value': '9810546901005606', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$86B4F827-2EF8-4B00-89CB-5B8B459AB6C8',\n", + " 'rank': 'normal'}],\n", + " 'P1424': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1424',\n", + " 'hash': '94e3f25411588a2ed4c945cc5abb459a6205d16d',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 6866625,\n", + " 'id': 'Q6866625'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$24bf84db-4a31-f9ba-367c-8e3e2ee59e89',\n", + " 'rank': 'normal'}],\n", + " 'P9071': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P9071',\n", + " 'hash': 'e1719847eecb5d6899ecf6bff27dfca3abc7bb2a',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 110910,\n", + " 'id': 'Q110910'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$661FD3F2-3016-4DF8-A1C4-2473399BFDDA',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P9071',\n", + " 'hash': '136f2983aac280ca0b39b488a8bab1eafc6814bf',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 6498903,\n", + " 'id': 'Q6498903'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$4EED4908-9980-46FB-ACC7-11DB9B1146F9',\n", + " 'rank': 'normal'}],\n", + " 'P5107': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P5107',\n", + " 'hash': 'c8ba698adf75ccd5492fe40c1d4a8ea5f8291656',\n", + " 'datavalue': {'value': 'Batman/Catwoman', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$4F51C74C-C9CE-4703-AEFF-C4ED82E7A110',\n", + " 'rank': 'normal',\n", + " 'references': [{'hash': '0cd750e741c58e894db394825bdc8f5b2bbcf9a1',\n", + " 'snaks': {'P854': [{'snaktype': 'value',\n", + " 'property': 'P854',\n", + " 'hash': '7867e9647ae2f44247b5119331d341b177089d2c',\n", + " 'datavalue': {'value': 'https://www.behindthevoiceactors.com/characters/Batman/Catwoman/',\n", + " 'type': 'string'},\n", + " 'datatype': 'url'}],\n", + " 'P1476': [{'snaktype': 'value',\n", + " 'property': 'P1476',\n", + " 'hash': '773a293c2228fa491576391ca7b85e82e159dd99',\n", + " 'datavalue': {'value': {'text': 'Catwoman Voices (Batman) - Behind The Voice Actors',\n", + " 'language': 'en'},\n", + " 'type': 'monolingualtext'},\n", + " 'datatype': 'monolingualtext'}],\n", + " 'P813': [{'snaktype': 'value',\n", + " 'property': 'P813',\n", + " 'hash': 'd13a4416596b47f53ccdd352c89523dac2608c83',\n", + " 'datavalue': {'value': {'time': '+2021-01-30T00:00:00Z',\n", + " 'timezone': 0,\n", + " 'before': 0,\n", + " 'after': 0,\n", + " 'precision': 11,\n", + " 'calendarmodel': 'http://www.wikidata.org/entity/Q1985727'},\n", + " 'type': 'time'},\n", + " 'datatype': 'time'}]},\n", + " 'snaks-order': ['P854', 'P1476', 'P813']}]}],\n", + " 'P103': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P103',\n", + " 'hash': '5a2b6b39d17e588ffbd7547b4875ce21166183f1',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 7976,\n", + " 'id': 'Q7976'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$6d595acc-4546-93c1-0183-ec1781be7b84',\n", + " 'rank': 'normal'}],\n", + " 'P802': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P802',\n", + " 'hash': 'a9e241ba0ce1117d4c7b30e8351cb9ad6c76db19',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 397953,\n", + " 'id': 'Q397953'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$2abea91e-4fb9-3282-da11-e12e2de6ba49',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P802',\n", + " 'hash': 'a3ea184ff2d84d115e470d543ce9c8bef3712241',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 5882236,\n", + " 'id': 'Q5882236'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$9bb59385-45c8-b387-b28a-d63b898bd281',\n", + " 'rank': 'normal'}],\n", + " 'P18': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P18',\n", + " 'hash': 'c53bc1d1975c48d035b9003f38173d0bd7f2abfe',\n", + " 'datavalue': {'value': 'Eartha Kitt Catwoman debut 1967.jpg',\n", + " 'type': 'string'},\n", + " 'datatype': 'commonsMedia'},\n", + " 'type': 'statement',\n", + " 'qualifiers': {'P3831': [{'snaktype': 'value',\n", + " 'property': 'P3831',\n", + " 'hash': '1f6270d7466930f846196272308239a630555992',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 184485,\n", + " 'id': 'Q184485'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'}]},\n", + " 'qualifiers-order': ['P3831'],\n", + " 'id': 'Q158952$e55c821f-4547-5a18-87b7-5e02742c851a',\n", + " 'rank': 'normal'}],\n", + " 'P9851': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P9851',\n", + " 'hash': '7a0c21ab7a12ba35aad792949a94f24827091a72',\n", + " 'datavalue': {'value': 'catwoman', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$B959A0F0-C286-48D8-9A15-F88993A5DC79',\n", + " 'rank': 'normal'}],\n", + " 'P8189': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P8189',\n", + " 'hash': 'b65299bf6561b7e42d46d8f130267140b1cb5d71',\n", + " 'datavalue': {'value': '987007400495405171', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$87B1866E-F81D-4441-88BE-4298CBF368ED',\n", + " 'rank': 'normal'}],\n", + " 'P520': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P520',\n", + " 'hash': 'b632ad0e1efd05292205eacdda6c4cf7602e1b5b',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 152910,\n", + " 'id': 'Q152910'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$7e643170-441d-1203-2abf-1d032e59c234',\n", + " 'rank': 'normal'}]},\n", + " 'sitelinks': {'arwiki': {'site': 'arwiki',\n", + " 'title': 'المرأة القطة',\n", + " 'badges': []},\n", + " 'astwiki': {'site': 'astwiki', 'title': 'Catwoman', 'badges': []},\n", + " 'azwiki': {'site': 'azwiki', 'title': 'Pişik-qadın', 'badges': []},\n", + " 'bgwiki': {'site': 'bgwiki', 'title': 'Жената-котка', 'badges': []},\n", + " 'cawiki': {'site': 'cawiki', 'title': 'Catwoman', 'badges': []},\n", + " 'cebwiki': {'site': 'cebwiki', 'title': 'Catwoman', 'badges': []},\n", + " 'dawiki': {'site': 'dawiki', 'title': 'Catwoman', 'badges': []},\n", + " 'dewiki': {'site': 'dewiki', 'title': 'Catwoman', 'badges': []},\n", + " 'elwiki': {'site': 'elwiki', 'title': 'Catwoman', 'badges': []},\n", + " 'enwiki': {'site': 'enwiki', 'title': 'Catwoman', 'badges': []},\n", + " 'enwikiquote': {'site': 'enwikiquote',\n", + " 'title': 'Selina Kyle',\n", + " 'badges': []},\n", + " 'eowiki': {'site': 'eowiki', 'title': 'Catwoman', 'badges': []},\n", + " 'eswiki': {'site': 'eswiki', 'title': 'Catwoman', 'badges': []},\n", + " 'etwiki': {'site': 'etwiki', 'title': 'Kassnaine', 'badges': []},\n", + " 'euwiki': {'site': 'euwiki', 'title': 'Andrakatu', 'badges': []},\n", + " 'fawiki': {'site': 'fawiki', 'title': 'کت\\u200cومن', 'badges': []},\n", + " 'fiwiki': {'site': 'fiwiki', 'title': 'Kissanainen', 'badges': []},\n", + " 'frpwiki': {'site': 'frpwiki',\n", + " 'title': 'Femèla-Chat (pèrsonâjo)',\n", + " 'badges': []},\n", + " 'frwiki': {'site': 'frwiki', 'title': 'Catwoman', 'badges': []},\n", + " 'hewiki': {'site': 'hewiki', 'title': 'קאטוומן', 'badges': []},\n", + " 'hrwiki': {'site': 'hrwiki', 'title': 'Catwoman', 'badges': []},\n", + " 'huwiki': {'site': 'huwiki', 'title': 'Macskanő (szereplő)', 'badges': []},\n", + " 'idwiki': {'site': 'idwiki', 'title': 'Catwoman', 'badges': []},\n", + " 'iswiki': {'site': 'iswiki', 'title': 'Kattakona', 'badges': []},\n", + " 'itwiki': {'site': 'itwiki', 'title': 'Catwoman', 'badges': []},\n", + " 'itwikiquote': {'site': 'itwikiquote', 'title': 'Catwoman', 'badges': []},\n", + " 'jawiki': {'site': 'jawiki', 'title': 'キャットウーマン', 'badges': []},\n", + " 'kawiki': {'site': 'kawiki', 'title': 'ქალი-კატა (კომიქსი)', 'badges': []},\n", + " 'kkwiki': {'site': 'kkwiki', 'title': 'Мысық-әйел', 'badges': []},\n", + " 'kowiki': {'site': 'kowiki', 'title': '캣우먼', 'badges': []},\n", + " 'ltwiki': {'site': 'ltwiki', 'title': 'Moteris katė', 'badges': []},\n", + " 'mlwiki': {'site': 'mlwiki', 'title': 'ക്യാറ്റ്\\u200dവുമൺ', 'badges': []},\n", + " 'mswiki': {'site': 'mswiki', 'title': 'Catwoman', 'badges': []},\n", + " 'nlwiki': {'site': 'nlwiki', 'title': 'Catwoman', 'badges': []},\n", + " 'plwiki': {'site': 'plwiki', 'title': 'Kobieta-Kot', 'badges': []},\n", + " 'ptwiki': {'site': 'ptwiki', 'title': 'Mulher-Gato', 'badges': []},\n", + " 'ruwiki': {'site': 'ruwiki', 'title': 'Женщина-кошка', 'badges': []},\n", + " 'shwiki': {'site': 'shwiki', 'title': 'Catwoman', 'badges': []},\n", + " 'simplewiki': {'site': 'simplewiki', 'title': 'Catwoman', 'badges': []},\n", + " 'sqwiki': {'site': 'sqwiki', 'title': 'Catwoman', 'badges': []},\n", + " 'srnwiki': {'site': 'srnwiki', 'title': 'Catwoman', 'badges': []},\n", + " 'srwiki': {'site': 'srwiki', 'title': 'Žena-mačka', 'badges': []},\n", + " 'svwiki': {'site': 'svwiki', 'title': 'Catwoman', 'badges': []},\n", + " 'tawiki': {'site': 'tawiki', 'title': 'கேட்வுமன்', 'badges': []},\n", + " 'thwiki': {'site': 'thwiki', 'title': 'แคตวูแมน (ตัวละคร)', 'badges': []},\n", + " 'tlwiki': {'site': 'tlwiki', 'title': 'Catwoman', 'badges': []},\n", + " 'trwiki': {'site': 'trwiki', 'title': 'Kedi Kadın', 'badges': []},\n", + " 'ukwiki': {'site': 'ukwiki', 'title': 'Жінка-кішка', 'badges': []},\n", + " 'uzwiki': {'site': 'uzwiki', 'title': 'Mushuk ayol', 'badges': []},\n", + " 'viwiki': {'site': 'viwiki', 'title': 'Catwoman', 'badges': []},\n", + " 'wuuwiki': {'site': 'wuuwiki', 'title': '猫女', 'badges': []},\n", + " 'zh_yuewiki': {'site': 'zh_yuewiki', 'title': '貓女', 'badges': []},\n", + " 'zhwiki': {'site': 'zhwiki', 'title': '猫女', 'badges': []}}}},\n", + " 'success': 1}" + ] + }, + "execution_count": 7, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "# It is possible to get the wikidata directly from the query. It corresponds to using the first of the related QIDs\n", + "data = wiki.get_json_from_qid(qids[0])\n", + "data = wiki.get_json_from_query(query)\n", + "data" + ] + }, + { + "cell_type": "code", + "execution_count": 8, + "id": "biblical-register", + "metadata": { + "scrolled": true + }, + "outputs": [ + { + "data": { + "text/plain": [ + "{'P373': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P373',\n", + " 'hash': '59c134c615ad9a5777bb19947f294cd32a2608ab',\n", + " 'datavalue': {'value': 'Catwoman', 'type': 'string'},\n", + " 'datatype': 'string'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$a2448213-4537-0872-8f3e-fad85bca2109',\n", + " 'rank': 'normal'}],\n", + " 'P345': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P345',\n", + " 'hash': 'f23a044ebdbf18957388ceb2ef3b388afe33de77',\n", + " 'datavalue': {'value': 'ch0000184', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'qualifiers': {'P2241': [{'snaktype': 'value',\n", + " 'property': 'P2241',\n", + " 'hash': 'b5a95dd10e545d7e57bfcc86e5f3290b6c1231d3',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 44374960,\n", + " 'id': 'Q44374960'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'}]},\n", + " 'qualifiers-order': ['P2241'],\n", + " 'id': 'Q158952$f1a5ce26-40c4-d342-c11f-8e36ce074bc9',\n", + " 'rank': 'deprecated'}],\n", + " 'P31': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P31',\n", + " 'hash': '4b61b3ead02d77bdf2ce33a93a40d3329882267d',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 1114461,\n", + " 'id': 'Q1114461'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$53974ec5-4967-3698-b21b-58064dc935cf',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P31',\n", + " 'hash': 'f963dc19bd5650f5822ec55162163e4a826d8cf0',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 15632617,\n", + " 'id': 'Q15632617'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$aa4517ac-4049-f253-5651-675cea3779c9',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P31',\n", + " 'hash': '29d6e6de9e4e48dd1692512778e3f46581c6b976',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 15773317,\n", + " 'id': 'Q15773317'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$8de66a6b-4791-565a-9f6b-c22295217e2d',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P31',\n", + " 'hash': '40b2f4488342e4cd4d7ee494559a3435baccf706',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 15711870,\n", + " 'id': 'Q15711870'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$c31b6331-485e-0b40-1b76-64a26d102146',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P31',\n", + " 'hash': '97e49731a58eacce9a90e9e2e39852787368c18b',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 63998451,\n", + " 'id': 'Q63998451'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$7f018474-43cb-c757-f4a4-d05e6e441ce7',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P31',\n", + " 'hash': '8783a9391733b599aef753a56b06af750c22b23b',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 1569167,\n", + " 'id': 'Q1569167'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$497761d2-409f-6578-0413-6bf8c0d95499',\n", + " 'rank': 'normal'}],\n", + " 'P214': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P214',\n", + " 'hash': 'a385e61b6a7bc58e986900a1aafa4ef0fbe93e8d',\n", + " 'datavalue': {'value': '10149415108289551507', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'q158952$E6C64441-0D6D-4158-B941-05C92EA44788',\n", + " 'rank': 'normal',\n", + " 'references': [{'hash': '9a24f7c0208b05d6be97077d855671d1dfdbc0dd',\n", + " 'snaks': {'P143': [{'snaktype': 'value',\n", + " 'property': 'P143',\n", + " 'hash': 'd38375ffe6fe142663ff55cd783aa4df4301d83d',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 48183,\n", + " 'id': 'Q48183'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'}]},\n", + " 'snaks-order': ['P143']}]},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P214',\n", + " 'hash': '197f297e7990324d8f334c866c08d3a363a03f41',\n", + " 'datavalue': {'value': '87148752250341202156', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$ccf365cd-4446-9fe9-00be-035e63f458ae',\n", + " 'rank': 'normal'}],\n", + " 'P227': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P227',\n", + " 'hash': '469744a780a71d5a49c707d8f322f55dc4c61de8',\n", + " 'datavalue': {'value': '122812549', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'q158952$16CD9CA2-4F32-4E31-8906-1C0FA3E54A0A',\n", + " 'rank': 'normal',\n", + " 'references': [{'hash': '9a24f7c0208b05d6be97077d855671d1dfdbc0dd',\n", + " 'snaks': {'P143': [{'snaktype': 'value',\n", + " 'property': 'P143',\n", + " 'hash': 'd38375ffe6fe142663ff55cd783aa4df4301d83d',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 48183,\n", + " 'id': 'Q48183'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'}]},\n", + " 'snaks-order': ['P143']}]}],\n", + " 'P21': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P21',\n", + " 'hash': '5760796ff6ebc63aae12cdcbf509b07ebf0bd201',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 6581072,\n", + " 'id': 'Q6581072'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$40E8ED17-4BC6-4426-AB62-5DFEAA11CF48',\n", + " 'rank': 'normal'}],\n", + " 'P646': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P646',\n", + " 'hash': '6d4249f60859bd719c5e5dad874f8b03a8c2d171',\n", + " 'datavalue': {'value': '/m/027j55', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$4D05FE85-E306-43DD-AF09-ED1888F7058A',\n", + " 'rank': 'normal',\n", + " 'references': [{'hash': '2b00cb481cddcac7623114367489b5c194901c4a',\n", + " 'snaks': {'P248': [{'snaktype': 'value',\n", + " 'property': 'P248',\n", + " 'hash': 'a94b740202b097dd33355e0e6c00e54b9395e5e0',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 15241312,\n", + " 'id': 'Q15241312'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'}],\n", + " 'P577': [{'snaktype': 'value',\n", + " 'property': 'P577',\n", + " 'hash': 'fde79ecb015112d2f29229ccc1ec514ed3e71fa2',\n", + " 'datavalue': {'value': {'time': '+2013-10-28T00:00:00Z',\n", + " 'timezone': 0,\n", + " 'before': 0,\n", + " 'after': 0,\n", + " 'precision': 11,\n", + " 'calendarmodel': 'http://www.wikidata.org/entity/Q1985727'},\n", + " 'type': 'time'},\n", + " 'datatype': 'time'}]},\n", + " 'snaks-order': ['P248', 'P577']}]}],\n", + " 'P175': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P175',\n", + " 'hash': 'f0d41c9df6f4ab49633a05eeb2455f1707485c37',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 36301,\n", + " 'id': 'Q36301'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'qualifiers': {'P642': [{'snaktype': 'value',\n", + " 'property': 'P642',\n", + " 'hash': 'f2770e65c079227645efe0d894a96f4c1dd2f516',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 189330,\n", + " 'id': 'Q189330'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'}]},\n", + " 'qualifiers-order': ['P642'],\n", + " 'id': 'Q158952$F0BB4454-E8E5-49DE-A13A-3C3FDDD70084',\n", + " 'rank': 'normal',\n", + " 'references': [{'hash': 'd5847b9b6032aa8b13dae3c2dfd9ed5d114d21b3',\n", + " 'snaks': {'P143': [{'snaktype': 'value',\n", + " 'property': 'P143',\n", + " 'hash': '5a343e7e758a4282a01316d3e959b6e653b767fc',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 11920,\n", + " 'id': 'Q11920'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'}]},\n", + " 'snaks-order': ['P143']}]},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P175',\n", + " 'hash': '13dc76317cf62aaaf9dcbb4e6d12c65f2f841d68',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 17166313,\n", + " 'id': 'Q17166313'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'qualifiers': {'P642': [{'snaktype': 'value',\n", + " 'property': 'P642',\n", + " 'hash': '574681e18e3a623417ce560e648ebd9fcbcb1e9c',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 15726959,\n", + " 'id': 'Q15726959'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'}]},\n", + " 'qualifiers-order': ['P642'],\n", + " 'id': 'Q158952$0fda214a-4a7f-ecc3-36d8-d2b0461a44bc',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P175',\n", + " 'hash': '844105478b0a3177f485976684848f9c51281c66',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 159778,\n", + " 'id': 'Q159778'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'qualifiers': {'P642': [{'snaktype': 'value',\n", + " 'property': 'P642',\n", + " 'hash': '7e4d2e5f80a47991e96f81fa4a04e25415a094e0',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 189054,\n", + " 'id': 'Q189054'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'}]},\n", + " 'qualifiers-order': ['P642'],\n", + " 'id': 'Q158952$f70d093c-499e-b175-abbc-0a48a02e9b90',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P175',\n", + " 'hash': '1e893611ec1164c4fa8a43359a823acb23328755',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 237221,\n", + " 'id': 'Q237221'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'qualifiers': {'P642': [{'snaktype': 'value',\n", + " 'property': 'P642',\n", + " 'hash': 'cfcac32e803d3998cfc14e149946ef6ce9c4ca17',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 1247201,\n", + " 'id': 'Q1247201'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'}]},\n", + " 'qualifiers-order': ['P642'],\n", + " 'id': 'Q158952$ec81f1db-4689-5695-bc00-223bb4bdb6ff',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P175',\n", + " 'hash': 'e7c800e30b6a033b3eb20dc455836381216775e9',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 222818,\n", + " 'id': 'Q222818'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'qualifiers': {'P642': [{'snaktype': 'value',\n", + " 'property': 'P642',\n", + " 'hash': 'cfcac32e803d3998cfc14e149946ef6ce9c4ca17',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 1247201,\n", + " 'id': 'Q1247201'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'}]},\n", + " 'qualifiers-order': ['P642'],\n", + " 'id': 'Q158952$8f9b8049-45bb-5a6c-a490-8e3f8af9d84a',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P175',\n", + " 'hash': 'f8dbc3d3e5c8a65d53cbc14b5bc48f978a14b0f8',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 267175,\n", + " 'id': 'Q267175'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'qualifiers': {'P642': [{'snaktype': 'value',\n", + " 'property': 'P642',\n", + " 'hash': 'e84460af91c127bed5acd0bc7cd0d907f3b211d3',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 810857,\n", + " 'id': 'Q810857'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'}]},\n", + " 'qualifiers-order': ['P642'],\n", + " 'id': 'Q158952$1733be0e-40f9-8d6f-4698-caf3f957b51f',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P175',\n", + " 'hash': '1df55ad904c38d43019d2fca7d7966ceade30002',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 1033016,\n", + " 'id': 'Q1033016'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'qualifiers': {'P642': [{'snaktype': 'value',\n", + " 'property': 'P642',\n", + " 'hash': 'fa7808d34e0e57198bea112a8f3dd578f674cb0f',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 115760,\n", + " 'id': 'Q115760'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'}]},\n", + " 'qualifiers-order': ['P642'],\n", + " 'id': 'Q158952$3ee53018-4b39-5b3c-fe46-0fecb7c05c44',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P175',\n", + " 'hash': '126d6ffcc1a3cf092f33f9d6f9bf28898d9851c1',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 15944829,\n", + " 'id': 'Q15944829'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'qualifiers': {'P642': [{'snaktype': 'value',\n", + " 'property': 'P642',\n", + " 'hash': '574681e18e3a623417ce560e648ebd9fcbcb1e9c',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 15726959,\n", + " 'id': 'Q15726959'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'}]},\n", + " 'qualifiers-order': ['P642'],\n", + " 'id': 'Q158952$f5c290a4-4cab-4cdd-a367-b71475e2cb61',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P175',\n", + " 'hash': '95e56d56f18882d92cd712be8094eecdd2ed2e51',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 227129,\n", + " 'id': 'Q227129'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'qualifiers': {'P642': [{'snaktype': 'value',\n", + " 'property': 'P642',\n", + " 'hash': '77d0c130452745d428efec247821a3459526f1b9',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 61117344,\n", + " 'id': 'Q61117344'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'}]},\n", + " 'qualifiers-order': ['P642'],\n", + " 'id': 'Q158952$5f6077d3-42c4-8cea-7a06-caf07f628664',\n", + " 'rank': 'normal'}],\n", + " 'P1080': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1080',\n", + " 'hash': '30af99f24639dc2ce719e66bdc0186946b1c563b',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 1152150,\n", + " 'id': 'Q1152150'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$3238A39F-9F10-45DE-A0C6-3DA985AE4A33',\n", + " 'rank': 'normal'}],\n", + " 'P170': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P170',\n", + " 'hash': 'f94f83a23002f3a0ddd3f9a8d6aeca06ebf672cc',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 313048,\n", + " 'id': 'Q313048'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$223B09C8-81FD-4D3F-AD77-989232AF308F',\n", + " 'rank': 'normal',\n", + " 'references': [{'hash': 'd5847b9b6032aa8b13dae3c2dfd9ed5d114d21b3',\n", + " 'snaks': {'P143': [{'snaktype': 'value',\n", + " 'property': 'P143',\n", + " 'hash': '5a343e7e758a4282a01316d3e959b6e653b767fc',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 11920,\n", + " 'id': 'Q11920'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'}]},\n", + " 'snaks-order': ['P143']}]},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P170',\n", + " 'hash': 'b5048a1185c5d32c47812212f9f45e35bd991e1b',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 464282,\n", + " 'id': 'Q464282'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$574FDDF9-0BBC-4237-9290-89BC3E87D5AC',\n", + " 'rank': 'normal'}],\n", + " 'P1441': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': '2c3fb72308390d3e29e2b36df468af52bbb5cbbc',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 2633138,\n", + " 'id': 'Q2633138'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$c6e888ef-4e3d-2ee4-2388-0a3570240282',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': '5d4ebffbf8f3d5fd16a913c210811f09b1b03bda',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 15726959,\n", + " 'id': 'Q15726959'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$b6c1670b-4865-5505-4d97-0edd0afecb50',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': '5abef28378d2d951e83012037550a8a1824eab24',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 288811,\n", + " 'id': 'Q288811'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$cd6acbed-4104-fc55-021c-8c02fe3af32c',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': 'dabfe8985959d4090ef985251262ee6895946640',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 15891648,\n", + " 'id': 'Q15891648'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$9dd36a3f-4f7a-6096-dae0-4d3193264c35',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': '3997815c86a1e6582959bcac7783f49e82bc3a56',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 189054,\n", + " 'id': 'Q189054'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$2fb041b9-4a92-2934-5732-bee89908032b',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': '5a40183fa0d07ce111bbf38fceb78f7229bdeab4',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 189330,\n", + " 'id': 'Q189330'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$64afb0ec-46ec-5f78-2703-0ac8e35a3047',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': '737b8a8ba5c31e54121834cd5ca095bbd3f45337',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 810857,\n", + " 'id': 'Q810857'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$f9b5ffb2-4cf1-63be-2955-4bd8db43d930',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': '2f2f7a50e6f63e49d23cfc0ab6018e3f8165bd91',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 129161,\n", + " 'id': 'Q129161'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$6b61f91e-4c39-f13d-b95e-a2cd7edd3aec',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': '6832c1bb34b7020cd236ae053f7e8c7a1a826c1c',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 2709431,\n", + " 'id': 'Q2709431'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$20abb418-463c-c419-1e67-4103a5311402',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': '4341174fdb06c937a2f69065f5f6e7addfd3f582',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 26684198,\n", + " 'id': 'Q26684198'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$cf4f7228-408a-e69d-46f2-d06afaee222c',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': 'aba243c2a7cf46393a1eb7318ad52600435fcf88',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 23013169,\n", + " 'id': 'Q23013169'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$b717581f-48f2-7c2d-da15-ea62ee6fbe1c',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': 'bab064c6c81352b93b9a4f26134cd890cc7d0959',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 30764967,\n", + " 'id': 'Q30764967'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$ca2583f3-4775-fe1e-3ee5-058420c7a107',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': '19fd27a34faffe6b8c999b389389ac5990a12ee3',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 43259960,\n", + " 'id': 'Q43259960'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$05849744-467f-9d39-892a-d602756f7bf1',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': '56fe1e1f97e47114d0e417ca81b3e75edcf012f4',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 44353698,\n", + " 'id': 'Q44353698'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$ae1e30d0-455f-01ef-bd6d-dac5425dc3fa',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': 'f9b4d537e9c6069b95b81fec157fb36d9f0adfae',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 1247201,\n", + " 'id': 'Q1247201'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$7da430c0-4b15-be9f-2b8d-8163d05d2f40',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': 'ce1e866dd9cd5978a53285a42c067b2966e09fc4',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 673517,\n", + " 'id': 'Q673517'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$3202ad8b-478f-aff4-0c68-de705ee069ca',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': '68cd17cbe4eedb1a2b8be31e98d75843be36fa2a',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 2362994,\n", + " 'id': 'Q2362994'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$3c69e1f2-41a2-8254-583f-74ba4d01587e',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': 'cd608cd87a2097ce0e4a5ee6f7d06c0dd167f049',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 635933,\n", + " 'id': 'Q635933'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$e06ddae2-46b2-7fa1-394b-1ed2641a23bb',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': '8e86e91fdbcad33e321fe86e4fa79116f4153850',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 371440,\n", + " 'id': 'Q371440'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$54aac7b3-4dac-3122-430e-c390190202fb',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': 'ac6e32d7206e4874554a06c57b5bcee29dcdcf9b',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 11855112,\n", + " 'id': 'Q11855112'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$5df09b55-40e8-8ccf-2a57-1744b97fc8b0',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': '3f2e6e6409c7d89f13707bdedd4ba2d1f74e63e6',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 619427,\n", + " 'id': 'Q619427'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$da1c9b16-42f2-07bc-f3a7-504bdb4706fd',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': '533dce6bb50ef3941727a44eb850b16c2737879e',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 24717189,\n", + " 'id': 'Q24717189'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$df73fcd1-43e9-f654-32d5-8683a7a2f999',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': '39eaf1ab5757473ffaa9664e9baf4bce9c6a77e7',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 979831,\n", + " 'id': 'Q979831'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$e5b4b775-4c84-a295-8482-bd8673cd461e',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': '2859ff8796108c76bb912a27ea5bb9ab86d64c4b',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 10856847,\n", + " 'id': 'Q10856847'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$13eef81e-4747-870c-a0f8-c03c5dfb26d2',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': '96947c9f91c3a1501e94f4dd8d5fe2f4442a5f14',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 63919331,\n", + " 'id': 'Q63919331'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$C4CA5EEF-E4ED-4C5A-B35F-4DCC98AF2D5C',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1441',\n", + " 'hash': '4c114e60f880eea4a98c5481b9fc92d199918004',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 61117344,\n", + " 'id': 'Q61117344'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$053f491a-41d6-0c15-6994-133f90ecfb79',\n", + " 'rank': 'normal'}],\n", + " 'P40': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P40',\n", + " 'hash': '552d44669f8529ea857ee5ded12556f9d7b3fd72',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 397953,\n", + " 'id': 'Q397953'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$fe060bea-4ef9-7acc-3ca6-ebcdc341aa8a',\n", + " 'rank': 'normal'}],\n", + " 'P734': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P734',\n", + " 'hash': '3a1fdbb2bbfd8a855436459e14631ba6574af866',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 16257621,\n", + " 'id': 'Q16257621'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$fff51c32-4f27-f23a-ec94-a970ad87d0fb',\n", + " 'rank': 'normal'}],\n", + " 'P735': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P735',\n", + " 'hash': '02903fb2306e47c53c2540ac1a79cc9c81133205',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 2335092,\n", + " 'id': 'Q2335092'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$38868e9c-4c74-445e-1d16-a840b822b123',\n", + " 'rank': 'normal'}],\n", + " 'P106': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P106',\n", + " 'hash': '64e63d07a2c6bf83117640105fdcd04d369b4aa0',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 6498903,\n", + " 'id': 'Q6498903'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$6597e982-439d-bb2e-84b2-65b6a7b58865',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P106',\n", + " 'hash': '038c8fa95561ca6e8ce3da2142d0b578ee2bdb70',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 3562775,\n", + " 'id': 'Q3562775'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$ad31f4ca-4a81-fbf9-779d-42155b8f1938',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P106',\n", + " 'hash': '15df8c3df8dc39dd5a128cb31e8b67fed82ac174',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 188784,\n", + " 'id': 'Q188784'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$9c1e357c-4b8b-10dd-d4dc-6315097db654',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P106',\n", + " 'hash': 'e75eb343e76c6eb5ce874f61dc7ffe916f9e7c68',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 20085850,\n", + " 'id': 'Q20085850'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$d4af62e9-469c-d756-171a-0ac22e4c257d',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P106',\n", + " 'hash': 'c01bb5cbc8fecd714ec8be0c20d94ae03a3d47f9',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 14915751,\n", + " 'id': 'Q14915751'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$cda4df94-41e3-7f7b-f2b5-95dc6e9828c8',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P106',\n", + " 'hash': 'b82c3487fc72c4b6934b7e59ac62d41dae265de5',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 11124885,\n", + " 'id': 'Q11124885'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$f27c78c6-455f-f475-952f-5e79cdc9fbde',\n", + " 'rank': 'normal'}],\n", + " 'P3417': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P3417',\n", + " 'hash': '0beb488c8aadf2298e02efbdb3d400dc7435b81a',\n", + " 'datavalue': {'value': 'Catwoman-DC-character', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$c32d996c-48b3-c34f-0cdd-3805c129078f',\n", + " 'rank': 'normal'}],\n", + " 'P26': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P26',\n", + " 'hash': '54baedf3facdc08352185e8725fb794af20b227a',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 3636199,\n", + " 'id': 'Q3636199'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$F52716A0-18D5-482D-8FA1-13B001E1F51D',\n", + " 'rank': 'normal',\n", + " 'references': [{'hash': '066d00ffb5a0ba47ac3e2cfe072dac893e3684b5',\n", + " 'snaks': {'P3452': [{'snaktype': 'value',\n", + " 'property': 'P3452',\n", + " 'hash': '6402585f5cc74017009d3ec43843a7efc7005a2b',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 3636199,\n", + " 'id': 'Q3636199'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'}]},\n", + " 'snaks-order': ['P3452']}]}],\n", + " 'P451': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P451',\n", + " 'hash': 'd7fc22471de958c7c9bb9df7149af90a7cd023e6',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 2695156,\n", + " 'id': 'Q2695156'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$0eb5e653-40e0-9c96-75bd-4ba947a5f854',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P451',\n", + " 'hash': 'e672d41fe28aac44b26b4dbaad059d07e1ec09e0',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 4869384,\n", + " 'id': 'Q4869384'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$ae59d00f-4006-d9de-e9b4-763a4f62df31',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P451',\n", + " 'hash': 'c62c8a77f72ece63e336367de04947400fcbdd9a',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 60043905,\n", + " 'id': 'Q60043905'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$e1f20a6f-4daa-35b5-6980-d8c6c02674e9',\n", + " 'rank': 'normal'}],\n", + " 'P27': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P27',\n", + " 'hash': '52d0408c7915122e0519a22577f0cbdcb28f749b',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 30,\n", + " 'id': 'Q30'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$db80cc4e-401b-12d6-3a33-7a5bcf6fec1a',\n", + " 'rank': 'normal'}],\n", + " 'P1559': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1559',\n", + " 'hash': '2d6c84b95e80dd66bee14148c066d04acca46296',\n", + " 'datavalue': {'value': {'text': 'Catwoman', 'language': 'en'},\n", + " 'type': 'monolingualtext'},\n", + " 'datatype': 'monolingualtext'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$89307638-4a88-0882-6ad0-ffc1510c89f2',\n", + " 'rank': 'normal',\n", + " 'references': [{'hash': '288ab581e7d2d02995a26dfa8b091d96e78457fc',\n", + " 'snaks': {'P143': [{'snaktype': 'value',\n", + " 'property': 'P143',\n", + " 'hash': '6a164248fc96bfa583bbb495cb63ae6401ec203c',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 206855,\n", + " 'id': 'Q206855'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'}]},\n", + " 'snaks-order': ['P143']}]}],\n", + " 'P856': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P856',\n", + " 'hash': '00336b27daa32ab19067bb8fefd4ec38a0910fe8',\n", + " 'datavalue': {'value': 'https://www.dccomics.com/characters/catwoman',\n", + " 'type': 'string'},\n", + " 'datatype': 'url'},\n", + " 'type': 'statement',\n", + " 'qualifiers': {'P407': [{'snaktype': 'value',\n", + " 'property': 'P407',\n", + " 'hash': 'daf1c4fcb58181b02dff9cc89deb084004ddae4b',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 1860,\n", + " 'id': 'Q1860'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'}]},\n", + " 'qualifiers-order': ['P407'],\n", + " 'id': 'Q158952$d1cd1b1e-44ef-1276-c9a6-c793a473001b',\n", + " 'rank': 'normal'}],\n", + " 'P1477': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1477',\n", + " 'hash': '27b075e61a0837919c280132516a366571fd7d9a',\n", + " 'datavalue': {'value': {'text': 'Selina Kyle', 'language': 'en'},\n", + " 'type': 'monolingualtext'},\n", + " 'datatype': 'monolingualtext'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$02e5329a-42a7-04d0-aa15-2056ccfb6d78',\n", + " 'rank': 'normal'}],\n", + " 'P19': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P19',\n", + " 'hash': 'ab07fbb92253da9ec1caa92fd6c655273327958e',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 732858,\n", + " 'id': 'Q732858'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$493d9b15-42c4-1122-0c96-282d870c8bfa',\n", + " 'rank': 'normal'}],\n", + " 'P1417': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1417',\n", + " 'hash': '854613b5a2a053f04ed826957b8adcc7ef7bdd75',\n", + " 'datavalue': {'value': 'topic/Catwoman', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$7F5B9038-362A-4EF2-BF99-4A1AB932BA2A',\n", + " 'rank': 'normal'}],\n", + " 'P4969': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P4969',\n", + " 'hash': 'f4198270fe8f8fb3d63b55a26c07c6601683243b',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 5054223,\n", + " 'id': 'Q5054223'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$F026E6D7-C372-4653-9E3B-CCBE07DA3348',\n", + " 'rank': 'normal',\n", + " 'references': [{'hash': '5ff4017035cf9401f46707644f09ec1eb622cd3a',\n", + " 'snaks': {'P3452': [{'snaktype': 'value',\n", + " 'property': 'P3452',\n", + " 'hash': 'da77e1c42f4084865e2eac90881eca4e0d782ea8',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 5054223,\n", + " 'id': 'Q5054223'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'}]},\n", + " 'snaks-order': ['P3452']}]},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P4969',\n", + " 'hash': 'e8b9c1107c01ffeb614b4b3c4beb77ad6fe4295f',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 11855112,\n", + " 'id': 'Q11855112'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$E14C8191-B8C1-4E28-A177-754727C7DC9F',\n", + " 'rank': 'normal',\n", + " 'references': [{'hash': '5eb5d821a18294d1816df4dbc5b5d0cbce26dc13',\n", + " 'snaks': {'P3452': [{'snaktype': 'value',\n", + " 'property': 'P3452',\n", + " 'hash': 'a7e3d20b3fa24f12ea88ec31f1136ad4f65b86cf',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 11855112,\n", + " 'id': 'Q11855112'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'}]},\n", + " 'snaks-order': ['P3452']}]},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P4969',\n", + " 'hash': 'ce8f98b7dae1895c47d624a8eedf1b727acdb619',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 115760,\n", + " 'id': 'Q115760'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$058e0fb9-439a-5798-131f-af731ed7cb9b',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P4969',\n", + " 'hash': 'aefbcbe56c8ee0c78c8009fcdbe66f1c4716b6d6',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 52199465,\n", + " 'id': 'Q52199465'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$cacd7de3-4134-9586-2213-0168c11b1c03',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P4969',\n", + " 'hash': '289d30e18c5dfe30f4f7908554b6ada387d3e6f0',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 64026997,\n", + " 'id': 'Q64026997'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$f838b6d6-4e08-472a-968c-d0d32c778d25',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P4969',\n", + " 'hash': 'f9543a67ca2b6744ee5e8a1c441fc8347a5765c3',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 70991896,\n", + " 'id': 'Q70991896'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$d6a93873-4782-db35-3b93-5b599e704240',\n", + " 'rank': 'normal'}],\n", + " 'P5905': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P5905',\n", + " 'hash': '74c3902a109ecde21820b218e4ae02160c2d14b9',\n", + " 'datavalue': {'value': '4005-1698', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$29a6497d-4a78-669d-a834-21cf1d199a39',\n", + " 'rank': 'normal'}],\n", + " 'P244': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P244',\n", + " 'hash': '95f43da31ab68dad72b36181beb3fac3fde7bf5b',\n", + " 'datavalue': {'value': 'nb2017009531', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$FFEF9CE3-179E-468E-83A5-C5D27D37671E',\n", + " 'rank': 'normal',\n", + " 'references': [{'hash': 'ac5d47e9fbcc281bc0d27a205ae02e22ad24ce31',\n", + " 'snaks': {'P854': [{'snaktype': 'value',\n", + " 'property': 'P854',\n", + " 'hash': 'b560dc6b281a39d061e189d2eb299a426a06f1a2',\n", + " 'datavalue': {'value': 'https://github.com/JohnMarkOckerbloom/ftl/blob/master/data/wikimap',\n", + " 'type': 'string'},\n", + " 'datatype': 'url'}],\n", + " 'P813': [{'snaktype': 'value',\n", + " 'property': 'P813',\n", + " 'hash': '0dcf4f64e93fdcc654e2c7534285881fe48b9f3d',\n", + " 'datavalue': {'value': {'time': '+2019-04-03T00:00:00Z',\n", + " 'timezone': 0,\n", + " 'before': 0,\n", + " 'after': 0,\n", + " 'precision': 11,\n", + " 'calendarmodel': 'http://www.wikidata.org/entity/Q1985727'},\n", + " 'type': 'time'},\n", + " 'datatype': 'time'}]},\n", + " 'snaks-order': ['P854', 'P813']}]},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P244',\n", + " 'hash': '877e95c624cf406d1460b3bf1871c5262972e4d5',\n", + " 'datavalue': {'value': 'sh92005790', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$99ceb4b0-465d-f058-48e2-f7a4bad767e7',\n", + " 'rank': 'deprecated'}],\n", + " 'P949': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P949',\n", + " 'hash': '1c46dd0d60b66e0939f7a42b94eaa382ddf22347',\n", + " 'datavalue': {'value': '005167757', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$6b184f58-4a20-cc07-b984-a3c1b4a331d6',\n", + " 'rank': 'normal'}],\n", + " 'P2163': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P2163',\n", + " 'hash': 'b4f7b953f03c8fbea03621c5097df1686615d6cc',\n", + " 'datavalue': {'value': '849765', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$3bd4d6e6-49a2-312a-8c0c-9858f325a70f',\n", + " 'rank': 'normal'}],\n", + " 'P268': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P268',\n", + " 'hash': '2517d142ee84b98d33881f1d31489027e0f15d1f',\n", + " 'datavalue': {'value': '14599700j', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$86bed710-4128-afd1-e37c-4ed0a60d87ff',\n", + " 'rank': 'normal'}],\n", + " 'P269': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P269',\n", + " 'hash': '53693f0c1eac2fbf80f6cd220b98e0c44a47c5dc',\n", + " 'datavalue': {'value': '083973877', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$603d2efd-4573-9ff8-fce0-ff30b6b66b4c',\n", + " 'rank': 'normal'}],\n", + " 'P463': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P463',\n", + " 'hash': '14a1aa1dbc7e6543a1ad86aee23c08cd89ee5376',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 6318133,\n", + " 'id': 'Q6318133'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$b8bd4a15-48ba-a1db-6885-c23610798bff',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P463',\n", + " 'hash': '6df0419db13a0d3b4cd83056bfb351ae768eb961',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 735744,\n", + " 'id': 'Q735744'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$d9328e4d-4f0d-c548-df18-74e280df57d2',\n", + " 'rank': 'normal'}],\n", + " 'P910': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P910',\n", + " 'hash': '71999de54009a830dfcaca49488f8578b3dc3e2c',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 65599582,\n", + " 'id': 'Q65599582'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$f15ae36e-4664-9457-dadd-f7692efa1d9b',\n", + " 'rank': 'normal'}],\n", + " 'P7047': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P7047',\n", + " 'hash': '1393fb0a3bac6f71918a77e43360d921ddd665b2',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 2321516,\n", + " 'id': 'Q2321516'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$3d2a9c2f-4b2f-8cd5-73fc-a0095a759021',\n", + " 'rank': 'normal'}],\n", + " 'P7704': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P7704',\n", + " 'hash': '519c9f029fe36ef0807f9dfb9403c275850b83c2',\n", + " 'datavalue': {'value': 'agent/base/148998', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$A9CC6C37-7768-4EB5-AA51-84C86DD6DDB4',\n", + " 'rank': 'normal',\n", + " 'references': [{'hash': '985639b756cedf794738c3255691812093799d32',\n", + " 'snaks': {'P813': [{'snaktype': 'value',\n", + " 'property': 'P813',\n", + " 'hash': '5d49dcad58178bb6a589bfc4b86e95ff3e11bd3a',\n", + " 'datavalue': {'value': {'time': '+2019-12-25T00:00:00Z',\n", + " 'timezone': 0,\n", + " 'before': 0,\n", + " 'after': 0,\n", + " 'precision': 11,\n", + " 'calendarmodel': 'http://www.wikidata.org/entity/Q1985727'},\n", + " 'type': 'time'},\n", + " 'datatype': 'time'}]},\n", + " 'snaks-order': ['P813']}]}],\n", + " 'P1889': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1889',\n", + " 'hash': '13ca5e81244138e4b20286f7a36f3e9a067def23',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 11572006,\n", + " 'id': 'Q11572006'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$c7ef3fd3-49be-aac2-cfc7-6086211e219f',\n", + " 'rank': 'normal'}],\n", + " 'P7859': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P7859',\n", + " 'hash': '07a2df5b097a76ddf0b9ae9f593bb344f14f5abb',\n", + " 'datavalue': {'value': 'lccn-nb2017009531', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$9491DD59-8614-4602-AEBB-C4B1C47A8704',\n", + " 'rank': 'normal',\n", + " 'references': [{'hash': 'c519f9b7204b6030901269ae58e9290d32183b41',\n", + " 'snaks': {'P214': [{'snaktype': 'value',\n", + " 'property': 'P214',\n", + " 'hash': 'a385e61b6a7bc58e986900a1aafa4ef0fbe93e8d',\n", + " 'datavalue': {'value': '10149415108289551507', 'type': 'string'},\n", + " 'datatype': 'external-id'}]},\n", + " 'snaks-order': ['P214']}]},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P7859',\n", + " 'hash': '8ad44aa89f85a37a3876b066e99a9e4b6216e039',\n", + " 'datavalue': {'value': 'viaf-8278446', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$A6F5141B-2A76-43C4-BDD7-F0A294BB6A78',\n", + " 'rank': 'normal',\n", + " 'references': [{'hash': 'aa07acb974ca9f0287ea25e3647df348f3ab2051',\n", + " 'snaks': {'P214': [{'snaktype': 'value',\n", + " 'property': 'P214',\n", + " 'hash': 'a60b521c7f07799c1f13ced2c62da44172091f9a',\n", + " 'datavalue': {'value': '8278446', 'type': 'string'},\n", + " 'datatype': 'external-id'}]},\n", + " 'snaks-order': ['P214']}]},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P7859',\n", + " 'hash': 'a405dc07fcb10b5dd4aa8b75123c1a183b88819d',\n", + " 'datavalue': {'value': 'viaf-87148752250341202156', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$8AD3E698-BAC8-408A-AAF2-180D4BBF99B7',\n", + " 'rank': 'normal',\n", + " 'references': [{'hash': 'f04b59d1740c1afb1153d11691e4ea1b3e1f5c66',\n", + " 'snaks': {'P214': [{'snaktype': 'value',\n", + " 'property': 'P214',\n", + " 'hash': '197f297e7990324d8f334c866c08d3a363a03f41',\n", + " 'datavalue': {'value': '87148752250341202156', 'type': 'string'},\n", + " 'datatype': 'external-id'}]},\n", + " 'snaks-order': ['P214']}]},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P7859',\n", + " 'hash': '878ca85c4612a7e539af1652969a7c038bb5ca3c',\n", + " 'datavalue': {'value': 'viaf-294935236', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$F12B9748-B306-48A5-A2AF-EAA0C272BACC',\n", + " 'rank': 'normal',\n", + " 'references': [{'hash': '46fc2ef7087c8a6c27cd3b5ba14447e0c612a6a8',\n", + " 'snaks': {'P214': [{'snaktype': 'value',\n", + " 'property': 'P214',\n", + " 'hash': 'f3bc222e152158b86cdfb8cfecd6ff0d27192b52',\n", + " 'datavalue': {'value': '294935236', 'type': 'string'},\n", + " 'datatype': 'external-id'}]},\n", + " 'snaks-order': ['P214']}]}],\n", + " 'P1412': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1412',\n", + " 'hash': '219313e4b5be93abc58d1e0abcc02ee784a8582c',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 7976,\n", + " 'id': 'Q7976'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$dccf2a1c-49ea-27fb-0b7c-601e1f6f22c8',\n", + " 'rank': 'normal'}],\n", + " 'P5648': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P5648',\n", + " 'hash': '8b53bc046876b8e60c6ed018f10a1c5f507b6686',\n", + " 'datavalue': {'value': '111475', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$3D14A106-5EC5-4D91-90E5-EA0A2FF0E959',\n", + " 'rank': 'normal',\n", + " 'references': [{'hash': '40eed45c24e6c43945dec5752d212c8b75edb012',\n", + " 'snaks': {'P854': [{'snaktype': 'value',\n", + " 'property': 'P854',\n", + " 'hash': 'd6afdbb3f1885368ffb7e5ed1c3b4b9c176fb882',\n", + " 'datavalue': {'value': 'https://anidb.net/character/111475',\n", + " 'type': 'string'},\n", + " 'datatype': 'url'}],\n", + " 'P1476': [{'snaktype': 'value',\n", + " 'property': 'P1476',\n", + " 'hash': 'c44aa2835ea429db14b187cd0415811ed554441e',\n", + " 'datavalue': {'value': {'text': 'Catwoman - Character (111475) - AniDB',\n", + " 'language': 'en'},\n", + " 'type': 'monolingualtext'},\n", + " 'datatype': 'monolingualtext'}],\n", + " 'P813': [{'snaktype': 'value',\n", + " 'property': 'P813',\n", + " 'hash': '1404ed43c31d4e2b8b834d065951afce7838bfe2',\n", + " 'datavalue': {'value': {'time': '+2020-11-30T00:00:00Z',\n", + " 'timezone': 0,\n", + " 'before': 0,\n", + " 'after': 0,\n", + " 'precision': 11,\n", + " 'calendarmodel': 'http://www.wikidata.org/entity/Q1985727'},\n", + " 'type': 'time'},\n", + " 'datatype': 'time'}]},\n", + " 'snaks-order': ['P854', 'P1476', 'P813']}]}],\n", + " 'P7293': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P7293',\n", + " 'hash': 'ab7dd118f1604288b980837adfae8b54dab2b83e',\n", + " 'datavalue': {'value': '9810546901005606', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$86B4F827-2EF8-4B00-89CB-5B8B459AB6C8',\n", + " 'rank': 'normal'}],\n", + " 'P1424': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P1424',\n", + " 'hash': '94e3f25411588a2ed4c945cc5abb459a6205d16d',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 6866625,\n", + " 'id': 'Q6866625'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$24bf84db-4a31-f9ba-367c-8e3e2ee59e89',\n", + " 'rank': 'normal'}],\n", + " 'P9071': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P9071',\n", + " 'hash': 'e1719847eecb5d6899ecf6bff27dfca3abc7bb2a',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 110910,\n", + " 'id': 'Q110910'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$661FD3F2-3016-4DF8-A1C4-2473399BFDDA',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P9071',\n", + " 'hash': '136f2983aac280ca0b39b488a8bab1eafc6814bf',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 6498903,\n", + " 'id': 'Q6498903'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$4EED4908-9980-46FB-ACC7-11DB9B1146F9',\n", + " 'rank': 'normal'}],\n", + " 'P5107': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P5107',\n", + " 'hash': 'c8ba698adf75ccd5492fe40c1d4a8ea5f8291656',\n", + " 'datavalue': {'value': 'Batman/Catwoman', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$4F51C74C-C9CE-4703-AEFF-C4ED82E7A110',\n", + " 'rank': 'normal',\n", + " 'references': [{'hash': '0cd750e741c58e894db394825bdc8f5b2bbcf9a1',\n", + " 'snaks': {'P854': [{'snaktype': 'value',\n", + " 'property': 'P854',\n", + " 'hash': '7867e9647ae2f44247b5119331d341b177089d2c',\n", + " 'datavalue': {'value': 'https://www.behindthevoiceactors.com/characters/Batman/Catwoman/',\n", + " 'type': 'string'},\n", + " 'datatype': 'url'}],\n", + " 'P1476': [{'snaktype': 'value',\n", + " 'property': 'P1476',\n", + " 'hash': '773a293c2228fa491576391ca7b85e82e159dd99',\n", + " 'datavalue': {'value': {'text': 'Catwoman Voices (Batman) - Behind The Voice Actors',\n", + " 'language': 'en'},\n", + " 'type': 'monolingualtext'},\n", + " 'datatype': 'monolingualtext'}],\n", + " 'P813': [{'snaktype': 'value',\n", + " 'property': 'P813',\n", + " 'hash': 'd13a4416596b47f53ccdd352c89523dac2608c83',\n", + " 'datavalue': {'value': {'time': '+2021-01-30T00:00:00Z',\n", + " 'timezone': 0,\n", + " 'before': 0,\n", + " 'after': 0,\n", + " 'precision': 11,\n", + " 'calendarmodel': 'http://www.wikidata.org/entity/Q1985727'},\n", + " 'type': 'time'},\n", + " 'datatype': 'time'}]},\n", + " 'snaks-order': ['P854', 'P1476', 'P813']}]}],\n", + " 'P103': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P103',\n", + " 'hash': '5a2b6b39d17e588ffbd7547b4875ce21166183f1',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 7976,\n", + " 'id': 'Q7976'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$6d595acc-4546-93c1-0183-ec1781be7b84',\n", + " 'rank': 'normal'}],\n", + " 'P802': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P802',\n", + " 'hash': 'a9e241ba0ce1117d4c7b30e8351cb9ad6c76db19',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 397953,\n", + " 'id': 'Q397953'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$2abea91e-4fb9-3282-da11-e12e2de6ba49',\n", + " 'rank': 'normal'},\n", + " {'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P802',\n", + " 'hash': 'a3ea184ff2d84d115e470d543ce9c8bef3712241',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 5882236,\n", + " 'id': 'Q5882236'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$9bb59385-45c8-b387-b28a-d63b898bd281',\n", + " 'rank': 'normal'}],\n", + " 'P18': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P18',\n", + " 'hash': 'c53bc1d1975c48d035b9003f38173d0bd7f2abfe',\n", + " 'datavalue': {'value': 'Eartha Kitt Catwoman debut 1967.jpg',\n", + " 'type': 'string'},\n", + " 'datatype': 'commonsMedia'},\n", + " 'type': 'statement',\n", + " 'qualifiers': {'P3831': [{'snaktype': 'value',\n", + " 'property': 'P3831',\n", + " 'hash': '1f6270d7466930f846196272308239a630555992',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 184485,\n", + " 'id': 'Q184485'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'}]},\n", + " 'qualifiers-order': ['P3831'],\n", + " 'id': 'Q158952$e55c821f-4547-5a18-87b7-5e02742c851a',\n", + " 'rank': 'normal'}],\n", + " 'P9851': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P9851',\n", + " 'hash': '7a0c21ab7a12ba35aad792949a94f24827091a72',\n", + " 'datavalue': {'value': 'catwoman', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$B959A0F0-C286-48D8-9A15-F88993A5DC79',\n", + " 'rank': 'normal'}],\n", + " 'P8189': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P8189',\n", + " 'hash': 'b65299bf6561b7e42d46d8f130267140b1cb5d71',\n", + " 'datavalue': {'value': '987007400495405171', 'type': 'string'},\n", + " 'datatype': 'external-id'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$87B1866E-F81D-4441-88BE-4298CBF368ED',\n", + " 'rank': 'normal'}],\n", + " 'P520': [{'mainsnak': {'snaktype': 'value',\n", + " 'property': 'P520',\n", + " 'hash': 'b632ad0e1efd05292205eacdda6c4cf7602e1b5b',\n", + " 'datavalue': {'value': {'entity-type': 'item',\n", + " 'numeric-id': 152910,\n", + " 'id': 'Q152910'},\n", + " 'type': 'wikibase-entityid'},\n", + " 'datatype': 'wikibase-item'},\n", + " 'type': 'statement',\n", + " 'id': 'Q158952$7e643170-441d-1203-2abf-1d032e59c234',\n", + " 'rank': 'normal'}]}" + ] + }, + "execution_count": 8, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "keys = list(data['entities'].keys())\n", + "data['entities'][keys[0]]['claims']" + ] + }, + { + "cell_type": "markdown", + "id": "vertical-maintenance", + "metadata": {}, + "source": [ + "Examples of properties of interest :\n", + "- P21: sex or gender\n", + "- P27: contry of citizenship\n", + "- P19: place of brith\n", + "- P103: native language\n", + "- P1412: languages spoken, written or signed\n", + "- P106: occupation\n", + "- P345: IMDb ID" + ] + }, + { + "cell_type": "code", + "execution_count": 10, + "id": "assisted-cancer", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
propertyvalue
0sex or gender[female]
1country of citizenship[United States of America]
2place of birth[Gotham City]
3native language[American English]
4languages spoken, written or signed[American English]
5occupation[supervillain, thief, superhero, fictional vig...
6IMDb ID[ch0000184]
\n", + "
" + ], + "text/plain": [ + " property \\\n", + "0 sex or gender \n", + "1 country of citizenship \n", + "2 place of birth \n", + "3 native language \n", + "4 languages spoken, written or signed \n", + "5 occupation \n", + "6 IMDb ID \n", + "\n", + " value \n", + "0 [female] \n", + "1 [United States of America] \n", + "2 [Gotham City] \n", + "3 [American English] \n", + "4 [American English] \n", + "5 [supervillain, thief, superhero, fictional vig... \n", + "6 [ch0000184] " + ] + }, + "execution_count": 10, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "properties = ['P21','P27','P19','P103','P1412','P106','P345']\n", + "wiki.dataframe_from_json(data,properties)" + ] + }, + { + "cell_type": "code", + "execution_count": 11, + "id": "opening-brooklyn", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
propertyvalue
0sexe ou genre[féminin]
1pays de citoyenneté[États-Unis]
2lieu de naissance[Gotham City]
3langue maternelle[anglais américain]
4langues parlées, écrites ou signées[anglais américain]
5occupation[super-vilain, voleur, super-héros, justicier ...
6identifiant Internet Movie Database[ch0000184]
\n", + "
" + ], + "text/plain": [ + " property \\\n", + "0 sexe ou genre \n", + "1 pays de citoyenneté \n", + "2 lieu de naissance \n", + "3 langue maternelle \n", + "4 langues parlées, écrites ou signées \n", + "5 occupation \n", + "6 identifiant Internet Movie Database \n", + "\n", + " value \n", + "0 [féminin] \n", + "1 [États-Unis] \n", + "2 [Gotham City] \n", + "3 [anglais américain] \n", + "4 [anglais américain] \n", + "5 [super-vilain, voleur, super-héros, justicier ... \n", + "6 [ch0000184] " + ] + }, + "execution_count": 11, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "wiki.dataframe_from_json(data,properties,language=\"fr\")" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "documentary-discharge", + "metadata": {}, + "outputs": [], + "source": [] } ], "metadata": {