Skip to content

Instantly share code, notes, and snippets.

@Alex-Ikanow
Created February 18, 2013 18:14
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 Alex-Ikanow/4979375 to your computer and use it in GitHub Desktop.
Save Alex-Ikanow/4979375 to your computer and use it in GitHub Desktop.
Example document containing "philip morris/company" entity
{
"_id" : ObjectId("4f996119e4b053cd3218c2fd"),
"associations" : [
{
"entity1" : "clay wanta",
"entity1_index" : "clay wanta/person",
"verb" : "current",
"verb_category" : "career",
"entity2" : "police detective",
"entity2_index" : "police detective/position",
"assoc_type" : "Fact"
},
{
"entity1" : "r.j. reynolds",
"entity1_index" : "reynolds american inc./company",
"verb" : "fork",
"verb_category" : "generic relations",
"entity2" : "over tens of millions of dollars to defeat a new tobacco tax",
"assoc_type" : "Summary"
},
{
"entity1" : "ultrasound",
"entity1_index" : "ultrasound/technology",
"verb" : "test",
"verb_category" : "generic relations",
"assoc_type" : "Summary"
},
{
"entity1" : "lori swanson",
"entity1_index" : "lori swanson/person",
"verb" : "current",
"verb_category" : "career",
"entity2" : "attorney general",
"entity2_index" : "attorney general/position",
"assoc_type" : "Fact"
},
{
"entity1" : "clay wanta",
"entity1_index" : "clay wanta/person",
"verb" : "switch",
"verb_category" : "generic relations",
"assoc_type" : "Summary"
},
{
"verb" : "vote",
"verb_category" : "generic relations",
"entity2" : "house of representatives",
"entity2_index" : "house of representatives/organization",
"assoc_type" : "Summary"
},
{
"entity1" : "connecticut",
"entity1_index" : "connecticut,united states/provinceorstate",
"verb" : "join",
"verb_category" : "generic relations",
"entity2" : "the ranks of states with a softening attitude",
"geotag" : {
"lat" : 41.6,
"lon" : -72.7
},
"assoc_type" : "Summary"
},
{
"verb" : "launched",
"verb_category" : "generic relations",
"entity2" : "state web portal",
"entity2_index" : "state web portal/industryterm",
"assoc_type" : "Summary"
}
],
"communityId" : ObjectId("4c927585d591d31d7b37097a"),
"created" : ISODate("2012-04-26T14:52:09Z"),
"description" : "A selection of state policy news from California, Connecticut, Florida, Georgia, Kentucky, Maryland, Minnesota, and Wisconsin.\nCalifornia Healthline: Senate Committee Approves New Type Of Nursing Home\nA new idea elbowed its way into the familiar pile of health care legislation in the Senate Committee on Health yesterday. A nursing home model -- the \"Green House Project\" -- bucks the cold, institutional feel of many long-term care facilities. ... The idea is to have a small facility laid out like a regular home, with living areas such as a dining room and kitchen, as well as a private room and bathroom for each patient (Gorn, 4/26). \nRelated KHN blog post: Maryland’s First Green House Project Nursing Home Aids Low-Income Seniors (Kulkarni, 4/20).\nMinneapolis Star Tribune: Hospitals Tread Fine Line In Pressing Patients For Money\nThe consultants at Accretive Health readily admitted that a \"typical hospital\" doesn't do financial counseling in the emergency room. But, they boasted, they had found a way to get 15 percent of ER patients to pay upfront. They called it the \"Accretive Secret Sauce.\" Accretive's secret was roundly attacked in a report this week by Minnesota Attorney General Lori Swanson. But in Minnesota hospitals, it's no longer unusual to approach patients in advance about paying their bills, according to hospital executives (Lerner, 4/25). \nStateline: Drug Database Dilemma\nTo deal with the growing problem of prescription drug abuse, Kentucky legislators enacted tougher regulations on doctors and pain management clinics. The law mandates that all physicians and pharmacists who prescribe schedule II and III drugs, such as oxycodone (OxyContin) and hydrocodone (Vicodin), check the patient’s prescription record before writing or filling a prescription. They also have to register prescriptions for those drugs in a state database within 24 hours of writing or filling the prescription (Clark, 4/26).\nThe Connecticut Mirror: House Votes To Legalize 'Medical Marijuana'\nThe House of Representatives overwhelmingly voted Wednesday night to legalize the production, distribution and use of marijuana as a palliative for the chronically ill, reviving Connecticut's role in a national debate. ... If passed by the Senate and signed by the governor as proponents expect, Connecticut will join the ranks of states with a softening attitude toward the dangers and beneficial uses of marijuana (Pazniokas, 4/25). \nThe Baltimore Sun: New Web Portal Provides County By County Health Data\nA new state web portal was recently launched that provides this and other health data for every county in Maryland. The Maryland Department of Health and Mental Hygiene with the Hilltop Institute at the University of Maryland at Baltimore County to create the website that uses data about Medicaid recipients (Walker, 4/26).\nGeorgia Health News: County Rankings Show Link Between Economy, Health\nA county-by-county ranking of health statistics, released earlier this month, showed a geographic divide in Georgia. Rural South and Middle Georgia counties were clustered at the bottom of the state's health rankings, and urban/suburban at the top. ... It's the second year that Partner Up for Public Health, an advocacy campaign, has generated this comparison. The top 10 and the bottom 10 show that counties tend to score well or poorly on both measures (Miller, 4/25).\nHealth News Florida:  Suit Reveals Financial Incentives\nA Clearwater doctor has filed a \"whistleblower\" suit against the medical practice that employed him, saying he was fired for complaining about how patients were treated. His contract offered financial incentives, such as a percent of the profits on ultrasound tests he ordered (Gentry and Clear, 4/25). \n(Eau-Claire) Leader-Telegram/(St. Paul) Pioneer Press: Eau Claire OKs Health Plans For Same-Sex Couples\nWhen Eau Claire city employees re-enroll in June for their health insurance, police Detective Clay Wanta plans to switch from single-person coverage to a limited family plan to include his partner, Pete Brandt.  The 12-year Eau Claire Police Department veteran watched Tuesday, April 24, as the city council debated the cost versus the fairness of allowing domestic partnerships to qualify for the same health benefits married couples can receive. ... The council voted 10-1 in favor of extending benefits, after almost two hours of debate (Dowd, 4/25).\nMercury News / Bay Area News Group: Tobacco Industry Gearing Up To Take Down California Cigarette Tax Initiative\nIn what is quickly turning into another high-stakes policy battle to be decided by California voters, tobacco giants Philip Morris and R.J. Reynolds are forking over tens of millions of dollars to defeat a new tobacco tax on the June ballot. Proposition 29, which would boost taxes by $1 a pack of cigarettes to $1.87, would raise about $735 million annually, most of which would go toward cancer research (Harmon, 4/25). ",
"entities" : [
{
"actual_name" : "Clay Wanta",
"dimension" : "Who",
"disambiguated_name" : "Clay Wanta",
"doccount" : 2,
"frequency" : 2,
"index" : "clay wanta/person",
"relevance" : 0.098,
"totalfrequency" : 4,
"type" : "Person"
},
{
"actual_name" : "Kentucky",
"dimension" : "Where",
"disambiguated_name" : "Kentucky,United States",
"doccount" : 5506,
"frequency" : 1,
"geotag" : {
"lat" : 37.7884710645,
"lon" : -85.3279475422
},
"index" : "kentucky/provinceorstate",
"linkdata" : [
"http://d.opencalais.com/er/geo/provinceorstate/ralg-geo1/38d22319-239f-cd5d-432d-fcd0fab31888"
],
"ontology_type" : "countrysubsidiary",
"relevance" : 0.232,
"totalfrequency" : 7563,
"type" : "ProvinceOrState"
},
{
"disambiguated_name" : "SAN JOSE MERCURY NEWS",
"index" : "mercury news/company",
"actual_name" : "Mercury News",
"type" : "Company",
"relevance" : 0.063,
"frequency" : 1,
"totalfrequency" : 47,
"doccount" : 38,
"dimension" : "Who",
"linkdata" : [
"http://d.opencalais.com/er/company/ralg-tr1r/77c15509-59e0-3d2e-b615-092ca8e9c00a"
]
},
{
"actual_name" : "USD",
"dimension" : "What",
"disambiguated_name" : "USD",
"doccount" : NumberLong(480419),
"frequency" : 3,
"index" : "usd/currency",
"relevance" : 0.066,
"totalfrequency" : NumberLong(2733137),
"type" : "Currency"
},
{
"actual_name" : "The Baltimore Sun",
"dimension" : "What",
"disambiguated_name" : "The Baltimore Sun",
"doccount" : NumberLong(412),
"frequency" : 1,
"index" : "the baltimore sun/publishedmedium",
"relevance" : 0.162,
"totalfrequency" : NumberLong(435),
"type" : "PublishedMedium"
},
{
"actual_name" : "Lori Swanson",
"dimension" : "Who",
"disambiguated_name" : "Lori Swanson",
"doccount" : 101,
"frequency" : 1,
"index" : "lori swanson/person",
"relevance" : 0.275,
"totalfrequency" : 389,
"type" : "Person"
},
{
"actual_name" : "Governor",
"dimension" : "Who",
"disambiguated_name" : "Governor",
"doccount" : NumberLong(45994),
"frequency" : 1,
"index" : "governor/position",
"relevance" : 0.185,
"totalfrequency" : NumberLong(79914),
"type" : "Position"
},
{
"actual_name" : "Star Tribune",
"dimension" : "What",
"disambiguated_name" : "Star Tribune",
"doccount" : 416,
"frequency" : 1,
"index" : "star tribune/publishedmedium",
"relevance" : 0.305,
"totalfrequency" : 548,
"type" : "PublishedMedium"
},
{
"actual_name" : "Philip Morris",
"dimension" : "Who",
"disambiguated_name" : "Philip Morris International Inc.",
"doccount" : NumberLong(72),
"frequency" : 1,
"index" : "philip morris/company",
"linkdata" : [
"http://d.opencalais.com/er/company/ralg-tr1r/82b08858-ee63-3580-85ac-7f01988b23fb"
],
"relevance" : 0.063,
"totalfrequency" : NumberLong(117),
"type" : "Company"
},
{
"actual_name" : "Senate Committee on Health",
"dimension" : "Who",
"disambiguated_name" : "Senate Committee on Health",
"doccount" : NumberLong(22),
"frequency" : 1,
"index" : "senate committee on health/organization",
"relevance" : 0.316,
"totalfrequency" : NumberLong(25),
"type" : "Organization"
},
{
"actual_name" : "state web portal",
"dimension" : "What",
"disambiguated_name" : "state web portal",
"doccount" : 4,
"frequency" : 1,
"index" : "state web portal/industryterm",
"relevance" : 0.167,
"totalfrequency" : 4,
"type" : "IndustryTerm"
},
{
"actual_name" : "Minnesota",
"dimension" : "Where",
"disambiguated_name" : "Minnesota,United States",
"doccount" : 13273,
"frequency" : 1,
"geotag" : {
"lat" : 46,
"lon" : -94
},
"index" : "minnesota/provinceorstate",
"linkdata" : [
"http://d.opencalais.com/er/geo/provinceorstate/ralg-geo1/b99d1bcd-ec35-113e-54ad-4d6c44682ce1"
],
"ontology_type" : "countrysubsidiary",
"relevance" : 0.289,
"totalfrequency" : 25186,
"type" : "ProvinceOrState"
},
{
"actual_name" : "University of Maryland at Baltimore",
"dimension" : "Who",
"disambiguated_name" : "University of Maryland at Baltimore",
"doccount" : 10,
"frequency" : 1,
"index" : "university of maryland at baltimore/organization",
"relevance" : 0.14,
"totalfrequency" : 10,
"type" : "Organization"
},
{
"actual_name" : "Walker",
"dimension" : "Who",
"disambiguated_name" : "Walker",
"doccount" : NumberLong(7283),
"frequency" : 1,
"index" : "walker/position",
"relevance" : 0.14,
"totalfrequency" : NumberLong(8039),
"type" : "Position"
},
{
"actual_name" : "House of Representatives",
"dimension" : "Who",
"disambiguated_name" : "House of Representatives",
"doccount" : NumberLong(5283),
"frequency" : 1,
"index" : "house of representatives/organization",
"relevance" : 0.214,
"totalfrequency" : NumberLong(6302),
"type" : "Organization"
},
{
"disambiguated_name" : "The Baltimore Sun Company",
"index" : "baltimore sun/company",
"actual_name" : "Baltimore Sun",
"type" : "Company",
"relevance" : 0.162,
"frequency" : 1,
"totalfrequency" : 228,
"doccount" : 214,
"dimension" : "Who",
"linkdata" : [
"http://d.opencalais.com/er/company/ralg-tr1r/7e0085ce-915b-3a11-b86f-0f5bcaeb366b"
]
},
{
"actual_name" : "Bay Area News Group",
"dimension" : "Who",
"disambiguated_name" : "Bay Area News Group",
"doccount" : 65,
"frequency" : 1,
"index" : "bay area news group/company",
"relevance" : 0.063,
"totalfrequency" : 226,
"type" : "Company"
},
{
"actual_name" : "health insurance",
"dimension" : "What",
"disambiguated_name" : "health insurance",
"doccount" : 9814,
"frequency" : 1,
"index" : "health insurance/industryterm",
"relevance" : 0.087,
"totalfrequency" : 15216,
"type" : "IndustryTerm"
},
{
"actual_name" : "Maryland",
"dimension" : "Where",
"disambiguated_name" : "Maryland,United States",
"doccount" : 11995,
"frequency" : 3,
"geotag" : {
"lat" : 39.0616685311,
"lon" : -76.7854797575
},
"index" : "maryland/provinceorstate",
"linkdata" : [
"http://d.opencalais.com/er/geo/provinceorstate/ralg-geo1/d05e2016-77c3-e1e4-f9f7-d61274efe181"
],
"ontology_type" : "countrysubsidiary",
"relevance" : 0.605,
"totalfrequency" : 18512,
"type" : "ProvinceOrState"
},
{
"actual_name" : "ultrasound",
"dimension" : "What",
"disambiguated_name" : "ultrasound",
"doccount" : 5311,
"frequency" : 1,
"index" : "ultrasound/technology",
"relevance" : 0.108,
"totalfrequency" : 10567,
"type" : "Technology"
},
{
"disambiguated_name" : "PIONEER PRESS/NW. GROUP",
"index" : "pioneer press/company",
"actual_name" : "Pioneer Press",
"type" : "Company",
"relevance" : 0.087,
"frequency" : 1,
"totalfrequency" : 209,
"doccount" : 188,
"dimension" : "Who",
"linkdata" : [
"http://d.opencalais.com/er/company/ralg-tr1r/fd6d3ca6-ab65-345d-9fed-7ed605ff3c37"
]
},
{
"actual_name" : "University of Maryland",
"dimension" : "What",
"disambiguated_name" : "University of Maryland",
"doccount" : 1425,
"frequency" : 1,
"index" : "university of maryland/facility",
"relevance" : 0.14,
"totalfrequency" : 1702,
"type" : "Facility"
},
{
"actual_name" : "Web Portal",
"dimension" : "What",
"disambiguated_name" : "Web Portal",
"doccount" : 640,
"frequency" : 1,
"index" : "web portal/industryterm",
"relevance" : 0.162,
"totalfrequency" : 771,
"type" : "IndustryTerm"
},
{
"actual_name" : "police Detective",
"dimension" : "Who",
"disambiguated_name" : "police Detective",
"doccount" : 69,
"frequency" : 1,
"index" : "police detective/position",
"relevance" : 0.087,
"totalfrequency" : 75,
"type" : "Position"
},
{
"actual_name" : "Attorney General",
"dimension" : "Who",
"disambiguated_name" : "Attorney General",
"doccount" : NumberLong(5751),
"frequency" : 1,
"index" : "attorney general/position",
"relevance" : 0.275,
"totalfrequency" : NumberLong(8961),
"type" : "Position"
},
{
"disambiguated_name" : "Baltimore County,Maryland,United States",
"index" : "baltimore county/provinceorstate",
"actual_name" : "Baltimore County",
"type" : "ProvinceOrState",
"relevance" : 0.14,
"frequency" : 1,
"totalfrequency" : 81,
"doccount" : 77,
"geotag" : {
"lat" : 39.3722,
"lon" : -76.6126
},
"dimension" : "Where",
"linkdata" : [
"http://d.opencalais.com/er/geo/provinceorstate/ralg-geo1/92e2b092-a678-deb1-12bb-60777843d7db"
],
"ontology_type" : "countrysubsidiary"
},
{
"actual_name" : "tobacco giants",
"dimension" : "What",
"disambiguated_name" : "tobacco giants",
"doccount" : 2,
"frequency" : 1,
"index" : "tobacco giants/industryterm",
"relevance" : 0.063,
"totalfrequency" : 2,
"type" : "IndustryTerm"
},
{
"actual_name" : "Department of Health",
"dimension" : "Who",
"disambiguated_name" : "Department of Health",
"doccount" : NumberLong(12773),
"frequency" : 1,
"index" : "department of health/organization",
"relevance" : 0.14,
"totalfrequency" : NumberLong(15985),
"type" : "Organization"
},
{
"actual_name" : "Hilltop Institute",
"dimension" : "Who",
"disambiguated_name" : "Hilltop Institute",
"doccount" : 7,
"frequency" : 1,
"index" : "hilltop institute/organization",
"relevance" : 0.14,
"totalfrequency" : 7,
"type" : "Organization"
},
{
"actual_name" : "Eau Claire Police Department",
"dimension" : "Who",
"disambiguated_name" : "Eau Claire Police Department",
"doccount" : 2,
"frequency" : 1,
"index" : "eau claire police department/organization",
"relevance" : 0.074,
"totalfrequency" : 2,
"type" : "Organization"
},
{
"actual_name" : "California",
"dimension" : "Where",
"disambiguated_name" : "California,United States",
"doccount" : 66761,
"frequency" : 1,
"geotag" : {
"lat" : 36.4885198674,
"lon" : -119.701379437
},
"index" : "california/provinceorstate",
"linkdata" : [
"http://d.opencalais.com/er/geo/provinceorstate/ralg-geo1/fd9e1e90-96a9-04ff-1397-445c4e93208b"
],
"ontology_type" : "countrysubsidiary",
"relevance" : 0.063,
"totalfrequency" : 108816,
"type" : "ProvinceOrState"
},
{
"actual_name" : "Georgia",
"dimension" : "Where",
"disambiguated_name" : "Georgia,United States",
"doccount" : 11000,
"frequency" : 1,
"index" : "georgia/provinceorstate",
"linkdata" : [
"http://d.opencalais.com/er/geo/provinceorstate/ralg-geo1/b9d4552f-76e4-000f-38b1-2d6d7ee32304"
],
"relevance" : 0.12,
"totalfrequency" : 13927,
"type" : "ProvinceOrState"
},
{
"actual_name" : "Hilltop Institute",
"dimension" : "What",
"disambiguated_name" : "Hilltop Institute",
"doccount" : 7,
"frequency" : 1,
"index" : "hilltop institute/facility",
"relevance" : 0.14,
"totalfrequency" : 7,
"type" : "Facility"
},
{
"actual_name" : "Connecticut",
"dimension" : "Where",
"disambiguated_name" : "Connecticut,United States",
"doccount" : 10316,
"frequency" : 2,
"geotag" : {
"lat" : 41.6,
"lon" : -72.7
},
"index" : "connecticut/provinceorstate",
"linkdata" : [
"http://d.opencalais.com/er/geo/provinceorstate/ralg-geo1/0876e379-8821-c934-0ec1-6ddec40bfef2"
],
"ontology_type" : "countrysubsidiary",
"relevance" : 0.223,
"totalfrequency" : 14710,
"type" : "ProvinceOrState"
},
{
"actual_name" : "Pete Brandt",
"dimension" : "Who",
"disambiguated_name" : "Pete Brandt",
"doccount" : 2,
"frequency" : 1,
"index" : "pete brandt/person",
"relevance" : 0.087,
"totalfrequency" : 2,
"type" : "Person"
},
{
"disambiguated_name" : "EMERICHIP Renton LLC",
"index" : "er/company",
"actual_name" : "ER",
"type" : "Company",
"relevance" : 0.292,
"frequency" : 1,
"totalfrequency" : 4,
"doccount" : 4,
"dimension" : "Who",
"linkdata" : [
"http://d.opencalais.com/er/company/ralg-tr1r/38ea1690-b692-325d-82a8-6021331f82da"
]
},
{
"actual_name" : "Senate",
"dimension" : "Who",
"disambiguated_name" : "Senate",
"doccount" : NumberLong(34422),
"frequency" : 1,
"index" : "senate/organization",
"relevance" : 0.185,
"totalfrequency" : NumberLong(103310),
"type" : "Organization"
},
{
"disambiguated_name" : "The McClatchy Company",
"index" : "minneapolis star tribune/company",
"actual_name" : "Minneapolis Star Tribune",
"type" : "Company",
"relevance" : 0.305,
"frequency" : 1,
"totalfrequency" : 226,
"doccount" : 220,
"dimension" : "Who",
"linkdata" : [
"http://d.opencalais.com/er/company/ralg-tr1r/22afa008-0bf6-32e9-a560-13b72e4f2b63"
]
},
{
"disambiguated_name" : "Reynolds American Inc.",
"index" : "r.j. reynolds/company",
"actual_name" : "R.J. Reynolds",
"type" : "Company",
"relevance" : 0.063,
"frequency" : 1,
"totalfrequency" : 17,
"doccount" : 6,
"dimension" : "Who",
"linkdata" : [
"http://d.opencalais.com/er/company/ralg-tr1r/0732667f-f049-335e-94b8-b2bf5982dd2c"
]
}
],
"index" : "doc_4c927585d591d31d7b37097a",
"mediaType" : "News",
"modified" : ISODate("2012-04-26T14:52:09Z"),
"publishedDate" : ISODate("2012-04-26T14:01:00Z"),
"source" : "Kaiser: Health News",
"sourceKey" : "http.feeds.kaiserhealthnews.org.khn.fulltext",
"tags" : [
"medical",
"topic:healthcare",
"news",
"industry:healthcare",
"kaiser"
],
"title" : "State News: Calif. 'Green Houses'; Minn. Looks At 'Accretive Secret Sauce'",
"url" : "http://feeds.kaiserhealthnews.org/~r/khn/fulltext/~3/-RP26dsfR4o/states-health-care.aspx"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment