Skip to content

Instantly share code, notes, and snippets.

@AlexMikhalev
Created May 9, 2021 17:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlexMikhalev/f1a57ede85b7d976e916619145a2f42c to your computer and use it in GitHub Desktop.
Save AlexMikhalev/f1a57ede85b7d976e916619145a2f42c to your computer and use it in GitHub Desktop.
QA API response
curl -H "Content-Type: application/json" -X POST -d '{"search":"How does temperature and humidity affect the transmission of 2019-nCoV?"}' https://api.thepattern.digital/qasearch | jq .results
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 31540 100 31456 100 84 1770 4 0:00:21 0:00:17 0:00:04 6940
[
{
"answer": "community transmission",
"sentence": "At the time of this review April 6 2020 the disease termed covID 19 corona virus disease 2019 had become pandemic and spread to more than 203 countries and territories including community transmission in countries like the United States Germany France sPain Japan Singapore South Korea iRan and Italy and a large scale outbreak with more than 600 cases on the cruise ship Diamond Princess",
"sentencekey": "sentence:0020ab317ef923b740c1d3db52083a4e48495f8a:{5M5}:8",
"title": "SARS-CoV-2 Vaccines: Status Report"
},
{
"answer": "community transmission",
"sentence": "At the time of this review April 6 2020 the disease termed covID 19 corona virus disease 2019 had become pandemic and spread to more than 203 countries and territories including community transmission in countries like the United States Germany France sPain Japan Singapore South Korea iRan and Italy and a large scale outbreak with more than 600 cases on the cruise ship Diamond Princess",
"sentencekey": "sentence:0020ab317ef923b740c1d3db52083a4e48495f8a:{5M5}:8",
"title": "SARS-CoV-2 Vaccines: Status Report"
},
{
"answer": "community transmission",
"sentence": "At the time of this review April 6 2020 the disease termed covID 19 corona virus disease 2019 had become pandemic and spread to more than 203 countries and territories including community transmission in countries like the United States Germany France sPain Japan Singapore South Korea iRan and Italy and a large scale outbreak with more than 600 cases on the cruise ship Diamond Princess",
"sentencekey": "sentence:0020ab317ef923b740c1d3db52083a4e48495f8a:{5M5}:8",
"title": "SARS-CoV-2 Vaccines: Status Report"
},
{
"answer": "prevent pathogen transmission",
"sentence": "In such cases it is important to impose a prolonged 8 to 12 week isolation and observation period and to adopt intensive procedures to identify diseases eliminate parasites and vaccinate in order to prevent pathogen transmission see Table II",
"sentencekey": "sentence:001916486b2012ccc611fe18d4763f9e81517cbb:{5M5}:54",
"title": "Domestic Cats as Laboratory Animals"
},
{
"answer": "when an infectious and a susceptible individual come into contact in a stochastic fashion",
"sentence": "20 24 25 It is assumed that infection transmission may occur when an infectious and a susceptible individual come into contact in a stochastic fashion",
"sentencekey": "sentence:013d9fb8719d3d3d47738f9f0604f3b643c4df57:{62n}:74",
"title": "Pandemic influenza in Papua New Guinea: a modelling study comparison with pandemic spread in a developed country"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment