{"action":"created","issue":{"url":"https://api.github.com/repos/tobiasschweizer/tei2rdf/issues/1","labels_url":"https://api.github.com/repos/tobiasschweizer/tei2rdf/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/tobiasschweizer/tei2rdf/issues/1/comments","events_url":"https://api.github.com/repos/tobiasschweizer/tei2rdf/issues/1/events","html_url":"https://github.com/tobiasschweizer/tei2rdf/issues/1","id":63231612,"number":1,"title":"Keeping multiple Standoff representations of the same text in sync","user":{"login":"benjamingeer","id":558389,"avatar_url":"https://avatars.githubusercontent.com/u/558389?v=3","gravatar_id":"","url":"https://api.github.com/users/benjamingeer","html_url":"https://github.com/benjamingeer","followers_url":"https://api.github.com/users/benjamingeer/followers","following_url":"https://api.github.com/users/benjamingeer/following{/other_user}","gists_url":"https://api.github.com/users/benjamingeer/gists{/gist_id}","starred_url":"https://api.github.com/users/benjamingeer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjamingeer/subscriptions","organizations_url":"https://api.github.com/users/benjamingeer/orgs","repos_url":"https://api.github.com/users/benjamingeer/repos","events_url":"https://api.github.com/users/benjamingeer/events{/privacy}","received_events_url":"https://api.github.com/users/benjamingeer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2015-03-20T13:48:09Z","updated_at":"2015-03-23T15:50:38Z","closed_at":null,"body":"Suppose I have a text like this:\r\n\r\n```\r\nThis is a test\r\n```\r\n\r\nAnd I have two Standoff representations (represented here as XML for clarity):\r\n\r\n```\r\n1: <subject>This</subject> <predicate>is a test</predicate>\r\n\r\n2: This <verb>is</verb> a test\r\n```\r\n\r\nThe user is editing representation no. 1, and they change it to:\r\n\r\n```\r\n1: <subject>This</subject> <predicate>isn't a test</predicate>\r\n```\r\n\r\nWhat should the program do with the Standoff offsets in representation no. 2? There are two possibilities:\r\n\r\n```\r\nOption 2a: This <verb>isn't</verb> a test\r\nOption 2b: This <verb>is</verb>n't a test\r\n```\r\n\r\nIn general, there seems to be no way for the program to choose between these two options. So the user will have to do this. How can this be made convenient?"},"comment":{"url":"https://api.github.com/repos/tobiasschweizer/tei2rdf/issues/comments/85058458","html_url":"https://github.com/tobiasschweizer/tei2rdf/issues/1#issuecomment-85058458","issue_url":"https://api.github.com/repos/tobiasschweizer/tei2rdf/issues/1","id":85058458,"user":{"login":"chiarcos","id":2595657,"avatar_url":"https://avatars.githubusercontent.com/u/2595657?v=3","gravatar_id":"","url":"https://api.github.com/users/chiarcos","html_url":"https://github.com/chiarcos","followers_url":"https://api.github.com/users/chiarcos/followers","following_url":"https://api.github.com/users/chiarcos/following{/other_user}","gists_url":"https://api.github.com/users/chiarcos/gists{/gist_id}","starred_url":"https://api.github.com/users/chiarcos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chiarcos/subscriptions","organizations_url":"https://api.github.com/users/chiarcos/orgs","repos_url":"https://api.github.com/users/chiarcos/repos","events_url":"https://api.github.com/users/chiarcos/events{/privacy}","received_events_url":"https://api.github.com/users/chiarcos/received_events","type":"User","site_admin":false},"created_at":"2015-03-23T15:50:38Z","updated_at":"2015-03-23T15:50:38Z","body":"as for \"T<b>hi</b>s\":\n\nXML: T<m id=\"...m1\"/>hi<m id=\"...m2\"/>s\n(more properly maybe @rdf:about instead of just @id)\n\nRDF;\n_:n1 a :Node. # optional\n_:n1 :start <...m1>. # this is different from the way text anchorage is\nhandled in POWLA ...\n_:n1 :end <...m2>.\n_:n1 :hasName \"b\". # a property for all XML element names\n:hasName rdfs:subPropertyOf :hasFeature. # just once\n\nAnd then building a structure of Nonterminals on top, plus assigning the\nRoot node the DocumentLayer that represents the \"perspective\".\n\n\n2015-03-23 15:26 GMT+01:00 Tobias Schweizer <notifications@github.com>:\n\n> @chiarcos <https://github.com/chiarcos> I think we have a different\n> understanding of milstones:\n>\n> Yes, but the nice thing about milestones is that you don't even need to\n> update any index references, because you only refer to ids (which didn't\n> change during the edit, so, no need to update unless it's directly\n> affected).\n>\n> What you called milestones is already an annotation layer in my opinion.\n> Or how would you deal with the fact that someone would like to make\n> cross-word or even partial-word annotations but the milestones cover only\n> word boundaries?\n>\n> I would suggest to use URI-identified milestones rather than offsets for\n> precisely this reason, i.e. (simplified) 1. This is a test<...n4/> with\n> node1 start n1. node1 end n2. node1 a Node. node1 label \"subject\". (or the\n> like, simplified)\n>\n> How would you partially annotate (make bold) the word \"T*hi*s\"? In this\n> case, this would affect the milestones, right?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/tobiasschweizer/tei2rdf/issues/1#issuecomment-85022678>\n> .\n>\n"}}