[14:48:37] is it possible to get a summary of an entity in a give language? e.g.: https://www.wikidata.org/wiki/Q123037 [14:49:15] i want to get a summary of what's here: https://fa.wikipedia.org/wiki/%D9%85%D8%AD%D9%85%D8%AF_%D9%85%D8%B5%D8%AF%D9%82 [14:49:19] what do you mean by summary? [14:50:23] just what comes before sections (Early life, education etc) [14:51:11] I mean it is easy to get the "Description" from wikidata. [14:51:29] if you basically mean the first paragraph I'm not sure. [14:51:36] that would rdf i guess? not json? [14:51:50] yes, description field [14:51:54] maybe you need to fetch the article for that. [14:52:24] em. [14:52:33] 'RDF not JSON' doesn't make much sense. [14:52:46] that is like saying 'that would be text, not english?' [14:53:08] wikidata supports exports in a number of formats. [14:53:46] no, zapped by in rdf format (seems to be much more complete), but i didn't see that field in json output [14:54:53] what I tried to say is that RDF is a datamodel and JSON a syntax. [14:54:58] oh, i see the description in json [14:56:16] yes, because it is still the same data... [14:56:27] i thought json was for serialising data structure, what does it mean to be a syntax? [14:57:11] exactly that. [14:57:42] a syntax is a way to make data into symbols. known as serialisation. ;) [15:01:04] hmm, and datamodel is like having real-world entities classified, as in classes and their objects etc? [15:01:52] yes. [15:03:49] the data in your JSON output can be understood as RDF as it's compatible with that data model. you can also write make a valid RDF document with a stick in the sand by drawing funny shapes. [15:06:58] hmm, and classes are declared at schema.org; all of them? [15:07:14] i see some other xml:ns's [15:07:25] you can freely define any you like. [15:08:24] ... or i guess extend the ones already declared [15:08:47] there is a large number of standards defining some vocabulary. [15:08:55] but as far as the wikidata goes, it's mainly schema: namespace, it seems [15:11:59] is it? [15:45:32] not sure [15:46:28] I would say it is a good mix. specifically the actual data naturally use wikidata's own vocabulary. [15:46:28] how do i fetch the atrile? by `pageid`? what's the endpoint for that? [15:47:12] never did that before, so really no idea. if you find out feel free to let me know. :) [16:49:24] pmn: https://api.wikimedia.org/wiki/Core_REST_API/Reference/Pages/Get_page_source