Title: [BUG] Query error: cell missing value {} · Issue #139 · datacommonsorg/api-python · GitHub
Open Graph Title: [BUG] Query error: cell missing value {} · Issue #139 · datacommonsorg/api-python
X Title: [BUG] Query error: cell missing value {} · Issue #139 · datacommonsorg/api-python
Description: Describe the bug The python api throws the missing value error to my SPARQL query: SELECT ?name ?proteinExpressionScore WHERE { ?a typeOf HumanProteinOccurrence . ?a name ?name . ?a proteinExpressionScore ?proteinExpressionScore . } LIMI...
Open Graph Description: Describe the bug The python api throws the missing value error to my SPARQL query: SELECT ?name ?proteinExpressionScore WHERE { ?a typeOf HumanProteinOccurrence . ?a name ?name . ?a proteinExpressi...
X Description: Describe the bug The python api throws the missing value error to my SPARQL query: SELECT ?name ?proteinExpressionScore WHERE { ?a typeOf HumanProteinOccurrence . ?a name ?name . ?a proteinExpressi...
Opengraph URL: https://github.com/datacommonsorg/api-python/issues/139
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[BUG] Query error: cell missing value {}","articleBody":"**Describe the bug**\r\nThe python api throws the missing value error to my SPARQL query:\r\n```\r\nSELECT ?name ?proteinExpressionScore\r\nWHERE {\r\n ?a typeOf HumanProteinOccurrence .\r\n ?a name ?name .\r\n ?a proteinExpressionScore ?proteinExpressionScore .\r\n}\r\nLIMIT 2\r\n```\r\n\r\n**To Reproduce**\r\nSteps to reproduce the behavior:\r\n1. Go to a Colab notebook\r\n2. run\r\n```python\r\n!pip install --upgrade --quiet datacommons\r\n# Import Data Commons\r\nimport datacommons as dc\r\nroot = 'https://api.datacommons.org'\r\n\r\nSELECT ?name ?proteinExpressionScore\r\nWHERE {\r\n ?a typeOf HumanProteinOccurrence .\r\n ?a name ?name .\r\n ?a proteinExpressionScore ?proteinExpressionScore .\r\n}\r\nLIMIT 2\r\n```\r\n3. See error\r\n\r\n**Expected behavior**\r\n```python\r\nresult = [{'?name': '2ABD_HUMAN_Pancreas_ExocrineGlandularCells', '?proteinExpressionScore': 'ProteinExpressionLow'},\r\n {'?name': '2A5G_HUMAN_Bronchus_RespiratoryEpithelialCells', '?proteinExpressionScore': 'ProteinExpressionMedium'}]\r\n```\r\n\r\n**Screenshots**\r\nMissing value error: https://screenshot.googleplex.com/fa799d8a-84fb-4972-a73d-c680861d19af\r\nResponse error: https://screenshot.googleplex.com/54176345-fe07-4c5d-91aa-01536ab01141\r\n**Additional context**\r\nResponse error occurs sometimes for the same query as well, as shown in the second screenshoot. \r\n","author":{"url":"https://github.com/mengzhensun","@type":"Person","name":"mengzhensun"},"datePublished":"2020-08-13T18:54:48.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/139/api-python/issues/139"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:97c7d315-5fe8-bcee-23e5-58e2b3de0e64 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 974C:3DE411:6491B:8F453:69789769 |
| html-safe-nonce | 15c159263ff2bdb73e816bccb9be5ecbfa101b387f15b874c2a89c9b22b26ec7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NzRDOjNERTQxMTo2NDkxQjo4RjQ1Mzo2OTc4OTc2OSIsInZpc2l0b3JfaWQiOiIxNzgyNjk3NDMxNDgxNzUxNDAxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | cd9622c525718b2f2242723072157e290d6f5a59a6d5119414839432dfa86d62 |
| hovercard-subject-tag | issue:678664394 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/datacommonsorg/api-python/139/issue_layout |
| twitter:image | https://opengraph.githubassets.com/867b5c8f22aa0570a32253c21e28a1418cbacfc5db343e4bfcfb63b7e2e06c98/datacommonsorg/api-python/issues/139 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/867b5c8f22aa0570a32253c21e28a1418cbacfc5db343e4bfcfb63b7e2e06c98/datacommonsorg/api-python/issues/139 |
| og:image:alt | Describe the bug The python api throws the missing value error to my SPARQL query: SELECT ?name ?proteinExpressionScore WHERE { ?a typeOf HumanProteinOccurrence . ?a name ?name . ?a proteinExpressi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mengzhensun |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2981c597c945c1d90ac6fa355ce7929b2f413dfe7872ca5c435ee53a24a1de50 |
| turbo-cache-control | no-preview |
| go-import | github.com/datacommonsorg/api-python git https://github.com/datacommonsorg/api-python.git |
| octolytics-dimension-user_id | 52017486 |
| octolytics-dimension-user_login | datacommonsorg |
| octolytics-dimension-repository_id | 150300890 |
| octolytics-dimension-repository_nwo | datacommonsorg/api-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 150300890 |
| octolytics-dimension-repository_network_root_nwo | datacommonsorg/api-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 14920c7cb7d7c207b5e72684d0e6f23b65b849b3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width