{"action":"created","issue":{"url":"https://api.github.com/repos/Swirrl/graphql-qb/issues/154","repository_url":"https://api.github.com/repos/Swirrl/graphql-qb","labels_url":"https://api.github.com/repos/Swirrl/graphql-qb/issues/154/labels{/name}","comments_url":"https://api.github.com/repos/Swirrl/graphql-qb/issues/154/comments","events_url":"https://api.github.com/repos/Swirrl/graphql-qb/issues/154/events","html_url":"https://github.com/Swirrl/graphql-qb/issues/154","id":371949640,"node_id":"MDU6SXNzdWUzNzE5NDk2NDA=","number":154,"title":"Rationale for filter in initial query","user":{"login":"PaulZH","id":437781,"node_id":"MDQ6VXNlcjQzNzc4MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/437781?v=4","gravatar_id":"","url":"https://api.github.com/users/PaulZH","html_url":"https://github.com/PaulZH","followers_url":"https://api.github.com/users/PaulZH/followers","following_url":"https://api.github.com/users/PaulZH/following{/other_user}","gists_url":"https://api.github.com/users/PaulZH/gists{/gist_id}","starred_url":"https://api.github.com/users/PaulZH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaulZH/subscriptions","organizations_url":"https://api.github.com/users/PaulZH/orgs","repos_url":"https://api.github.com/users/PaulZH/repos","events_url":"https://api.github.com/users/PaulZH/events{/privacy}","received_events_url":"https://api.github.com/users/PaulZH/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-10-19T13:06:45Z","updated_at":"2018-10-20T12:03:33Z","closed_at":null,"author_association":"NONE","body":"When the CubiQL endpoint connects to the SPARQL endpoint, it seems to fire following SPARQL query.\r\n```\r\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\r\nPREFIX qb: <http://purl.org/linked-data/cube#>\r\nPREFIX dcterms: <http://purl.org/dc/terms/>\r\nSELECT ?ds ?name ?title ?description ?licence ?issued ?modified ?publisher \r\nWHERE {\r\n  { SELECT DISTINCT ?ds \r\n    WHERE {  ?ds a qb:DataSet .} }  \r\n  ?ds <http://www.w3.org/2000/01/rdf-schema#label> ?name .  \r\n  FILTER(LANG(?name) = \"\")}\r\n```\r\nwhich in our case doesn't return anything, since in our case label values have a language attached.\r\n\r\nI don't see this constraint anywhere documented."},"comment":{"url":"https://api.github.com/repos/Swirrl/graphql-qb/issues/comments/431574321","html_url":"https://github.com/Swirrl/graphql-qb/issues/154#issuecomment-431574321","issue_url":"https://api.github.com/repos/Swirrl/graphql-qb/issues/154","id":431574321,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTU3NDMyMQ==","user":{"login":"PaulZH","id":437781,"node_id":"MDQ6VXNlcjQzNzc4MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/437781?v=4","gravatar_id":"","url":"https://api.github.com/users/PaulZH","html_url":"https://github.com/PaulZH","followers_url":"https://api.github.com/users/PaulZH/followers","following_url":"https://api.github.com/users/PaulZH/following{/other_user}","gists_url":"https://api.github.com/users/PaulZH/gists{/gist_id}","starred_url":"https://api.github.com/users/PaulZH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaulZH/subscriptions","organizations_url":"https://api.github.com/users/PaulZH/orgs","repos_url":"https://api.github.com/users/PaulZH/repos","events_url":"https://api.github.com/users/PaulZH/events{/privacy}","received_events_url":"https://api.github.com/users/PaulZH/received_events","type":"User","site_admin":false},"created_at":"2018-10-20T12:03:33Z","updated_at":"2018-10-20T12:03:33Z","author_association":"NONE","body":"Is it possible to ask to return labels according to the preferences of and from the client? \r\n\r\n```\r\n{cubiql{\r\n  datasets {\r\n    uri\r\n    title <-- language returned based on user choice\r\n    dimensions{\r\n   \t uri}\r\n  } \r\n}}\r\n```\r\n"}}
{"actor":{"display_login":"PaulZH"}}