{"action":"closed","issue":{"url":"https://api.github.com/repos/graknlabs/grakn/issues/3527","repository_url":"https://api.github.com/repos/graknlabs/grakn","labels_url":"https://api.github.com/repos/graknlabs/grakn/issues/3527/labels{/name}","comments_url":"https://api.github.com/repos/graknlabs/grakn/issues/3527/comments","events_url":"https://api.github.com/repos/graknlabs/grakn/issues/3527/events","html_url":"https://github.com/graknlabs/grakn/issues/3527","id":362785137,"node_id":"MDU6SXNzdWUzNjI3ODUxMzc=","number":3527,"title":"Validate match query wrt. schema","user":{"login":"grakn-bot","id":42977137,"node_id":"MDQ6VXNlcjQyOTc3MTM3","avatar_url":"https://avatars2.githubusercontent.com/u/42977137?v=4","gravatar_id":"","url":"https://api.github.com/users/grakn-bot","html_url":"https://github.com/grakn-bot","followers_url":"https://api.github.com/users/grakn-bot/followers","following_url":"https://api.github.com/users/grakn-bot/following{/other_user}","gists_url":"https://api.github.com/users/grakn-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/grakn-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grakn-bot/subscriptions","organizations_url":"https://api.github.com/users/grakn-bot/orgs","repos_url":"https://api.github.com/users/grakn-bot/repos","events_url":"https://api.github.com/users/grakn-bot/events{/privacy}","received_events_url":"https://api.github.com/users/grakn-bot/received_events","type":"User","site_admin":false},"labels":[{"id":406573491,"node_id":"MDU6TGFiZWw0MDY1NzM0OTE=","url":"https://api.github.com/repos/graknlabs/grakn/labels/feature","name":"feature","color":"41DFFF","default":false},{"id":1064949303,"node_id":"MDU6TGFiZWwxMDY0OTQ5MzAz","url":"https://api.github.com/repos/graknlabs/grakn/labels/grakn%20core","name":"grakn core","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":{"login":"lolski","id":464164,"node_id":"MDQ6VXNlcjQ2NDE2NA==","avatar_url":"https://avatars0.githubusercontent.com/u/464164?v=4","gravatar_id":"","url":"https://api.github.com/users/lolski","html_url":"https://github.com/lolski","followers_url":"https://api.github.com/users/lolski/followers","following_url":"https://api.github.com/users/lolski/following{/other_user}","gists_url":"https://api.github.com/users/lolski/gists{/gist_id}","starred_url":"https://api.github.com/users/lolski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lolski/subscriptions","organizations_url":"https://api.github.com/users/lolski/orgs","repos_url":"https://api.github.com/users/lolski/repos","events_url":"https://api.github.com/users/lolski/events{/privacy}","received_events_url":"https://api.github.com/users/lolski/received_events","type":"User","site_admin":false},"assignees":[{"login":"lolski","id":464164,"node_id":"MDQ6VXNlcjQ2NDE2NA==","avatar_url":"https://avatars0.githubusercontent.com/u/464164?v=4","gravatar_id":"","url":"https://api.github.com/users/lolski","html_url":"https://github.com/lolski","followers_url":"https://api.github.com/users/lolski/followers","following_url":"https://api.github.com/users/lolski/following{/other_user}","gists_url":"https://api.github.com/users/lolski/gists{/gist_id}","starred_url":"https://api.github.com/users/lolski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lolski/subscriptions","organizations_url":"https://api.github.com/users/lolski/orgs","repos_url":"https://api.github.com/users/lolski/repos","events_url":"https://api.github.com/users/lolski/events{/privacy}","received_events_url":"https://api.github.com/users/lolski/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-09-21T21:48:44Z","updated_at":"2018-09-22T17:29:01Z","closed_at":"2018-09-22T17:29:01Z","author_association":"MEMBER","body":"_This issue was originally posted by @lolski  on 2018-01-16 12:18_.\n\nmatch isa <entity-name> has <attribute-name> should fail if <entity-name> isn't associated with <attribute-name>\nFor example, if I have a schema:\n\ndefine name sub attribute datatype string;\ndefine publisher-company sub attribute datatype string;\n\ndefine country sub entity, has name;\ndefine game sub entity, has publisher-company;\n\nthen, a query such as:\n\nmatch isa country has publisher-company; get;\n\nshould return an error along the lines of country isn't associated with any attribute named publisher-company.\n"}}
{"actor":{"display_login":"grakn-bot"}}