diff --git a/xamples/MathMLben b/xamples/MathMLben index 56e85be..a41bfcc 160000 --- a/xamples/MathMLben +++ b/xamples/MathMLben @@ -1 +1 @@ -Subproject commit 56e85be39bcc494756bfc39722fb4a4a23bb3b2c +Subproject commit a41bfccf138eeedbe58d8feff475198d7de226cf diff --git a/xamples/src/main/java/WikidataExample.java b/xamples/src/main/java/WikidataExample.java index 0f2b325..e8369be 100644 --- a/xamples/src/main/java/WikidataExample.java +++ b/xamples/src/main/java/WikidataExample.java @@ -63,9 +63,9 @@ private String getOmCd(ItemDocument item) throws UnsupportedEncodingException { } Integer qId = Integer.valueOf(qIdString.substring(1)); if (omCDMap.containsValue(qId)) { - descr += "See also " + omCDMap.getKey(qId) + "\n"; + descr += "See also \nhttps://www.openmath.org/cd/" + omCDMap.getKey(qId).replace(':', '#') + "\n"; } - descr += "\n This description was generated from http://www.wikidata.org/w/index.php?oldid=" + revisionId; + descr += "\n This description was generated from \nhttps://www.wikidata.org/w/index.php?oldid=" + revisionId; descr = " \n" + " " + qIdString + "\n" + " application\n"