Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 1.58 KB

README.md

File metadata and controls

27 lines (21 loc) · 1.58 KB

BioASQ GoPubMed Service Client

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.

Properties syntax

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
  1. The values of the properties should be configured according to the instruction, e.g. http://gopubmed.org/web/gopubmedbeta/bioasq/pubmed.
  2. "require.session.url = true" is required for the official service, but for accessing proxy server, which may be set to false.
  3. According to Apache Commons Configuration, the configuration file should be placed in the current directory, in the user home directory, or in the classpath.