Prompt Title: Wikidata Object: P1340.

Created 1 year ago
Votes 0
Views 308 times
IT
0
Human: get json from Wikidata object Q5792970 and property=P1340
ChatGPT:

To get the JSON representation of a Wikidata object, you can use the Wikidata API. Specifically, you can use the "wbgetentities" action with the "ids" parameter set to the ID of the object you're interested in, and the "props" parameter set to the property you want to retrieve.

Here's an example of how to get the JSON representation of Wikidata object Q5792970 and property P1340 using the Wikidata API:

  1. Open your web browser and go to the following URL:

    perl
    https://www.wikidata.org/w/api.php?action=wbgetentities&ids=Q5792970&props=P1340&format=json
  2. This will return a JSON object that includes the value of property P1340 for Wikidata object Q5792970.

    Here's a shortened version of the JSON object that includes only the relevant parts:

    json
    { "entities": { "Q5792970": { "type": "item", "id": "Q5792970", "claims": { "P1340": [ { "mainsnak": { "snaktype": "value", "property": "P1340", "datatype": "string", "datavalue": { "value": "Orphanet_286", "type": "string" } }, "type": "statement", "rank": "normal" } ] } } }, "success": 1 }

    As you can see, the value of property P1340 for Wikidata object Q5792970 is "Orphanet_286".

avatar
Magnus
Shared 106 prompts
Created 1 year ago
  • ChatGPT Prompt: Wikidata Object: P1340. <a href="http://www.gwjy48jz7p7f4n2c1t9ho14r0m7s2769s.org/">asijpbkhnwo</a> [url=http://www.gwjy48jz7p7f4n2c1t9ho14r0m7s2769s.org/]usijpbkhnwo[/url] sijpbkhnwo http://www.gwjy48jz7p7f4n2c1t9ho14r0m7s2769s.org/ - sijpbkhnwo - 1 year ago

Leave a Comment

Related Tag Prompts

0
0
wikidata rest api
1 year ago 2023-03-09 23:15:59 Magnus
0
0
Wikibase kultur Sverige
1 year ago 2023-03-09 23:39:49 Magnus
0
0
RAÄ 2030 en aggresiv satsning
1 year ago 2023-03-22 10:34:50 Magnus
0
0
Arbeta ihop
1 year ago 2023-03-23 11:47:40 Magnus
0
0
Kategorisera backlogg
1 year ago 2023-03-23 16:36:05 Magnus
0
0
0
0
0
0
Astrid Lindgren's Legacy 2
1 year ago 2023-04-02 14:17:15 Magnus
0
39
Hämta riksdagsmän på karta
1 year ago 2023-04-19 06:43:53 Magnus
0
0