14:50:45 RRSAgent has joined #rdfa 14:50:45 logging to http://www.w3.org/2010/11/11-rdfa-irc 14:50:47 RRSAgent, make logs world 14:50:49 Zakim, this will be 7332 14:50:49 ok, trackbot; I see SW_RDFa()10:00AM scheduled to start in 10 minutes 14:50:50 Meeting: RDFa Working Group Teleconference 14:50:50 Date: 11 November 2010 14:51:03 Present: Manu, Knud, Nathan 14:51:08 Regrets: Steven, Ivan 14:54:02 Chair: Manu 15:00:31 SW_RDFa()10:00AM has now started 15:00:41 + +3539149aaaa 15:00:51 aaaa is me 15:01:02 zakim, aaa is me 15:01:02 sorry, Knud, I do not recognize a party named 'aaa' 15:01:11 + +1.540.961.aabb 15:01:16 zakim, I am aabb 15:01:16 +manu; got it 15:01:18 zakim, I am aaa 15:01:18 sorry, Knud, I do not see a party named 'aaa' 15:01:23 ShaneM has joined #rdfa 15:01:32 zakim, I am aaaa 15:01:32 +Knud; got it 15:03:15 tinkster has joined #rdfa 15:08:56 + +1.441.592.aacc 15:09:13 zakim, i am +1.441.592.aacc 15:09:13 +webr3; got it 15:11:18 -webr3 15:13:03 +[IPcaller] 15:13:22 Zakim, i am +[IPcaller] 15:13:22 sorry, webr3, I do not see a party named '+[IPcaller]' 15:13:32 Zakim, i am ? 15:13:32 sorry, webr3, I do not see a party named '?' 15:13:34 zakim, IPcaller is nathan 15:13:34 +nathan; got it 15:15:08 Topic: Hand-authoring RDFa 15:15:18 Knud: Did a presentation this monday to non-technology folks on RDFa 15:15:34 Knud: Reminded how difficult it is for non-techies to grasp the concept of RDFa. 15:16:02 Manu: Perhaps we should focus more on telling people that RDFa is easier for people that are non-techies if they use a CMS system to publish it - like Drupal or WordPress. 15:16:11 Knud: Perhaps we should put something in the RDFa Primer outlining this 15:16:18 Manu: Good idea. 15:16:23 Topic: ISSUE-52: Lightweight DataStore aligned with ECMAScript 15:16:53 Manu: I think we're close, let's go through this one by one. 15:17:01 ISSUE-51 moves the create*** methods from DataStore to DataContext. 15:17:15 I think that's a good idea... nobody seemed to have an issue w/ that. 15:17:35 Nathan: I don't think anyone has an issue w/ that - don't know. 15:17:46 This interface may need to be named RDFGraph an used to represent a graph 15:18:44 Manu: Definitely agree w/ this - rename DataStore to RDFGraph. Push DataStore to W3C Note. 15:18:59 Knud: I thought we didn't want to put RDF on the front of the names? 15:19:53 Manu: Ah yes, we did remove "RDF" from the name 15:20:00 Manu: What about Graph or DataGraph? 15:20:13 Nathan: I think we have a clear separation from Data* and other concepts. 15:20:27 Nathan: I don't think that Data makes sense - either Graph or RDFGraph. 15:21:36 Manu: How about Graph? 15:21:47 Knud: Hmm, we did discuss this. 15:22:02 Manu: Yes, we did remove 'RDF' from the front of names - but this isn't a generic Graph. 15:23:28 Nathan: It's only the name of the interface - not that big of deal. 15:23:40 Manu: Yes, but we do want to make sure there is a natural grouping. 15:23:56 Manu: Leaning heavily towards RDFGraph, then. 15:23:58 Nathan: Me too. 15:24:00 Knud: Ok 15:24:37 Knud: We specify in the goals that we want to support non-RDFa parsers... Microformats, Microdata. 15:25:00 Manu: We do support that stuff, but they must be converted to triples to be stored. 15:25:24 This proposal/issue aligns DataStore methods with ECMAScript-262 v5 to provide a familiar lightweight store which is constrained to remove unexpected functionality. 15:25:55 These are the array additions to ECMA v5: https://developer.mozilla.org/en/New_in_JavaScript_1.6#Array_extras 15:26:20 Manu: We don't support map() 15:26:24 Manu: Any reason for that? 15:26:53 Nathan: That functionality would be almost impossible to implement over a triple store. 15:27:00 Nathan: It's very complex 15:27:32 Nathan: I thought we might as well provide toArray() - that would allow them to define map(). 15:28:13 Manu: I don't understand why this is difficult to do. 15:28:56 Nathan: I think that if we provide map(), we should provide reduce() - reduce() is the hard part. 15:28:59 https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/reduce 15:29:37 Nathan: if we have map(), we should have reduce() and reduceRight() 15:29:54 Nathan: Those are v. difficult to do, and we provide a mechanism for them to do this via toArray(). 15:30:12 Manu: Sounds good to me. 15:31:12 Nathan: unsure about mentions(), iterator(), merge() 15:31:24 Manu: Let's talk about mentions() 15:31:47 Manu: If it exists in subject, predicate or object, you get true? 15:31:50 Nathan: Yes. 15:32:21 Manu: One other way was just subject or object - but that seems arbitrarily limiting. 15:32:28 Nathan: Yes, right. 15:33:03 Manu: I'm fine w/ it operating on subject, predicate and object. 15:33:06 Knud: I agree. 15:33:17 Manu: Let's discuss iterator() 15:33:55 Nathan: Question as to whether it is required in the first place or not. 15:34:42 Nathan: No way to do a iterate in Javascript - .forEach(), .iterator(), .toArray() 15:36:03 for(x in graph) 15:36:21 Nathan: There is no way to do that in JavaScript 15:37:08 ir = graph.iterator(); while(it.hasNext()) { triple = it.next() } 15:37:46 graph.toArray() <-- much easier 15:38:34 Manu: While it does make it nicer, it's not absolutely necessary. 15:39:44 Manu: This would be most useful in language that doesn't support dynamic functions/closures. 15:39:46 process() 15:39:56 Class Process { function process(); } 15:41:18 Manu: I say keep it out for now, we already have multiple mechanisms to iterate over a graph. 15:41:38 Knud: Don't see a reason to have it in, no strong feelings on that. 15:42:02 Nathan: Let's keep it out for now, but if we need it in the future, we can put it in there. 15:42:12 Manu: Let's discuss merge() 15:43:32 Array.concat() 15:43:40 Nathan: To do this properly in JavaScript - you have .concat() 15:44:40 Nathan: I think the merge() we're talking about is more like an addAll() 15:45:15 https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array 15:46:06 my preference: var mergedgraph = graph.merge(otherGraph); 15:47:38 Manu: Maybe people will just use .parse() w/ the same graph to do an in-place merge. 15:47:58 or.. var graph = graph.merge(otherGraph); 15:49:31 sort() and sort!() 15:49:41 Knud: Ruby has a convention that supports both - inplace and copy 15:50:03 Nathan: JavaScript has options for in-place and return a copy too 15:50:46 Manu: Any strong objections to supporting both? 15:50:53 Knud: If people are going to have both, we should do that. 15:51:21 Nathan: well, this is a bit strange for JavaScript 15:51:33 https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/push 15:52:13 Nathan: difficult to implement - one is computationally expensive. 15:54:47 Manu: No way to get around the computationally expensive issue - we can't have duplicate triples, etc. 15:55:00 Knud: BlankNode merging must also be taken into account, generate new identifiers. 15:55:08 Nathan: Memory issue is the only thing to be concerned about 15:55:40 Nathan: If we take the approach where it imports, how would one put two graphs together to create a new one? 15:56:16 with: graph.import 15:56:43 c = createGraph(); c.import(a); c.import(b) 15:56:58 c = a.merge(b) 15:57:00 or 15:57:06 a = a.merge(b) 15:58:39 or we can define import() and merge() 15:59:23 Nathan: Any objections to just supporting .merge() right now, which returns a new Graph. 15:59:25 prefer: "RDFGraph merge(in RDFGraph graph);" 15:59:50 Knud: We should point out in the spec that this is always computationally expensive as well as expensive from a memory standpoint. 16:00:24 interface RDFTripleCallback 16:00:28 Manu: Looks good 16:00:33 Nathan: Yep, pretty simple. 16:00:38 interface RDFTripleFilter 16:00:44 Everyone seems to think that's fine. 16:01:13 Manu: Have we covered everything in the proposal, Nathan? 16:01:16 Nathan: Yes, we have. 16:01:40 Manu: I'll put together a proposal to close this issue. 16:03:49 Manu: I'll also propose to close ISSUE-51. 16:04:01 Nathan: Yep, that one is a no-brainer, not changing it as this point causes more issues. 16:04:12 -manu 16:04:13 -Knud 16:04:15 SW_RDFa()10:00AM has ended 16:04:17 Attendees were +3539149aaaa, +1.540.961.aabb, manu, Knud, +1.441.592.aacc, webr3, nathan 17:35:00 Zakim has left #rdfa 17:46:38 trackbot, bye 17:46:38 trackbot has left #rdfa 17:46:40 rrsagent, bye 17:46:40 I see no action items