14:55:54 RRSAgent has joined #rdfa 14:55:54 logging to http://www.w3.org/2010/11/18-rdfa-irc 14:55:56 RRSAgent, make logs world 14:55:56 Zakim has joined #rdfa 14:55:58 Zakim, this will be 7332 14:55:58 ok, trackbot; I see SW_RDFa()10:00AM scheduled to start in 5 minutes 14:55:59 Meeting: RDFa Working Group Teleconference 14:55:59 Date: 18 November 2010 14:56:02 Agenda: http://lists.w3.org/Archives/Public/public-rdfa-wg/2010Nov/0101.html 14:56:09 Chair: Manu 14:56:58 Present: Ivan, Nathan, Steven, Manu 14:58:24 zakim, dial ivan-voip 14:58:24 ok, ivan; the call is being made 14:58:25 SW_RDFa()10:00AM has now started 14:58:28 +Ivan 14:59:44 markbirbeck has joined #rdfa 15:00:01 zakim, who is here? 15:00:01 On the phone I see Ivan 15:00:03 On IRC I see markbirbeck, Zakim, RRSAgent, manu, Steven, ivan, webr3, trackbot 15:00:31 +manu 15:01:33 Manu...I'm at a two-day open data camp: http://blog.okfn.org/2010/08/13/open-government-data-camp-2010-18-19th-november-2010/ I thought I'd be able to find a quiet spot to join the call, but it's not possible. I'll hang out on IRC as much as I can, in case you need any extra votes. :) 15:02:46 (I.e., I know there are some issues that you wanted to close sooner rather than later.) 15:02:46 +??P34 15:02:56 Zakim, I am ? 15:02:56 +webr3; got it 15:03:29 Benjamin has joined #rdfa 15:04:02 + +1.612.217.aaaa 15:04:10 zakim, dial steven-617 15:04:10 ok, Steven; the call is being made 15:04:11 +Steven 15:05:30 zakim, who is on the call? 15:05:30 On the phone I see Ivan, manu, webr3, +1.612.217.aaaa, Steven 15:05:48 + +63.12.057.5aabb 15:05:58 zakim, aaaa is Shane 15:05:58 +Shane; got it 15:06:21 scribe: Steven 15:06:22 zakim, aabb is Benjamin 15:06:22 +Benjamin; got it 15:06:26 scribenick: Steven 15:06:35 Agenda: http://lists.w3.org/Archives/Public/public-rdfa-wg/2010Nov/0101.html 15:06:44 ShaneM has joined #rdfa 15:06:47 Scribe: Steven 15:06:59 is muted 15:07:33 zakim, mute me 15:07:33 Benjamin should now be muted 15:07:52 Manu: Michael Hausenblas is reviewing the RDFa Core 1.1 LC doc 15:08:04 Topic: ISSUE-53: DataParser Upgrades 15:08:11 ISSUE-53: DataParser Upgrades http://www.w3.org/2010/02/rdfa/track/issues/53 15:08:11 ISSUE-53 DataParser Interface and Arguments Upgrades notes added 15:08:29 issue-53? 15:08:29 ISSUE-53 -- DataParser Interface and Arguments Upgrades -- open 15:08:29 http://www.w3.org/2010/02/rdfa/track/issues/53 15:08:44 Manu: No one objeted to the changes 15:08:51 57,49,55,58 all past 7 days 15:09:01 ... take a look at the coming two changes for potential objections 15:09:09 s/objet/object 15:09:10 http://www.w3.org/2010/02/rdfa/track/issues/53 15:10:01 Nathan: Main changes to this parser are 1) to support lightweight SAX-like parsers by adding a method 15:10:18 ... to give a callback on each triple found 15:10:35 q+ 15:10:50 ... 'parse' method may need discussion 15:11:30 ... should we also support fragment parsing 15:11:37 ... or just full docum,ent 15:11:39 ack ivan 15:11:40 s/,// 15:11:50 Ivan: Procedural point 15:12:13 ... is there anyone who will implement the interface on mobile for feedback? 15:12:16 q+ on mobile implementation 15:12:34 ack manu 15:12:34 manu, you wanted to comment on mobile implementation 15:13:02 Manu: LibRDFa is sax-based, keeping the footprint small, so I could give feedback 15:13:44 Ivan: We need feedback 15:14:10 Manu: Is a parser with low memory requirements enough? 15:14:26 Ivan: We define our CR criteria, but they should be decent 15:14:36 ... an implementation on a phone would be fine 15:15:00 We already support fragment parsing in a sense, since the input to the parse method is a DOMElement object, not a Document object. 15:15:01 Shane: I have access to mobile environments 15:15:09 ... we should definitely test it 15:15:20 MACRO11 15:15:25 brings back memories. 15:17:05 Nathan: I see that Mark points out that we do DOMElement, which allows fragments, but a DOMElement is not the document node 15:17:35 @Steven: Right. However, we stipulate that the /entire/ document must be taken into account for context. 15:17:49 But we /could/ say that we start parsing at that node, and that's it. 15:18:01 (That's what my parser did.) 15:18:05 markbirbeck: yes but you can't throw in a Document because Document extends Node not Element 15:18:15 s/:/,/ 15:18:20 Oh yes, sorry. 15:18:52 @webr3: Good point...but I think that is a mistake then. The intention was originally to be able to start parsing anywhere. 15:18:52 [Scribe notes that web3r is Nathan] 15:19:44 Nathan: there are two interfaces, one for each triple, one for the whole graph 15:20:18 ... a third allows you to filter triples 15:20:27 ... to keep memory requirements down 15:20:41 Manu: I added some items at the bottom of the issue 15:20:53 ... such as RDF Graph 15:21:17 ... how does the parser callback have access to the filter methos? 15:21:24 s/thos/thod/ 15:21:43 Nathan: The filter is run by the parser itself, and the callback is only called if the filter allows it 15:22:13 ... the callback is a graph 15:22:55 ... the graph is first assembled, and filtered, then passed to the callback 15:23:09 Manu: So 'run' is only called once at the end of parsing? 15:23:11 Nathan: Yes 15:23:59 parse( document, function(graph) { //etc }, ?filter ) 15:24:28 Manu: If there is an error, how do they get hold of the processor graph? 15:24:35 @Nathan: Not quite following...how does it save memory to assemble the whole graph? Surely you want to reject triples during assembly? Or have I missed the point? :) 15:24:47 s/:/,/ 15:25:04 [scribe missed answer] 15:25:30 Manu: Is the run method called with what could be parsed? 15:25:40 Nathan: I think so 15:26:59 Manu: LibRDFa ends parsing many times because of bad documents 15:27:09 @Mark: the whole graph isn't assembled, before the parser adds a triple to the graph it checks if it passes the filter or not before adding 15:27:18 ... it is mopre useful to be able to use triples you have found than to give up completely 15:27:25 s/mopr/mor/ 15:27:32 s/:/,/ 15:27:36 Like this?: 15:27:39 parse( document, function( triple ) { if favoured( triple ) return true; return false; } ) 15:27:47 Check each triple? 15:27:54 Only add if it matches? 15:29:36 @Mark: pretty much yes :) see: https://github.com/webr3/rdfa-api/blob/master/source/parsers.js 15:29:47 Ivan: The question is whether any of the triples found are in error because of the parsing error 15:30:35 Manu: Triples can still be wrong without parsing errors 15:30:48 Ivan: True 15:32:07 Ivan: I would prefer not to get triples than to get wrong ones 15:32:32 Manu: That should be up to the application 15:33:28 @Nathan: Thanks. Was confused by earlier discussion...it sounded like the filter was applied after the entire graph was assembled. 15:33:37 Manu: Most pages are broken, but with librdfa, I can get lots of useful triples despite that 15:34:13 q+ 15:34:46 ack s 15:35:14 Steven: Isn't there a DOM, and we should define it in terms of the DOM you get, or would have got if you had built one 15:35:45 Manu: Not possible with a SAX-based parser 15:37:59 q+ 15:38:08 ack ivan 15:38:19 ... if you're not running in a browser environment, you don't have that option 15:38:50 Ivan: I propose that we should keep the triples, but someone should analyse what sort of danger we are in 15:39:04 ... I don't want incorrect triples. 15:39:27 Manu: The parser returns false for incorrect input 15:40:07 Nathan: I think that's fine 15:40:56 ... how about if a profile can't be retrieved? Is that a parsing failure? 15:41:16 Manu: I think so, a processing error should return false 15:41:58 Bearing in mind of course that a parser is not obliged to retrieve a profile. :) 15:42:32 Manu: other issue is both graphs, default and processor. Option, should go in the callback? 15:42:48 Nathan: Only pass in the default graph into the callback 15:43:08 ... that would be wise 15:43:31 Manu: Expose the processor graph via an attribute or a method? 15:43:38 Nathan: A method 15:43:54 ... would be friendlier 15:44:01 Manu: Agree 15:44:22 Manu: So that handles the parse method 15:44:44 ... oh, one more thing 15:44:50 Doesn't that latter point depend on the graph v. store issue? 15:44:58 ... do we support passing in IRI's? 15:44:59 If you pass in the store, you get both graphs anyway. 15:45:19 Manu: Are there any MUSTs in what is supported? 15:45:29 Does parse() support: DOMElement, Document, text, IRI? 15:45:41 Nathan: MUST be document, and I suggest text, just for existing RDF. Not sure about IRI 15:46:11 ... you don't know what'at the other end 15:46:25 s/what'/what's / 15:46:25 Document, text 15:46:51
SOME RDFA IN HERE
15:47:01 Manu: Could I pass in a
? 15:47:27 Ivan: You lose the context, prefixes, language, base, ... 15:47:33 ... and get wrong triples 15:47:39 Obviously difficult to determine the subtleties of the discussion, but why not a node? I.e., element /or/ document. 15:48:05 You don't get 'wrong' triples if you know what you are parsing. 15:48:09 mark, agreed /if/ partial documents then has to be Node 15:48:26 Manu: Snippet editing is a use-case 15:48:30 Lots of people are doing stuff where they embed RDFa in RDFa. 15:48:37 E.g., Drupal. 15:48:44 Manu: Don't think we need to support DOM elements 15:48:59 So you might want to parse the /embedded/ RDFa using a different context to the one from the source document. 15:49:07 Ivan: I don't even know what the host language is with a fragemtn 15:49:23 Manu: OK to leave elements out? 15:49:29 Nathan: I'd be happy with that 15:49:39 Seems unnecessary. 15:49:46 (To leave it out, I mean.) 15:50:45 drupal case, is that not 2 documents? 15:51:09 Steven: Is Mark's example a suitable use-case? 15:51:25 Manu: DOM element parsing is more like a convenience 15:51:49 ... we can still support it without DOM element 15:51:58 I do not think that arbitrary element subtree parsing makes any sense on its own. It has to be in the context of a document so there is a media type / base. 15:52:06 s/ it / the Drupal case / 15:52:20 @markbirbeck: We don't need to process DOMElements if we support Document and text 15:52:50 @markbirbeck: DOMElement processing is more of a convenience method... 15:53:03 Do we not want to provide conenience? ;) 15:53:08 rrsagent, make minutes 15:53:08 I have made the request to generate http://www.w3.org/2010/11/18-rdfa-minutes.html Steven 15:53:38 @markbirbeck: yes, but it's not too inconvenient to wrap the content in HTML/HEAD/BODY ? 15:53:42 Present+MarkBirbeck(remotely) 15:53:54 @markbirbeck: Let's push off this decision until a bit later, until we can have a conversation w/ you about it. 15:53:55 @markbirbeck: libraries can easily without requiring this, especially if we just set the type to 'any' which we have to - the issue is half moot 15:54:01 The RDFa parsing model is recursive, so once you get past the root node, then you are always parsing elements anyway. 15:54:24 The context is passed down the calls, by accumulating from what's above. 15:54:35 Nathan: If we're supporting more than Document, then we have to change the interface to ANY 15:54:41 ... we can't prevent that\ 15:55:02 ]Manu: Right, but we'd use spec text to prevent it 15:55:05 So it's not really an argument to say that you need the context from the host document, because once you get past the root you're using a contrived context anyway. 15:55:08 s/]// 15:55:40 @Manu: Sure. Sorry that I've missed yet another call. :( 15:55:41 Manu: We have to make the requirements clear 15:56:55 Nathan: I agree 15:57:18 Manu: We will have a future discussion with Mark about fragments 15:57:29 Topic: AOB 15:57:48 Steven: Next thursday is Thanksgiving, are we having a call? 15:58:02 s/thur/Thur/ 15:58:04 I'll also ping Stephane because I think it's his use-case that has lodged in my mind. 15:58:26 (And if it's not, I'll see if I can work out where it came from.) 15:58:26 Manu: I can't make the call. Please feel free to have a telcon without me 15:58:36 Shane: I'm available 15:59:19 Manu: I'll send an agenda for the rest of you 15:59:20 zakim, umute me 15:59:20 I don't understand 'umute me', Benjamin 15:59:24 [ADJOURN] 15:59:27 zakim, unmute me 15:59:28 Benjamin should no longer be muted 15:59:29 zakim, drop me 15:59:29 Ivan is being disconnected 15:59:30 -Ivan 15:59:32 -manu 15:59:37 -webr3 15:59:39 -Shane 15:59:41 -Benjamin 15:59:43 -Steven 15:59:45 SW_RDFa()10:00AM has ended 15:59:46 Attendees were Ivan, manu, webr3, +1.612.217.aaaa, Steven, +63.12.057.5aabb, Shane, Benjamin 15:59:48 Bye everyone. 15:59:53 rrsagent, make minutes 15:59:53 I have made the request to generate http://www.w3.org/2010/11/18-rdfa-minutes.html Steven 16:29:23 markbirbeck has joined #rdfa 18:24:24 Zakim has left #rdfa 19:51:19 trackbot, bye 19:51:19 trackbot has left #rdfa 19:51:22 rrsagent, bye 19:51:22 I see no action items