According to the NTriples "specification" [1], NTriples can't contain new lines in the literals - i.e., it does not support the triple quoting for strings construct that N3 does. However, CWM still outputs material such as the following using -ntriples in the command line:- :x :y """x y z""" . Attached as <<cwmntcleaner.py>> is the Python program I use to clean it up at the moment, but it'd be easier if CWM could output valid NTriples [ignoring literals-as-subjects] itself :-) [1] http://www.w3.org/TR/2001/WD-rdf-testcases-20011115/#ntrip_grammar -- Kindest Regards, Sean B. Palmer @prefix : <http://webns.net/roughterms/> . :Sean :hasHomepage <http://purl.org/net/sbp/> .
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 July 2008 08:08:29 GMT