{"action":"opened","issue":{"url":"https://api.github.com/repos/ClarityNLP/ClarityNLP/issues/93","repository_url":"https://api.github.com/repos/ClarityNLP/ClarityNLP","labels_url":"https://api.github.com/repos/ClarityNLP/ClarityNLP/issues/93/labels{/name}","comments_url":"https://api.github.com/repos/ClarityNLP/ClarityNLP/issues/93/comments","events_url":"https://api.github.com/repos/ClarityNLP/ClarityNLP/issues/93/events","html_url":"https://github.com/ClarityNLP/ClarityNLP/issues/93","id":372571381,"node_id":"MDU6SXNzdWUzNzI1NzEzODE=","number":93,"title":"NLPQL statements don't always parse the same","user":{"login":"cahilton","id":5701610,"node_id":"MDQ6VXNlcjU3MDE2MTA=","avatar_url":"https://avatars1.githubusercontent.com/u/5701610?v=4","gravatar_id":"","url":"https://api.github.com/users/cahilton","html_url":"https://github.com/cahilton","followers_url":"https://api.github.com/users/cahilton/followers","following_url":"https://api.github.com/users/cahilton/following{/other_user}","gists_url":"https://api.github.com/users/cahilton/gists{/gist_id}","starred_url":"https://api.github.com/users/cahilton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cahilton/subscriptions","organizations_url":"https://api.github.com/users/cahilton/orgs","repos_url":"https://api.github.com/users/cahilton/repos","events_url":"https://api.github.com/users/cahilton/events{/privacy}","received_events_url":"https://api.github.com/users/cahilton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-22T15:33:18Z","updated_at":"2018-10-22T15:33:18Z","closed_at":null,"author_association":"MEMBER","body":"**Describe the bug**\r\n```\r\ndefine hasFever:\r\n    where Temperature.value >= 100.4;\r\n```\r\nand\r\n```\r\ndefine hasFever:\r\n    where (Temperature.value >= 100.4);\r\n```\r\ndo not parse the same.\r\n\r\nFor example:\r\nHere is the first one\r\n```\r\n{\r\n            \"name\": \"hasFever\",\r\n            \"action\": \">=\",\r\n            \"data_entities\": [\r\n                \"Temperature.value\",\r\n                \"100.4\"\r\n            ],\r\n            \"final\": false,\r\n            \"raw_text\": \"Temperature.value >= 100.4\"\r\n        }\r\n```\r\nand here's what the second variant generates:\r\n```\r\n{\r\n            \"name\": \"hasFever\",\r\n            \"action\": \"\",\r\n            \"data_entities\": [],\r\n            \"final\": false,\r\n            \"raw_text\": \"(Temperature.value>=100.4)\"\r\n        }\r\n```\r\n\r\n\r\nFound by @richardboyd.\r\n\r\n**To Reproduce**\r\nSee example above\r\n\r\n**Expected behavior**\r\nThey should parse the same\r\n\r\n"}}
{"actor":{"display_login":"cahilton"}}