W3C home > Mailing lists > Public > www-rdf-interest@w3.org > February 2001

Re: Quotes in N3

From: Tim Berners-Lee <timbl@w3.org>
Date: Thu, 1 Feb 2001 13:18:42 -0500
Message-ID: <02da01c08c7b$710198d0$85061812@CREST>
To: "Aaron Swartz" <aswartz@upclink.com>
Cc: "RDF Interest" <www-rdf-interest@w3.org>

----- Original Message -----
From: "Aaron Swartz" <aswartz@upclink.com>
To: <timbl@w3.org>
Cc: "RDF Interest" <www-rdf-interest@w3.org>
Sent: Sunday, January 28, 2001 12:40 AM
Subject: Quotes in N3


> I'm putting together a simple system that outputs in N3 (http://webns.net)
> and I had a simple syntax question that doesn't seem to be answered on the
> site.
>
> What happens when you have a literal with quotes in it. That is:
>
>     gov:vice-president dc:title "Richard "Dick" Cheney"
>
> How do I quote the quotes?

Simple answer: You don't, you use the Python-like triple quotes.
""""Richard "Dick" Cheney"""
Hmmm. I didn't put that in the spec?

(Actually, I do wnat to do both (a) decent well-thought out quoting,
and (b) literal data with explicit aribtrary terminator but I ain't yet)

> Thanks,
>
> --
> Aaron Swartz <me@aaronsw.com>|       The Info Network
>   <http://www.aaronsw.com>   |     <http://theinfo.org>
> AIM: JediOfPi | ICQ: 33158237| the way you want the web to be
>
Received on Thursday, 1 February 2001 13:19:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:51:47 GMT