Hello, I'm trying to run some SPARQL queries. Consider these two queries that should yield the same output:
First query: PREFIX dbpedia: <http://dbpedia.org/resource/> SELECT * WHERE { <http://dbpedia.org/resource/Time_(magazine)> ?b <http://dbpedia.org/class/yago/AmericanNewsMagazines> } Second query: PREFIX dbpedia: <http://dbpedia.org/resource/> SELECT * WHERE { dbpedia:Time_(magazine) ?b <http://dbpedia.org/class/yago/AmericanNewsMagazines> } The first query will run just fine, the second query will fail with "37000 Error SP030: SPARQL compiler, line 1: syntax error at '(' before 'magazine'". Any clue as to why this happens? Do I need to encode the parentheses? Queries without parentheses work fine in both cases. Regards, Michael ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Dbpedia-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
