payload: {"action":"created","issue":{"url":"https://api.github.com/repos/dhlab-basel/Knora/issues/1323","repository_url":"https://api.github.com/repos/dhlab-basel/Knora","labels_url":"https://api.github.com/repos/dhlab-basel/Knora/issues/1323/labels{/name}","comments_url":"https://api.github.com/repos/dhlab-basel/Knora/issues/1323/comments","events_url":"https://api.github.com/repos/dhlab-basel/Knora/issues/1323/events","html_url":"https://github.com/dhlab-basel/Knora/issues/1323","id":446474599,"node_id":"MDU6SXNzdWU0NDY0NzQ1OTk=","number":1323,"title":"Gravsearch list node constraint","user":{"login":"gfoo","id":15976605,"node_id":"MDQ6VXNlcjE1OTc2NjA1","avatar_url":"https://avatars3.githubusercontent.com/u/15976605?v=4","gravatar_id":"","url":"https://api.github.com/users/gfoo","html_url":"https://github.com/gfoo","followers_url":"https://api.github.com/users/gfoo/followers","following_url":"https://api.github.com/users/gfoo/following{/other_user}","gists_url":"https://api.github.com/users/gfoo/gists{/gist_id}","starred_url":"https://api.github.com/users/gfoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfoo/subscriptions","organizations_url":"https://api.github.com/users/gfoo/orgs","repos_url":"https://api.github.com/users/gfoo/repos","events_url":"https://api.github.com/users/gfoo/events{/privacy}","received_events_url":"https://api.github.com/users/gfoo/received_events","type":"User","site_admin":false},"labels":[{"id":742124427,"node_id":"MDU6TGFiZWw3NDIxMjQ0Mjc=","url":"https://api.github.com/repos/dhlab-basel/Knora/labels/API%20v2","name":"API v2","color":"403491","default":false},{"id":956581619,"node_id":"MDU6TGFiZWw5NTY1ODE2MTk=","url":"https://api.github.com/repos/dhlab-basel/Knora/labels/Gravsearch","name":"Gravsearch","color":"7eea6b","default":false}],"state":"open","locked":false,"assignee":{"login":"tobiasschweizer","id":6000023,"node_id":"MDQ6VXNlcjYwMDAwMjM=","avatar_url":"https://avatars3.githubusercontent.com/u/6000023?v=4","gravatar_id":"","url":"https://api.github.com/users/tobiasschweizer","html_url":"https://github.com/tobiasschweizer","followers_url":"https://api.github.com/users/tobiasschweizer/followers","following_url":"https://api.github.com/users/tobiasschweizer/following{/other_user}","gists_url":"https://api.github.com/users/tobiasschweizer/gists{/gist_id}","starred_url":"https://api.github.com/users/tobiasschweizer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobiasschweizer/subscriptions","organizations_url":"https://api.github.com/users/tobiasschweizer/orgs","repos_url":"https://api.github.com/users/tobiasschweizer/repos","events_url":"https://api.github.com/users/tobiasschweizer/events{/privacy}","received_events_url":"https://api.github.com/users/tobiasschweizer/received_events","type":"User","site_admin":false},"assignees":[{"login":"tobiasschweizer","id":6000023,"node_id":"MDQ6VXNlcjYwMDAwMjM=","avatar_url":"https://avatars3.githubusercontent.com/u/6000023?v=4","gravatar_id":"","url":"https://api.github.com/users/tobiasschweizer","html_url":"https://github.com/tobiasschweizer","followers_url":"https://api.github.com/users/tobiasschweizer/followers","following_url":"https://api.github.com/users/tobiasschweizer/following{/other_user}","gists_url":"https://api.github.com/users/tobiasschweizer/gists{/gist_id}","starred_url":"https://api.github.com/users/tobiasschweizer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobiasschweizer/subscriptions","organizations_url":"https://api.github.com/users/tobiasschweizer/orgs","repos_url":"https://api.github.com/users/tobiasschweizer/repos","events_url":"https://api.github.com/users/tobiasschweizer/events{/privacy}","received_events_url":"https://api.github.com/users/tobiasschweizer/received_events","type":"User","site_admin":false}],"milestone":null,"comments":11,"created_at":"2019-05-21T08:06:39Z","updated_at":"2019-06-07T09:31:54Z","closed_at":null,"author_association":"NONE","body":"With the dev Knora version, this query does not work anymore (it still works with 7.0.0) :\r\n```sparql\r\nPREFIX knora-api: <http://api.knora.org/ontology/knora-api/simple/v2#>\r\nPREFIX ll: <http://0.0.0.0:3333/ontology/0113/lumieres-lausanne/simple/v2#>\r\n\r\nCONSTRUCT {\r\n  ?BibliographicNotice knora-api:isMainResource true .\r\n} WHERE {\r\n  \r\n  ?BibliographicNotice a knora-api:Resource .\r\n  ?BibliographicNotice a ll:BibliographicNotice .\r\n  \r\n  ?BibliographicNotice ll:hasDocumentType ?hasDocumentType .\r\n  FILTER(?hasDocumentType = \"http://rdfh.ch/lists/0113/hasDocumentType-manuscrit\")\r\n\r\n}\r\n```\r\n```json\r\n{\r\n    \"knora-api:error\": \"org.knora.webapi.GravsearchException: One or more entities have inconsistent types: <http://0.0.0.0:3333/ontology/0113/lumieres-lausanne/simple/v2#hasDocumentType> knora-api:objectType <http://api.knora.org/ontology/knora-api/simple/v2#ListNode> ; knora-api:objectType <http://www.w3.org/2001/XMLSchema#string> . ?hasDocumentType rdf:type <http://www.w3.org/2001/XMLSchema#string> ; rdf:type <http://api.knora.org/ontology/knora-api/simple/v2#ListNode> .\",\r\n    \"@context\": {\r\n        \"knora-api\": \"http://api.knora.org/ontology/knora-api/v2#\"\r\n    }\r\n}\r\n```\r\nIs that due to #1314? To fix it, do I have to wait for #1318?\r\nOr do I have to move all my queries to the complex shcema to filter list nodes on their IRIs as mentioned in the [documentation](https://github.com/dhlab-basel/Knora/blob/develop/docs/src/paradox/03-apis/api-v2/query-language.md#searching-for-a-list-value-referring-to-a-particular-list-node)?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dhlab-basel/Knora/issues/comments/499821029","html_url":"https://github.com/dhlab-basel/Knora/issues/1323#issuecomment-499821029","issue_url":"https://api.github.com/repos/dhlab-basel/Knora/issues/1323","id":499821029,"node_id":"MDEyOklzc3VlQ29tbWVudDQ5OTgyMTAyOQ==","user":{"login":"tobiasschweizer","id":6000023,"node_id":"MDQ6VXNlcjYwMDAwMjM=","avatar_url":"https://avatars3.githubusercontent.com/u/6000023?v=4","gravatar_id":"","url":"https://api.github.com/users/tobiasschweizer","html_url":"https://github.com/tobiasschweizer","followers_url":"https://api.github.com/users/tobiasschweizer/followers","following_url":"https://api.github.com/users/tobiasschweizer/following{/other_user}","gists_url":"https://api.github.com/users/tobiasschweizer/gists{/gist_id}","starred_url":"https://api.github.com/users/tobiasschweizer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobiasschweizer/subscriptions","organizations_url":"https://api.github.com/users/tobiasschweizer/orgs","repos_url":"https://api.github.com/users/tobiasschweizer/repos","events_url":"https://api.github.com/users/tobiasschweizer/events{/privacy}","received_events_url":"https://api.github.com/users/tobiasschweizer/received_events","type":"User","site_admin":false},"created_at":"2019-06-07T09:31:54Z","updated_at":"2019-06-07T09:31:54Z","author_association":"COLLABORATOR","body":"> It's always bothered me that we store IRIs in valueHasString\r\n\r\ntrue, it's not ideal"}}
other: {"actor":{"display_login":"tobiasschweizer"}}