W3C home > Mailing lists > Public > public-sparql-dev@w3.org > April to June 2010

Unallowed characters in concept names

From: Buikstra, A.P.F. <a.p.f.buikstra@student.vu.nl>
Date: Thu, 24 Jun 2010 11:08:05 +0000
To: "public-sparql-dev@w3.org" <public-sparql-dev@w3.org>
Message-ID: <7C54890852CB2544BF5917E9D8518D27451AA44F@PEXMB002B.vu.local>
Hi,

My question is straightforward, but I didn't find it through Google. Actually, I ran into someone with the same problem, but there was no answer in the thread.

How should I escape things like the parenthesis in:
	PREFIX dbpedia: <http://dbpedia.org/resource/>
	SELECT ?p ?o
	WHERE { dbpedia:Orange_(fruit) ?p ?o . }

(Gives error about "(" )

Note that the following does work:
	SELECT ?p ?o
	WHERE { <http://dbpedia.org/resource/Orange_(fruit)> ?p ?o . }

Thanks,

Arjon Buikstra

P.S. Thanks for the comments on my Union question, it really helped to clarify the problem!
Received on Thursday, 24 June 2010 11:08:34 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:15:50 UTC