Java client and Gson objects for GoPubMed services used for BioASQ task, which can be configured to directly access the official gopubmed.org server, or access a remote proxy server which can cache and reroute the request to reduce request frequency through properties file.
An example can be found here.
DEIIS students: Please see the course project instruction to configure your hwX-ID.properties file.
Others:
pubmed.search.service = PUBMED_SEARCH_SERVICE_URL
linked.life.data.service = LINKED_LIFE_DATA_SERVICE_URL
disease.ontology.service = DISEASE_ONTOLOY_SERVICE_URL
gene.ontology.service = GENE_ONTOLOGY_SERVICE_URL
jochem.service = JOCHEM_SERVICE_URL
mesh.service = MESH_SERVICE_URL
uniprot.service = UNIPROT_SERVICE_URL
require.session.url = true
- The values of the properties should be configured according to the instruction, e.g. http://gopubmed.org/web/gopubmedbeta/bioasq/pubmed.
- "require.session.url = true" is required for the official service, but for accessing proxy server, which may be set to false.
- According to Apache Commons Configuration, the configuration file should be placed in the current directory, in the user home directory, or in the classpath.