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:
Open your web browser and go to the following URL:
perlhttps://www.wikidata.org/w/api.php?action=wbgetentities&ids=Q5792970&props=P1340&format=json
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".
-
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