Hello Peter, I see that somebody has made a permanent declaration of namespace prefix "ns:go" for "http://bio2rdf.org/ns/go#", should be just "go", if any. That can be checked by looking at DB.DBA.SYS_XML_PERSISTENT_NS_DECL (to check whether persistent declaration is recorded), but this seems not to be a case because __xml_get_ns_prefix ('http://bio2rdf.org/go#', 3) returns nothing. I've checked all my sources for "bio2rdf.org" string and found nothing. Virtuoso pre-sets some popular namespaces prefixes, in function DB.DBA.XML_LOAD_ALL_NS_DECLS(), file libsrc/Wi/sparql.sql, but it does not define this bio2rdf prefix, moreover it defines prefix "go" for http://purl.org/obo/owl/GO# . So I'm sorry I can't help much.
Best Regards, Ivan. On Mon, 2009-06-08 at 19:24 -0700, Peter Ansell wrote: > Hi all, > > Not sure if this is a configuration or software issue, but I am getting > invalid RDF/XML (and possibly N3 although I am not so sure about that one) > from the following query: > > CONSTRUCT { <http://bio2rdf.org/go:0008026> ?p ?o . } WHERE { GRAPH > <http://bio2rdf.org/go> { <http://bio2rdf.org/go:0008026> ?p ?o . } } > LIMIT 2000 OFFSET 0 > > If that query is executed at http://go.bio2rdf.org/sparql with RDF/XML chosen > it returns invalid XML. > > If this is a configuration issue I will bring it up with the system > administrators for the endpoint. > > See tinyurl at [1] for a direct link to the results > > Cheers, > > Peter > > [1] http://preview.tinyurl.com/lxches >