{"action":"created","issue":{"url":"https://api.github.com/repos/chemheritage/chf-sufia/issues/54","labels_url":"https://api.github.com/repos/chemheritage/chf-sufia/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/chemheritage/chf-sufia/issues/54/comments","events_url":"https://api.github.com/repos/chemheritage/chf-sufia/issues/54/events","html_url":"https://github.com/chemheritage/chf-sufia/issues/54","id":101439554,"number":54,"title":"move to single 'date' field - add datetype to TimeSpan object","user":{"login":"hackmastera","id":845363,"avatar_url":"https://avatars.githubusercontent.com/u/845363?v=3","gravatar_id":"","url":"https://api.github.com/users/hackmastera","html_url":"https://github.com/hackmastera","followers_url":"https://api.github.com/users/hackmastera/followers","following_url":"https://api.github.com/users/hackmastera/following{/other_user}","gists_url":"https://api.github.com/users/hackmastera/gists{/gist_id}","starred_url":"https://api.github.com/users/hackmastera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hackmastera/subscriptions","organizations_url":"https://api.github.com/users/hackmastera/orgs","repos_url":"https://api.github.com/users/hackmastera/repos","events_url":"https://api.github.com/users/hackmastera/events{/privacy}","received_events_url":"https://api.github.com/users/hackmastera/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/chemheritage/chf-sufia/milestones/2","html_url":"https://github.com/chemheritage/chf-sufia/milestones/Phase%200.5:%20object%20upload%20/%20metadata%20creation","labels_url":"https://api.github.com/repos/chemheritage/chf-sufia/milestones/2/labels","id":1162260,"number":2,"title":"Phase 0.5: object upload / metadata creation","description":"","creator":{"login":"hackmastera","id":845363,"avatar_url":"https://avatars.githubusercontent.com/u/845363?v=3","gravatar_id":"","url":"https://api.github.com/users/hackmastera","html_url":"https://github.com/hackmastera","followers_url":"https://api.github.com/users/hackmastera/followers","following_url":"https://api.github.com/users/hackmastera/following{/other_user}","gists_url":"https://api.github.com/users/hackmastera/gists{/gist_id}","starred_url":"https://api.github.com/users/hackmastera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hackmastera/subscriptions","organizations_url":"https://api.github.com/users/hackmastera/orgs","repos_url":"https://api.github.com/users/hackmastera/repos","events_url":"https://api.github.com/users/hackmastera/events{/privacy}","received_events_url":"https://api.github.com/users/hackmastera/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":26,"state":"open","created_at":"2015-06-12T15:48:35Z","updated_at":"2015-08-17T14:52:52Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-08-17T14:52:52Z","updated_at":"2015-08-17T16:12:43Z","closed_at":null,"body":"TBD: Predicates\r\nTBD: display details"},"comment":{"url":"https://api.github.com/repos/chemheritage/chf-sufia/issues/comments/131875774","html_url":"https://github.com/chemheritage/chf-sufia/issues/54#issuecomment-131875774","issue_url":"https://api.github.com/repos/chemheritage/chf-sufia/issues/54","id":131875774,"user":{"login":"hackmastera","id":845363,"avatar_url":"https://avatars.githubusercontent.com/u/845363?v=3","gravatar_id":"","url":"https://api.github.com/users/hackmastera","html_url":"https://github.com/hackmastera","followers_url":"https://api.github.com/users/hackmastera/followers","following_url":"https://api.github.com/users/hackmastera/following{/other_user}","gists_url":"https://api.github.com/users/hackmastera/gists{/gist_id}","starred_url":"https://api.github.com/users/hackmastera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hackmastera/subscriptions","organizations_url":"https://api.github.com/users/hackmastera/orgs","repos_url":"https://api.github.com/users/hackmastera/repos","events_url":"https://api.github.com/users/hackmastera/events{/privacy}","received_events_url":"https://api.github.com/users/hackmastera/received_events","type":"User","site_admin":false},"created_at":"2015-08-17T16:12:43Z","updated_at":"2015-08-17T16:12:43Z","body":"With these we had to turn the predicates around, so we actually didn't have a predicate file the file to the date object. We were using chf:work_date_of from the date to the file. I can change that to be chf:date_of.\r\n\r\nThe predicate we really need is one to hold the 'date type' on the EDM.TimeSpan object. Start and finish are EDM.begin and EDM.end, and the qualifiers are CRM.P79 and P80. So maybe EDM or CRM have a date type predicate? It needs to have a range literal.\r\n\r\nAlso, I'll need a list of possible date types, unless you want it to be a free text field."}}