On 03.02.2016 12:44, John Erling Blad wrote:
It is a bit strange to defines a data type in terms of a library of functions in another language. Or is just me that thinks this is a bit odd?
What about MathML?
The arxiv report that Moritz posted (after you had already asked your question) says that he has improved the tooling to translate into MathML, so this is in the picture to some extent. I would not consider it as a workable input format (try writing in MathML! ;-). On the other hand, there is AsciiMathML, but I don't know how useful that is (and people know LaTeX much better). One could consider having MathML as the internal format, and AsciiMathML and LaTeX as input options for writing it, but this seems like a big project to get to work. I guess we can exclude the option of using a visual input interface for math (Microsoft tried that in Word once, they have a lot of developers, and yet ...).
Markus
On Wed, Feb 3, 2016 at 12:06 PM, Markus Krötzsch <markus@semantic-mediawiki.org mailto:markus@semantic-mediawiki.org> wrote:
For a consumer, the main practical questions would be: (1) What subset of LaTeX exactly do you need to support to display the math expressions in Wikidata? (2) As a follow up: does MathJAX work to display this? If not, what does? Cheers, Markus On 02.02.2016 10:01, Moritz Schubotz wrote: The string is interpreted by the math extension in the same way as the Math extension interprets the text between the <math /> tags. There is an API to extract identifiers and the packages required to render the input with regular latex from here: http://api.formulasearchengine.com/v1/?doc or also https://en.wikipedia.org/api/rest_v1/?doc#!/Math/post_media_math_check_type (The wikipedia endpoint has been opened to the public just moments ago) In the future, we are planning to provide additional semantics from there. If you have additional questions, please contact me directly, since I'm not a member on the list. Moritz On Tue, Feb 2, 2016 at 8:53 AM, Lydia Pintscher <Lydia.Pintscher@wikimedia.de <mailto:Lydia.Pintscher@wikimedia.de> <mailto:Lydia.Pintscher@wikimedia.de <mailto:Lydia.Pintscher@wikimedia.de>>> wrote: On Mon, Feb 1, 2016 at 8:44 PM Markus Krötzsch <markus@semantic-mediawiki.org <mailto:markus@semantic-mediawiki.org> <mailto:markus@semantic-mediawiki.org <mailto:markus@semantic-mediawiki.org>>> wrote: On 01.02.2016 17:14, Lydia Pintscher wrote: > Hey folks :) > > I just sat down with Katie to plan the next important feature > deployments that are coming up this month. Here is the plan: > * new datatype for mathematical expressions: We'll get it live on > test.wikidata.org <http://test.wikidata.org> <http://test.wikidata.org> <http://test.wikidata.org> tomorrow and then bring it > to wikidata.org <http://wikidata.org> <http://wikidata.org> <http://wikidata.org> on the 9th Documentation? What will downstream users like us need to do to support this? How is this mapped to JSON? How is this mapped to RDF? It is a string representing markup for the Math extension. You can already test it here: http://wikidata.beta.wmflabs.org/wiki/Q117940. See also https://en.wikipedia.org/wiki/Help:Displaying_a_formula. Maybe Moritz wants to say bit more as his students created the datatype. Cheers Lydia -- Lydia Pintscher - http://about.me/lydia.pintscher Product Manager for Wikidata Wikimedia Deutschland e.V. Tempelhofer Ufer 23-24 10963 Berlin www.wikimedia.de <http://www.wikimedia.de> <http://www.wikimedia.de> Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e. V. Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter der Nummer 23855 Nz. Als gemeinnützig anerkannt durch das Finanzamt für Körperschaften I Berlin, Steuernummer 27/029/42207 <tel:27%2F029%2F42207>. -- Moritz Schubotz TU Berlin, Fakultät IV DIMA - Sekr. EN7 Raum EN742 Einsteinufer 17 D-10587 Berlin Germany Tel.: +49 30 314 22784 <tel:%2B49%2030%20314%2022784> Mobil.: +49 1578 047 1397 <tel:%2B49%201578%20047%201397> Fax: +49 30 314 21601 <tel:%2B49%2030%20314%2021601> E-Mail: schubotz@tu-berlin.de <mailto:schubotz@tu-berlin.de> <mailto:schubotz@tu-berlin.de <mailto:schubotz@tu-berlin.de>> Skype: Schubi87 ICQ: 200302764 Msn: Moritz@Schubotz.de _______________________________________________ Wikidata mailing list Wikidata@lists.wikimedia.org <mailto:Wikidata@lists.wikimedia.org> https://lists.wikimedia.org/mailman/listinfo/wikidata _______________________________________________ Wikidata mailing list Wikidata@lists.wikimedia.org <mailto:Wikidata@lists.wikimedia.org> https://lists.wikimedia.org/mailman/listinfo/wikidata
Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata