<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>I am currently working on scripts that produce large amounts of Turtle (N3). I can write these scripts at 10X the speed I could write XML based stuff and can open the results in Protege. I therefore love Turtle.&nbsp;</div><div><br></div><div>Whenever I need to utter a triple I more or less just&nbsp;</div><div><br></div><div>echo "&lt;$subject&gt; &lt;$predicate&gt; &lt;$object&gt; . \n";</div><div><br></div><div>or&nbsp;</div><div><br></div><div>echo "&lt;$subject&gt; &lt;$predicate&gt; \"$object\" . \n";</div><div><br></div><div>for literals. No thought about document order or pushing and popping off stacks or holding XML libraries in memory etc. In fact no use of libraries at all!</div><div><br></div><div>There are loads of Turtle parsers around. For example:</div><div><br></div><div><a href="http://arc.semsol.org/">http://arc.semsol.org/</a></div><div><a href="http://www.seasr.org/wp-content/plugins/meandre/rdfapi-php/doc/">http://www.seasr.org/wp-content/plugins/meandre/rdfapi-php/doc/</a></div><div><a href="http://www.kanzaki.com/works/2006/misc/0308turtle.html">http://www.kanzaki.com/works/2006/misc/0308turtle.html</a></div><div><br></div><div>It would be very easy to write a Turtle -&gt; RDF/XML converter but you might not like the document structures produced. Just take each line of the Turtle file and echo a single triple statement in RDF/XML. Come to think of it I could hack my scripts to produce this form of RDF/XML but it would just bloat the results by 100%.</div><div><br></div><div>I think RDF/XML as a default return syntax is fine but Turtle definitely has its place.</div><div><br></div><div>Just my thoughts (rants)</div><div><br></div><div>Roger</div><div><br></div><div>(Rod. You must be writing brittle code if you rely on document structure (XPaths) to pull stuff out of RDF/XML because the syntax could change any time.)</div><div><br></div><div><br></div><br><div><div>On 24 Jan 2010, at 11:51, Roderic Page wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I agree with Kevin. XML may be verbose, but there are lots of tools for processing it, virtually none for N3.<div><br></div><div>For example, if I harvest RDF by resolving a LSID, I can use XPath to extract the bits I'm interested in, and programming languages such as PHP support this out of the box. Likewise for providers, there are tools that ensure the XML being output is valid.</div><div><br></div><div>Personally, if you're looking for an alternative to XML, N3 isn't the answer (that'd be JSON).</div><div><br></div><div>Regards</div><div><br></div><div>Rod</div><div><br><div><div>On 24 Jan 2010, at 02:25, Kevin Richards wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>I like the sound of the 'compactness' of the format, but I worry that there is a lack of tools that support the format (ie browsers, mainly). It is quite nice to naturally navigate the rdf world with a standard browser. &nbsp;But for transfer standards, I suppose this wouldn't matter.<br><br>Kevin<br><br>Sent from my HTC<br><br><div id="htc_header">----- Reply message -----<br>From: "Bob Morris" &lt;<a href="mailto:morris.bob@gmail.com">morris.bob@gmail.com</a>&gt;<br>Date: Sun, Jan 24, 2010 12:08 PM<br>Subject: [tdwg-tag] RDF N3<br>To: "Technical Architecture Group mailing list" &lt;<a href="mailto:Tdwg-tag@lists.tdwg.org">Tdwg-tag@lists.tdwg.org</a>&gt;<br><br></div><font size="2"><div class="PlainText">Let's make N3 be the recommended RDF representation. It is way more<br>compact and human readable than RDF/XML.&nbsp; We could even specify a<br>normative conversion tool if necessary.<br><br><br>--<span class="Apple-converted-space">&nbsp;</span><br>Robert A. Morris<br>Professor of Computer Science (nominally retired)<br>UMASS-Boston<br>100 Morrissey Blvd<br>Boston, MA 02125-3390<br>Associate, Harvard University Herbaria<br>email:<span class="Apple-converted-space">&nbsp;</span><a href="mailto:ram@cs.umb.edu">ram@cs.umb.edu</a><br>web:<span class="Apple-converted-space">&nbsp;</span><a href="http://bdei.cs.umb.edu/">http://bdei.cs.umb.edu/</a><br>web:<span class="Apple-converted-space">&nbsp;</span><a href="http://etaxonomy.org/FilteredPush">http://etaxonomy.org/FilteredPush</a><br><a href="http://www.cs.umb.edu/~ram">http://www.cs.umb.edu/~ram</a><br>phone (+1)617 287 6466<br>_______________________________________________<br>tdwg-tag mailing list<br><a href="mailto:tdwg-tag@lists.tdwg.org">tdwg-tag@lists.tdwg.org</a><br><a href="http://lists.tdwg.org/mailman/listinfo/tdwg-tag">http://lists.tdwg.org/mailman/listinfo/tdwg-tag</a><br></div></font><br><hr><font face="Arial" color="Green" size="1">Please consider the environment before printing this email<br>Warning: This electronic message together with any attachments is confidential. If you receive it in error: (i) you must not read, use, disclose, copy or retain it; (ii) please contact the sender immediately by reply email and then delete the emails.<br>The views expressed in this email may not be those of Landcare Research New Zealand Limited.<span class="Apple-converted-space">&nbsp;</span><a href="http://www.landcareresearch.co.nz/">http://www.landcareresearch.co.nz</a><br></font>_______________________________________________<br>tdwg-tag mailing list<br><a href="mailto:tdwg-tag@lists.tdwg.org">tdwg-tag@lists.tdwg.org</a><br><a href="http://lists.tdwg.org/mailman/listinfo/tdwg-tag">http://lists.tdwg.org/mailman/listinfo/tdwg-tag</a><br></div></blockquote></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="font-size: 12px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>---------------------------------------------------------</div><div>Roderic Page</div><div>Professor of Taxonomy</div><div>DEEB, FBLS</div><div>Graham Kerr Building</div><div>University of Glasgow</div><div>Glasgow G12 8QQ, UK</div><div><br></div><div>Email: <a href="mailto:r.page@bio.gla.ac.uk">r.page@bio.gla.ac.uk</a></div><div>Tel: +44 141 330 4778</div><div>Fax: +44 141 330 2792</div><div>AIM: <a href="mailto:rodpage1962@aim.com">rodpage1962@aim.com</a></div><div>Facebook:&nbsp;<a href="http://www.facebook.com/profile.php?id=1112517192">http://www.facebook.com/profile.php?id=1112517192</a></div><div>Twitter:&nbsp;<a href="http://twitter.com/rdmpage">http://twitter.com/rdmpage</a></div><div>Blog: <a href="http://iphylo.blogspot.com/">http://iphylo.blogspot.com</a></div><div>Home page: <a href="http://taxonomy.zoology.gla.ac.uk/rod/rod.html">http://taxonomy.zoology.gla.ac.uk/rod/rod.html</a></div><div><br></div><div><br></div></div></span></div></span></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"> </div><br></div></div>_______________________________________________<br>tdwg-tag mailing list<br><a href="mailto:tdwg-tag@lists.tdwg.org">tdwg-tag@lists.tdwg.org</a><br>http://lists.tdwg.org/mailman/listinfo/tdwg-tag<br></blockquote></div><br></body></html>