{"action":"created","issue":{"url":"https://api.github.com/repos/RubenVerborgh/SPARQL.js/issues/26","repository_url":"https://api.github.com/repos/RubenVerborgh/SPARQL.js","labels_url":"https://api.github.com/repos/RubenVerborgh/SPARQL.js/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/RubenVerborgh/SPARQL.js/issues/26/comments","events_url":"https://api.github.com/repos/RubenVerborgh/SPARQL.js/issues/26/events","html_url":"https://github.com/RubenVerborgh/SPARQL.js/issues/26","id":151065742,"number":26,"title":"support DEFINE (Virtuoso SPARQL extension)","user":{"login":"christopher-johnson","id":5990301,"avatar_url":"https://avatars.githubusercontent.com/u/5990301?v=3","gravatar_id":"","url":"https://api.github.com/users/christopher-johnson","html_url":"https://github.com/christopher-johnson","followers_url":"https://api.github.com/users/christopher-johnson/followers","following_url":"https://api.github.com/users/christopher-johnson/following{/other_user}","gists_url":"https://api.github.com/users/christopher-johnson/gists{/gist_id}","starred_url":"https://api.github.com/users/christopher-johnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christopher-johnson/subscriptions","organizations_url":"https://api.github.com/users/christopher-johnson/orgs","repos_url":"https://api.github.com/users/christopher-johnson/repos","events_url":"https://api.github.com/users/christopher-johnson/events{/privacy}","received_events_url":"https://api.github.com/users/christopher-johnson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/RubenVerborgh/SPARQL.js/labels/feature%20request","name":"feature request","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"RubenVerborgh","id":675313,"avatar_url":"https://avatars.githubusercontent.com/u/675313?v=3","gravatar_id":"","url":"https://api.github.com/users/RubenVerborgh","html_url":"https://github.com/RubenVerborgh","followers_url":"https://api.github.com/users/RubenVerborgh/followers","following_url":"https://api.github.com/users/RubenVerborgh/following{/other_user}","gists_url":"https://api.github.com/users/RubenVerborgh/gists{/gist_id}","starred_url":"https://api.github.com/users/RubenVerborgh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RubenVerborgh/subscriptions","organizations_url":"https://api.github.com/users/RubenVerborgh/orgs","repos_url":"https://api.github.com/users/RubenVerborgh/repos","events_url":"https://api.github.com/users/RubenVerborgh/events{/privacy}","received_events_url":"https://api.github.com/users/RubenVerborgh/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2016-04-26T07:43:01Z","updated_at":"2016-04-27T12:34:27Z","closed_at":null,"body":"I am using Virtuoso's DEFINE input:inference clause and would like to pass this through in a TPF query.  \r\n\r\nThe syntax is Define ::=  'DEFINE' QNAME (QNAME | Q_IRI_REF | String )\r\nSee https://github.com/openlink/virtuoso-opensource/blob/master/libsrc/Wi/sparql_core.c for all configuration options.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/RubenVerborgh/SPARQL.js/issues/comments/215068148","html_url":"https://github.com/RubenVerborgh/SPARQL.js/issues/26#issuecomment-215068148","issue_url":"https://api.github.com/repos/RubenVerborgh/SPARQL.js/issues/26","id":215068148,"user":{"login":"RubenVerborgh","id":675313,"avatar_url":"https://avatars.githubusercontent.com/u/675313?v=3","gravatar_id":"","url":"https://api.github.com/users/RubenVerborgh","html_url":"https://github.com/RubenVerborgh","followers_url":"https://api.github.com/users/RubenVerborgh/followers","following_url":"https://api.github.com/users/RubenVerborgh/following{/other_user}","gists_url":"https://api.github.com/users/RubenVerborgh/gists{/gist_id}","starred_url":"https://api.github.com/users/RubenVerborgh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RubenVerborgh/subscriptions","organizations_url":"https://api.github.com/users/RubenVerborgh/orgs","repos_url":"https://api.github.com/users/RubenVerborgh/repos","events_url":"https://api.github.com/users/RubenVerborgh/events{/privacy}","received_events_url":"https://api.github.com/users/RubenVerborgh/received_events","type":"User","site_admin":false},"created_at":"2016-04-27T12:34:26Z","updated_at":"2016-04-27T12:34:26Z","body":"> I am testing your suggested server configuration change that I merged here\r\n\r\nThat looks very similar to what I'd do myself. I don't see an issue there.\r\n\r\n> It is difficult to understand why the path inference is not consistently applied when getting with TPF.\r\n\r\nGiven the code, it seems that `DEFINE` is sent out with every query. That would mean the problem lies with the Virtuoso server on the other end.\r\n\r\nTo confirm that `DEFINE` is sent out every time, I'd add a log statement [here](https://github.com/christopher-johnson/Server.js/blob/429bdb8cdbd53f41a903efb5f39c25efbea405b4/lib/datasources/SparqlDatasource.js#L76).\r\n\r\n> Also, using the CLI seems to be a bit faster, though the inference problem is the same.\r\n\r\n>  I am not able to get the fourth or fifth levels.\r\n\r\nA limitation on the server side?"}}