/** * Creates an {@link SenseIdValue} for Wikidata. * * @param id * a string of the form Ln...-S... where n... and m... are the string * representation of a positive integer number * @return an {@link SenseIdValue} corresponding to the input */ public static SenseIdValue makeWikidataSenseIdValue(String id) { return factory.getSenseIdValue(id, SITE_WIKIDATA); }
/** * Creates an {@link SenseIdValue} for Wikidata. * * @param id * a string of the form Ln...-S... where n... and m... are the string * representation of a positive integer number * @return an {@link SenseIdValue} corresponding to the input */ public static SenseIdValue makeWikidataSenseIdValue(String id) { return factory.getSenseIdValue(id, SITE_WIKIDATA); }
/** * Creates an {@link SenseIdValue}. * * @param id * a string of the form Ln...-Sm... where n... and m... are the string * representation of a positive integer number * @param siteIri * IRI to identify the site, usually the first part of the entity * IRI of the site this belongs to, e.g., * "http://www.wikidata.org/entity/" * @return an {@link SenseIdValue} corresponding to the input */ public static SenseIdValue makeSenseIdValue(String id, String siteIri) { return factory.getSenseIdValue(id, siteIri); }
/** * Creates an {@link SenseIdValue}. * * @param id * a string of the form Ln...-Sm... where n... and m... are the string * representation of a positive integer number * @param siteIri * IRI to identify the site, usually the first part of the entity * IRI of the site this belongs to, e.g., * "http://www.wikidata.org/entity/" * @return an {@link SenseIdValue} corresponding to the input */ public static SenseIdValue makeSenseIdValue(String id, String siteIri) { return factory.getSenseIdValue(id, siteIri); }