{"action":"created","issue":{"url":"https://api.github.com/repos/Benestar/asparagus/issues/3","labels_url":"https://api.github.com/repos/Benestar/asparagus/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/Benestar/asparagus/issues/3/comments","events_url":"https://api.github.com/repos/Benestar/asparagus/issues/3/events","html_url":"https://github.com/Benestar/asparagus/issues/3","id":88965928,"number":3,"title":"Add support for more conditions","user":{"login":"Benestar","id":2998254,"avatar_url":"https://avatars.githubusercontent.com/u/2998254?v=3","gravatar_id":"","url":"https://api.github.com/users/Benestar","html_url":"https://github.com/Benestar","followers_url":"https://api.github.com/users/Benestar/followers","following_url":"https://api.github.com/users/Benestar/following{/other_user}","gists_url":"https://api.github.com/users/Benestar/gists{/gist_id}","starred_url":"https://api.github.com/users/Benestar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Benestar/subscriptions","organizations_url":"https://api.github.com/users/Benestar/orgs","repos_url":"https://api.github.com/users/Benestar/repos","events_url":"https://api.github.com/users/Benestar/events{/privacy}","received_events_url":"https://api.github.com/users/Benestar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Benestar/asparagus/labels/enhancement","name":"enhancement","color":"009800"},{"url":"https://api.github.com/repos/Benestar/asparagus/labels/SPARQL%201.1","name":"SPARQL 1.1","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-17T09:23:57Z","updated_at":"2015-06-19T12:21:23Z","closed_at":null,"body":"In `QueryConditionBuilder` we want to support filter, <s>filterExists, filterNotExists</s>, optional, union, minus and maybe even more operations."},"comment":{"url":"https://api.github.com/repos/Benestar/asparagus/issues/comments/113497791","html_url":"https://github.com/Benestar/asparagus/issues/3#issuecomment-113497791","issue_url":"https://api.github.com/repos/Benestar/asparagus/issues/3","id":113497791,"user":{"login":"Benestar","id":2998254,"avatar_url":"https://avatars.githubusercontent.com/u/2998254?v=3","gravatar_id":"","url":"https://api.github.com/users/Benestar","html_url":"https://github.com/Benestar","followers_url":"https://api.github.com/users/Benestar/followers","following_url":"https://api.github.com/users/Benestar/following{/other_user}","gists_url":"https://api.github.com/users/Benestar/gists{/gist_id}","starred_url":"https://api.github.com/users/Benestar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Benestar/subscriptions","organizations_url":"https://api.github.com/users/Benestar/orgs","repos_url":"https://api.github.com/users/Benestar/repos","events_url":"https://api.github.com/users/Benestar/events{/privacy}","received_events_url":"https://api.github.com/users/Benestar/received_events","type":"User","site_admin":false},"created_at":"2015-06-19T12:21:23Z","updated_at":"2015-06-19T12:21:23Z","body":"```php\r\nuse Asparagus\\QueryBuilder;\r\n\r\n$prefixes = array(\r\n\t'dc10' => 'http://purl.org/dc/elements/1.0/',\r\n\t'dc11' => 'http://purl.org/dc/elements/1.1/'\r\n);\r\n\r\n$queryBuilder = new QueryBuilder( $prefixes );\r\n$queryBuilder->select( '?title', '?creator' )\r\n\t->where(\r\n\t\t$queryBuilder->newSubgraph()\r\n\t\t\t->where( '?book', 'dc10:title', '?title' )\r\n\t\t\t->also( 'dc10:creator', '?creator' )\r\n\t)\r\n\t->union(\r\n\t\t$queryBuilder->newSubgraph()\r\n\t\t\t->where( 'dc11:title', '?title' )\r\n\t\t\t->also( 'dc11:creator', '?creator' )\r\n\t);\r\n\r\necho $queryBuilder->format();\r\n```"}}